1. 22 Feb, 2007 1 commit
  2. 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
  3. 12 Feb, 2007 3 commits
  4. 09 Feb, 2007 2 commits
  5. 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
  6. 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
  7. 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
  8. 18 Jan, 2007 1 commit
  9. 11 Jan, 2007 4 commits
  10. 09 Jan, 2007 5 commits
  11. 08 Jan, 2007 1 commit
    • unknown's avatar
      Changes necessary to build version 4.0.28: · a27b12c4
      unknown authored
      - "make_binary_distribution" accepts a dummy "--platform=" argument.
      
      - "MySQL-shared-compat.spec" uses a "version40" define symbol internally.
      
      
      scripts/make_binary_distribution.sh:
        Newer versions of the release build tools call this with a "--platform=" argument
        which we seem not to need in 4.0, but which makes the tool crash (happened on SCO).
        
        Rather than add another version check into the build tools, just accept a "--platform="
        argument and ignore it, just give a message.
      support-files/MySQL-shared-compat.spec.sh:
        The current version of "Do-shared-compat" needs two digits to identify the release families
        (to differ between 4.0 and 4.1), so the variable "version4" must get renamed to "version40".
      a27b12c4
  12. 03 Jan, 2007 1 commit
  13. 20 Nov, 2006 1 commit
    • unknown's avatar
      Backport patch of bugfix for: · 9c25895e
      unknown authored
      - Bug #15815: Very poor performance with multiple queries running concurrently
      - Bug #22868: 'Thread thrashing' with > 50 concurrent conns under an upd-intensive workloadw
      
      This is a patch from an e-mail; it is not included in an InnoDB snapshot.
      
      9c25895e
  14. 07 Nov, 2006 3 commits
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/lic/my40-lic · 383b9785
      unknown authored
      into  mysql.com:/Users/kent/mysql/bk/mysql-4.0
      
      383b9785
    • unknown's avatar
      make_binary_distribution.sh: · e6161758
      unknown authored
        Added LICENSE.mysql, removed LICENSE.doc README.NW.
        Removed obselete section about MySQLEULA.txt and README.NW.
      README:
        Added reference to the EXCEPTIONS-CLIENT file.
        Changed reference to the commercial license file.
        Corrected references into chapters in the manual.
      .del-MySQLEULA.txt~4a1afd9284f9be5a:
        Delete: Docs/MySQLEULA.txt
      
      
      README:
        Added reference to the EXCEPTIONS-CLIENT file.
        Changed reference to the commercial license file.
        Corrected references into chapters in the manual.
      BitKeeper/deleted/.del-MySQLEULA.txt~4a1afd9284f9be5a:
        Delete: Docs/MySQLEULA.txt
      scripts/make_binary_distribution.sh:
        Added LICENSE.mysql, removed LICENSE.doc README.NW.
        Removed obselete section about MySQLEULA.txt and README.NW.
      e6161758
    • unknown's avatar
      Merge kpdesk.mysql.com:/home/thek/dev/mysql-4.0-maint · 219a1c71
      unknown authored
      into  kpdesk.mysql.com:/home/thek/dev/mysql-4.0
      
      219a1c71
  15. 06 Nov, 2006 2 commits
    • unknown's avatar
      Merge kpdesk.mysql.com:/home/thek/dev/bug23010/my40-bug23010 · e58a7bcd
      unknown authored
      into  kpdesk.mysql.com:/home/thek/dev/mysql-4.0-maint
      
      e58a7bcd
    • unknown's avatar
      Bug#23010 _my_b_read() passing illegal file handles to my_seek() · 620ebf7e
      unknown authored
      - The io cache flag seek_not_done was not set properly in the 
        reinit_io_cache function call and this led my_seek to be called
        desipite an invalid file handle.
      - Added a test in reinit_io_cache to ensure we have a valid file 
        handle before setting seek_not_done flag.
      
      
      mysys/mf_iocache.c:
        Added a test to only trigger my_seek function calls if we have
        a valid file descriptor.
      mysys/my_seek.c:
        Refactored incomplete condition into an assertion. This also ensures
        that variable newpos is initialized properly.
      620ebf7e
  16. 17 Oct, 2006 1 commit
  17. 13 Oct, 2006 1 commit
  18. 02 Oct, 2006 1 commit
  19. 29 Sep, 2006 1 commit
  20. 28 Sep, 2006 1 commit
    • unknown's avatar
      Bug#22384 - DELETE FROM table causes "Incorrect key file for table" · e9dfa4ab
      unknown authored
      Deletes on a big index could crash the index when it needs to
      shrink.
      
      Put a forgotten negation operator in.
      
      No test case. It is too big for the test suite. And it does not
      work with 4.0, only with higher versions. It is attached to the
      bug report.
      
      
      myisam/mi_delete.c:
        Bug#22384 - DELETE FROM table causes "Incorrect key file for table"
        Put a negation operator ('!') before _mi_get_last_key() in del().
        It returns NULL on error, non-NULL on success.
      e9dfa4ab
  21. 27 Sep, 2006 1 commit
  22. 23 Sep, 2006 1 commit
  23. 22 Sep, 2006 3 commits
  24. 18 Sep, 2006 1 commit
    • unknown's avatar
      BUG#9678: Client library hangs after network communication failure · cffcff25
      unknown authored
                (back-port to 4.0)
      
      Socket timeouts in client library were used only on Windows.
      Additionally, in 4.0 write operations erroneously set read timeout.
      
      The solution is to use socket timeouts in client library on all
      systems were they are supported, and to differentiate between read
      and write timeouts.
      
      No test case is provided because it is impossible to simulate network
      failure in current test suite.
      
      
      include/violite.h:
        Add argument to vio_timeout() to determine which timeout should be set:
        for read (false) or for write (true).
      libmysqld/lib_vio.c:
        Add argument to vio_timeout() to determine which timeout should be set:
        for read (false) or for write (true).
      sql/net_serv.cc:
        Add argument to vio_timeout() to determine which timeout should be set:
        for read (false) or for write (true).
      vio/viosocket.c:
        Add argument to vio_timeout() to determine which timeout should be set:
        for read (false) or for write (true).
        Implement socket timeouts on POSIX systems.
      cffcff25