1. 27 Apr, 2005 6 commits
    • unknown's avatar
      Bug#7823 - FLUSH TABLES WITH READ LOCK + INSERT DELAYED = deadlock · 32386128
      unknown authored
      After merge fix.
      
      
      32386128
    • unknown's avatar
      Merge from 4.0 needs fixes · f3a1bafa
      unknown authored
      
      sql/lock.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      f3a1bafa
    • unknown's avatar
      Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-4.1 · a43bfdd2
      unknown authored
      into mysql.com:/M41/mysql-4.1
      
      
      a43bfdd2
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 77d8d716
      unknown authored
      into mysql.com:/usr/home/ram/work/4.1.b9803
      
      
      77d8d716
    • unknown's avatar
      Bug#7823 - FLUSH TABLES WITH READ LOCK + INSERT DELAYED = deadlock · f63c8f53
      unknown authored
      Added protection against global read lock while creating and
      initializing a delayed insert handler.
      Allowed to ignore a global read lock when locking the table
      inside the delayed insert handler.
      Added some minor improvements.
      
      
      sql/lock.cc:
        Bug#7823 - FLUSH TABLES WITH READ LOCK + INSERT DELAYED = deadlock
        Changed mysql_lock_tables() to allow for ignoring global read lock.
        Added functions to set/unset protection against global read lock.
      sql/mysql_priv.h:
        Bug#7823 - FLUSH TABLES WITH READ LOCK + INSERT DELAYED = deadlock
        Changed existing and added new function declarations.
      sql/sql_insert.cc:
        Bug#7823 - FLUSH TABLES WITH READ LOCK + INSERT DELAYED = deadlock
        Added and extended some comments.
        Added a protection against global read lock while a handler is
        created and initialized.
        Moved the unlock of the delayed insert object past its last usage
        in delayed_get_table().
        Changed the table locking in handle_delayed_insert() so that it
        does not wait for global read lock.
      f63c8f53
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · 21d5136d
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      
      ndb/src/ndbapi/ndberror.c:
        Auto merged
      21d5136d
  2. 26 Apr, 2005 8 commits
    • unknown's avatar
      dict0dict.c, dict0dict.h, fil0fil.c: · 705d1631
      unknown authored
        Fix a problem in crash recovery of .ibd files on Windows if the user used lower_case_table_names=0 or 2; the directory scan in crash recovery forgot to put all paths to lower case, so that the tablespace name would be consistent with the internal data dictionary of InnoDB; remember that InnoDB puts internally all database names and table names to lower case on Windows, regardless of the value of lower_case_table_names
      
      
      innobase/fil/fil0fil.c:
        Fix a problem in crash recovery of .ibd files on Windows if the user used lower_case_table_names=0 or 2; the directory scan in crash recovery forgot to put all paths to lower case, so that the tablespace name would be consistent with the internal data dictionary of InnoDB; remember that InnoDB puts internally all database names and table names to lower case on Windows, regardless of the value of lower_case_table_names
      innobase/include/dict0dict.h:
        Fix a problem in crash recovery of .ibd files on Windows if the user used lower_case_table_names=0 or 2; the directory scan in crash recovery forgot to put all paths to lower case, so that the tablespace name would be consistent with the internal data dictionary of InnoDB; remember that InnoDB puts internally all database names and table names to lower case on Windows, regardless of the value of lower_case_table_names
      innobase/dict/dict0dict.c:
        Fix a problem in crash recovery of .ibd files on Windows if the user used lower_case_table_names=0 or 2; the directory scan in crash recovery forgot to put all paths to lower case, so that the tablespace name would be consistent with the internal data dictionary of InnoDB; remember that InnoDB puts internally all database names and table names to lower case on Windows, regardless of the value of lower_case_table_names
      705d1631
    • unknown's avatar
      Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-4.1 · 3b2964c5
      unknown authored
      into mysql.com:/M41/mysql-4.1
      
      
      acinclude.m4:
        Auto merged
      configure.in:
        Auto merged
      3b2964c5
    • unknown's avatar
      98b911d5
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1 · 1faa742b
      unknown authored
      into mysql.com:/home/jimw/my/mysql-4.1-clean
      
      
      1faa742b
    • unknown's avatar
      Fix typo in include file name (Bug #9063) · cff80390
      unknown authored
      
      acinclude.m4:
        Fix typo
      cff80390
    • unknown's avatar
      checking that statements get into binlog even when they were affecting · 24caf249
      unknown authored
      no rows of the blackhold engine (for this engine to be a binlog propagator).
      NOTE: blackhole.test currently hangs in 5.0 BUG#10175 so I'll merge without running this test; the
      person who fixes the hang will correct the merged blackhole.result or ask me to).
      
      
      mysql-test/r/blackhole.result:
        result update
      mysql-test/t/blackhole.test:
        checking that statements get into binlog even when they were affecting
        no rows of the blackhold engine. So that this engine can serve as
        a binlog propagator (A->B->C replication where B has only blackhole tables,
        B receives binlog from A, applies it to blackhole tables, writes statements
        to its binlog which it sends to C; both A and C have non-blackhole tables). B is just a proxy.
      24caf249
    • unknown's avatar
      Final fix for NPTL configuration (bug#2173, bug#5871, and bug#9497). · 910c3058
      unknown authored
      
      include/my_global.h:
        As we have a new CPP symbol, this should be "undef"ed explicitly.
      910c3058
    • unknown's avatar
      Fix compile issues in Intel C/C++ compiler (Bug #9063) · ccfcfce6
      unknown authored
      
      acinclude.m4:
        Use AC_LANG_PUSH/POP instead of _SAVE/RESTORE
        Add test to get type of 'struct rlimit'
        Switch order of including stdlib.h and declaration being tested to
        match how it will be used in regular code.
      configure.in:
        Call MYSQL_TYPE_STRUCT_RLIMIT macro
      sql/mysqld.cc:
        Use STRUCT_RLIMIT for getting type of struct rlimit.
      ccfcfce6
  3. 25 Apr, 2005 5 commits
  4. 24 Apr, 2005 1 commit
  5. 23 Apr, 2005 1 commit
    • unknown's avatar
      ndb - bug#10029 fix · ffb64880
      unknown authored
      
      ndb/include/kernel/signaldata/TuxMaint.hpp:
        handle multipl index update failure atomically
      ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        handle multipl index update failure atomically
      ndb/src/kernel/blocks/dbtup/DbtupTrigger.cpp:
        handle multipl index update failure atomically
      ndb/src/kernel/blocks/dbtup/Notes.txt:
        handle multipl index update failure atomically
      ndb/src/kernel/blocks/dbtux/DbtuxNode.cpp:
        handle multipl index update failure atomically
      ndb/src/ndbapi/ndberror.c:
        handle multipl index update failure atomically
      ndb/test/ndbapi/testOIBasic.cpp:
        handle multipl index update failure atomically
      ffb64880
  6. 22 Apr, 2005 8 commits
    • unknown's avatar
      Step 3 of the switch to support configuration with NPTL: · 8a9c9881
      unknown authored
      Change "configure.in".
      
      The branches for Tru64 (ex: OSF/1) and Linux are separated,
      and for Linux 'getconf GNU_LIBPTHREAD_VERSION' is used to tell between Linuxthreads and NPTL.
      
      
      configure.in:
        Step 3 of the switch to support configuration with NPTL:
        Change "configure.in".
        
        1) Separate the branches checking for thread libraries on OSF/1 (now: Tru64) and on Linux,
           as these are different things. In the Tru64 branch, remove the obsolete part for OSF/1 3.2,
           because that is gone since long (about a decade?); we are at 5 now. Adapt the comment.
        
        2) For Linux, the thread libraries are "Linuxthreads" (older) and "NPTL" (newer).
           Until now, we cared only about "Linuxthreads", and we did so by checking a comment in 
           the header file '/usr/include/pthread.h'.
           With NPTL as an alternative or only thread package, this is not secure any more,
           there are distributions where the header file still contains that comment but the lib is NPTL.
           For all current distributions, the way to check is the 'getconf' command.
        
           On old distributions, 'getconf' exists but does not understand the 'GNU_LIBPTHREAD_VERSION'
           parameter. It is unlikely that such an old system should have NPTL, so the header file check is
           sufficient if the getconf inquiry fails.
        
           For both Linuxthreads and NPTL, '-lpthread' is the linker option to use.
        
        3) To detect problems as early as possible, on Linux a link test using '-lpthread' is done.
           The code is copied from a later check where the thread functions are searched in '-lc',
           '-lpthread', and '-lpthreads', but this later search would not be executed after the lib
           was already determined. So if the test is not done here, it will be detected only during
           the real build. This is too late.
      8a9c9881
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-4.1 · af4c58e0
      unknown authored
      into mysql.com:/usr/local/home/marty/MySQL/mysql-4.1
      
      
      af4c58e0
    • unknown's avatar
      639d4295
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · 12a176c8
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      ndb/src/ndbapi/ndberror.c:
        Auto merged
      12a176c8
    • unknown's avatar
      Bug#7806 - insert on duplicate key and auto-update of timestamp · 3431b217
      unknown authored
      A fix of the original patch.
      Correctly clear a bit from an enum value.
      
      
      3431b217
    • unknown's avatar
      bug#9724 - ndb restart · feb48228
      unknown authored
        if file already open occur print files...
      
      
      feb48228
    • unknown's avatar
      bug#9969 - ndb · d69c6e85
      unknown authored
        missleading error message
      
      
      ndb/test/src/NdbBackup.cpp:
        typo
      d69c6e85
    • unknown's avatar
      bug#9924 - ndb backup abort handling · d9faad9c
      unknown authored
        Redo abort handling according to descr. in Backup.txt
      bug#9960 - ndb backup
            increase wait completed timeout to 48 hours
      
      
      ndb/include/kernel/signaldata/BackupImpl.hpp:
        Add nodeid to reply to be able to fake reply during NF
      ndb/include/kernel/signaldata/BackupSignalData.hpp:
        new error codes
      ndb/src/common/debugger/signaldata/BackupImpl.cpp:
        fix printout
      ndb/src/kernel/blocks/backup/Backup.cpp:
        bug#9924 - ndb backup abort handling
          Redo abort handling according to descr. in Backup.txt
      ndb/src/kernel/blocks/backup/Backup.hpp:
        bug#9924 - ndb backup abort handling
          Redo abort handling according to descr. in Backup.txt
      ndb/src/kernel/blocks/backup/Backup.txt:
        bug#9924 - ndb backup abort handling
          Redo abort handling according to descr. in Backup.txt
      ndb/src/kernel/blocks/backup/BackupInit.cpp:
        bug#9924 - ndb backup abort handling
          Redo abort handling according to descr. in Backup.txt
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Init own version
      ndb/src/mgmapi/mgmapi.cpp:
        bug#9960 - ndb backup
          increase wait completed timeout to 48 hours
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Handle node failures activly
          (mainly for backup...)
      ndb/src/mgmsrv/MgmtSrvr.hpp:
        Handle node failures activly
          (mainly for backup...)
      ndb/src/mgmsrv/MgmtSrvrGeneralSignalHandling.cpp:
        Handle node failures activly
          (mainly for backup...)
      ndb/src/ndbapi/ndberror.c:
        new error codes
      ndb/test/ndbapi/testBackup.cpp:
        fix return codes
      ndb/test/run-test/daily-basic-tests.txt:
        Add failure test cases to autotest
      ndb/test/src/NdbBackup.cpp:
        fix error codes
        introduce checking of backup resources after each test
      d9faad9c
  7. 21 Apr, 2005 10 commits
  8. 20 Apr, 2005 1 commit