1. 12 Nov, 2007 1 commit
  2. 06 Nov, 2007 1 commit
    • unknown's avatar
      BUG#32111 - Security Breach via DATA/INDEX DIRECORY and RENAME TABLE · a837ff41
      unknown authored
      RENAME TABLE against a table with DATA/INDEX DIRECTORY overwrites
      the file to which the symlink points.
      
      This is security issue, because it is possible to create a table with
      some name in some non-system database and set DATA/INDEX DIRECTORY
      to mysql system database. Renaming this table to one of mysql system
      tables (e.g. user, host) would overwrite the system table.
      
      Return an error when the file to which the symlink points exist.
      
      
      mysql-test/r/symlink.result:
        A test case for BUG#32111.
      mysql-test/t/symlink.test:
        A test case for BUG#32111.
      mysys/my_symlink2.c:
        Return an error when the file to which the symlink points exist.
      a837ff41
  3. 02 Nov, 2007 2 commits
    • unknown's avatar
      Makefile.am: · 965b6677
      unknown authored
        Don't install INSTALL-BINARY, handled by build scripts
      
      
      Docs/Makefile.am:
        Don't install INSTALL-BINARY, handled by build scripts
      965b6677
    • unknown's avatar
      mysql.info, INSTALL-BINARY, INSTALL-SOURCE, ReadMe.txt, Docs/Makefile.am: · 7d46f000
      unknown authored
        Let place holders for real documentation have text that
        makes sense to the user (Bug#25205)
      
      
      BitKeeper/deleted/.del-generate-text-files.pl:
        Delete: Docs/Support/generate-text-files.pl
      Docs/INSTALL-BINARY:
        BitKeeper file /home/kent/bk/bug25205/mysql-4.0/Docs/INSTALL-BINARY
      INSTALL-SOURCE:
        BitKeeper file /home/kent/bk/bug25205/mysql-4.0/INSTALL-SOURCE
      support-files/MacOSX/ReadMe.txt:
        BitKeeper file /home/kent/bk/bug25205/mysql-4.0/support-files/MacOSX/ReadMe.txt
      Docs/mysql.info:
        More of a end-user text
      Docs/Makefile.am:
        Don't generate text files from the documentation
      7d46f000
  4. 13 Jul, 2007 1 commit
    • unknown's avatar
      Bug#27198: Error returns from time() are ignored · 200550db
      unknown authored
      gettimeofday() can fail and presumably, so can time().
      Keep an eye on it.
      
      Since we have no data on this at all so far, we just
      retry on failure (and log the event), assuming that
      this is just an intermittant failure. This might of
      course hang the threat until we succeed. Once we know
      more about these failures, an appropriate more clever
      scheme may be picked (only try so many times per thread,
      etc., if that fails, return last "good" time() we got or
      some such).  Using sql_print_information() to log as this
      probably only occurs in high load scenarios where the debug-
      trace likely is disabled (or might interfere with testing
      the effect).  No test-case as this is a non-deterministic
      issue.
      
      
      sql/mysql_priv.h:
        Bug#27198: Error returns from time() are ignored
        
        move declarations for log.cc to before inclusion of
        sql_class.h as we now use sql_print_information() in
        there.
      sql/sql_class.h:
        Bug#27198: Error returns from time() are ignored
        
        gettimeofday() can fail and presumably, so can time().
        Keep an eye on it.
      200550db
  5. 14 Mar, 2007 2 commits
    • unknown's avatar
      EXCEPTIONS-CLIENT: · 08a7ea60
      unknown authored
        Updated to version 0.6 of the text
      
      
      EXCEPTIONS-CLIENT:
        Updated to version 0.6 of the text
      08a7ea60
    • unknown's avatar
      configure.in: · c620e3e5
      unknown authored
        Added test for sched_yield() possibly in -lposix4 on Solaris
      
      
      configure.in:
        Added test for sched_yield() possibly in -lposix4 on Solaris
      c620e3e5
  6. 12 Mar, 2007 1 commit
    • unknown's avatar
      Makefile.am, configure.in, mysys.dsp: · 96695de3
      unknown authored
        Removed unused files
      .del-my_winsem.c:
        Delete: mysys/my_winsem.c
      .del-my_semaphore.c:
        Delete: mysys/my_semaphore.c
      .del-my_semaphore.h:
        Delete: include/my_semaphore.h
      
      
      BitKeeper/deleted/.del-my_semaphore.c:
        Delete: mysys/my_semaphore.c
      BitKeeper/deleted/.del-my_semaphore.h:
        Delete: include/my_semaphore.h
      BitKeeper/deleted/.del-my_winsem.c:
        Delete: mysys/my_winsem.c
      VC++Files/mysys/mysys.dsp:
        Removed unused files
      configure.in:
        Removed unused files
      include/Makefile.am:
        Removed unused files
      mysys/Makefile.am:
        Removed unused files
      96695de3
  7. 07 Mar, 2007 1 commit
  8. 02 Mar, 2007 3 commits
  9. 01 Mar, 2007 1 commit
  10. 28 Feb, 2007 2 commits
    • unknown's avatar
      Makefile.am: · 787495ca
      unknown authored
        EXCEPTIONS-CLIENT is now static part of repository
      
      
      Docs/Makefile.am:
        EXCEPTIONS-CLIENT is now static part of repository
      787495ca
    • unknown's avatar
      Makefile.am: · d10a5622
      unknown authored
        EXCEPTIONS-CLIENT is now static part of repository
      EXCEPTIONS-CLIENT:
        BitKeeper file /home/kent/bk/tmp/mysql-4.0/EXCEPTIONS-CLIENT
      
      
      EXCEPTIONS-CLIENT:
        BitKeeper file /home/kent/bk/tmp/mysql-4.0/EXCEPTIONS-CLIENT
      Docs/Makefile.am:
        EXCEPTIONS-CLIENT is now static part of repository
      d10a5622
  11. 22 Feb, 2007 1 commit
  12. 16 Feb, 2007 1 commit
    • unknown's avatar
      include/config-win.h : · e48e78b0
      unknown authored
      Companion change to this one
         ChangeSet@1.2206, 2007-01-22 02:32:07+02:00, jani@a88-113-38-195.elisa-laajakaista.fi +8 -0
           include/my_pthread.h@1.67, 2007-01-22 02:32:06+02:00, jani@a88-113-38-195.elisa-laajakaista.fi +31 -10
      which renamed "sigset()" -> "my_sigset()" but forgot to do it for Windows ...
      
      
      include/config-win.h:
        Companion change to this one
           ChangeSet@1.2206, 2007-01-22 02:32:07+02:00, jani@a88-113-38-195.elisa-laajakaista.fi +8 -0
             include/my_pthread.h@1.67, 2007-01-22 02:32:06+02:00, jani@a88-113-38-195.elisa-laajakaista.fi +31 -10
        which renamed "sigset()" -> "my_sigset()" but forgot to do it for Windows ...
      e48e78b0
  13. 14 Feb, 2007 1 commit
  14. 12 Feb, 2007 3 commits
  15. 09 Feb, 2007 2 commits
  16. 08 Feb, 2007 1 commit
  17. 30 Jan, 2007 2 commits
    • unknown's avatar
      Merge bk://localhost:5559 · fb02a22b
      unknown authored
      into  production.mysql.com:/usersnfs/jamppa/mysql-4.0
      
      
      include/my_global.h:
        Auto merged
      include/my_pthread.h:
        Auto merged
      mysys/default.c:
        Auto merged
      mysys/my_pthread.c:
        Auto merged
      mysys/my_thr_init.c:
        Auto merged
      mysys/thr_alarm.c:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      fb02a22b
    • unknown's avatar
      Cleanup of thread-type (linuxthread or NTPL) detection code · dada1535
      unknown authored
      Move get_thread_lib to mysys/my_pthread.c
      Set 'thr_client_alarm' to signal number used by thr_alarm to give alarms
      
      
      include/my_global.h:
        Fixed to be same as in 5.1
      include/my_pthread.h:
        Move things around to be more in line with rest of code
      mysys/default.c:
        Fixed two wrong pointer incrementations.
      mysys/my_pthread.c:
        Cleanup: Use variable thr_client_alarm
      mysys/my_thr_init.c:
        Detect thread library at startup.
        Set also thr_client_alarm signal here, so that we get
        it in init_signals() in mysqld
      mysys/thr_alarm.c:
        Set thr_client_alarm depending on which thread library we are using
      sql/mysqld.cc:
        Move get_thread_lib to mysys/my_pthread.c
      dada1535
  18. 25 Jan, 2007 1 commit
    • unknown's avatar
      Cleanup of thread-type (linuxthread or NTPL) detection code · 7ad17fea
      unknown authored
      Move get_thread_lib to mysys/my_pthread.c
      Set 'thr_client_alarm' to signal number used by thr_alarm to give alarms
      
      
      
      include/my_global.h:
        Fixed to be same as in 5.1
      include/my_pthread.h:
        Move things around to be more in line with rest of code
      include/thr_alarm.h:
        extern of thr_client_alarm
      mysys/default.c:
        Fixed two wrong pointer incrementations.
      mysys/my_pthread.c:
        Cleanup: Use variable thr_client_alarm
      mysys/my_thr_init.c:
        Detect thread library at startup
      mysys/thr_alarm.c:
        Set thr_client_alarm depending on which thread library we are using
      sql/mysqld.cc:
        Move get_thread_lib to mysys/my_pthread.c
      7ad17fea
  19. 22 Jan, 2007 1 commit
    • unknown's avatar
      Fix for configure to detect library correctly. · 0a03b27c
      unknown authored
      Fix to check library in use during runtime.
      Fix for Bug#16995, "idle connections not being killed due to timeout when NPTL is used".
      
      
      BUILD/SETUP.sh:
        To avoid warnings during compilation.
      configure.in:
        Fixed configure so that it can correctly detect
        between NPTL and Linuxthreads.
      include/my_global.h:
        Fix for Linuxthreads.
      include/my_pthread.h:
        Added defines for different libraries that can be detected.
        Currently only 'other', 'nptl', and 'lt' (linuxthreads) are
        being used.
        
        changed sigset() and signal() to my_sigset() and my_signal()
      include/thr_alarm.h:
        Removed defines for Linuxthreads. This is now detected during
        runtime and handled in the thr_alarm.c
      mysys/my_pthread.c:
        Runtime check for library.
      mysys/thr_alarm.c:
        Runtime checks for library and corresponding
        signals.
      sql/mysqld.cc:
        Added function for detecting thread library in use
        during start-up.
        
        THR_KILL_SIGNAL removed, setting signals during runtime.
      0a03b27c
  20. 18 Jan, 2007 2 commits
  21. 11 Jan, 2007 5 commits
  22. 09 Jan, 2007 5 commits