1. 01 Nov, 2007 1 commit
  2. 25 Oct, 2007 4 commits
    • unknown's avatar
      Merge loke.(none):/home/knielsen/devel/bug31810 · e9b98a5d
      unknown authored
      into  loke.(none):/home/knielsen/devel/mysql-5.0-ndb
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      e9b98a5d
    • unknown's avatar
      Merge loke.(none):/home/knielsen/devel/bug31761 · fd1730f4
      unknown authored
      into  loke.(none):/home/knielsen/devel/mysql-5.0-ndb
      
      
      ndb/include/kernel/AttributeHeader.hpp:
        Auto merged
      ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbutil/DbUtil.cpp:
        Auto merged
      ndb/src/ndbapi/NdbOperationDefine.cpp:
        SCCS merged
      fd1730f4
    • unknown's avatar
      BUG#31810: Potential infinite loop with autoincrement failures in ndb · 34279339
      unknown authored
      Fix extra semicolon causing if-statement to be disabled.
      
      
      sql/ha_ndbcluster.cc:
        Fix extra semicolon causing if-statement to be disabled.
      34279339
    • unknown's avatar
      BUG#31761: Code for cluster is not safe for strict-alias optimization in new gcc · 07865679
      unknown authored
      Fix problem with AttributeHeader::init() seen with gcc 4.2.1.
      
      Using the same object as both Uint32 and class AttributeHeader violates
      strict aliasing rule.
      
      
      ndb/include/kernel/AttributeHeader.hpp:
        Fix problem with AttributeHeader::init() seen with gcc 4.2.1.
        
        Using the same object as both Uint32 and class AttributeHeader violates
        strict aliasing rule.
      ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        Fix problem with AttributeHeader::init() seen with gcc 4.2.1.
        
        Using the same object as both Uint32 and class AttributeHeader violates
        strict aliasing rule.
      ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp:
        Fix problem with AttributeHeader::init() seen with gcc 4.2.1.
        
        Using the same object as both Uint32 and class AttributeHeader violates
        strict aliasing rule.
      ndb/src/kernel/blocks/dbutil/DbUtil.cpp:
        Fix problem with AttributeHeader::init() seen with gcc 4.2.1.
        
        Using the same object as both Uint32 and class AttributeHeader violates
        strict aliasing rule.
      ndb/src/ndbapi/NdbOperationDefine.cpp:
        Fix problem with AttributeHeader::init() seen with gcc 4.2.1.
        
        Using the same object as both Uint32 and class AttributeHeader violates
        strict aliasing rule.
      07865679
  3. 24 Oct, 2007 1 commit
  4. 14 Oct, 2007 1 commit
  5. 04 Oct, 2007 1 commit
    • unknown's avatar
      ndb - bug#29390: if ScanFilter is too large, abort or optionally discard it · d0d6fb96
      unknown authored
      
      mysql-test/r/ndb_condition_pushdown.result:
        if ScanFilter is too large, abort or optionaly discard it
      mysql-test/t/ndb_condition_pushdown.test:
        if ScanFilter is too large, abort or optionaly discard it
      ndb/include/kernel/signaldata/ScanTab.hpp:
        if ScanFilter is too large, abort or optionaly discard it
      ndb/include/ndbapi/Ndb.hpp:
        if ScanFilter is too large, abort or optionaly discard it
      ndb/include/ndbapi/NdbScanFilter.hpp:
        if ScanFilter is too large, abort or optionaly discard it
      ndb/include/ndbapi/ndbapi_limits.h:
        if ScanFilter is too large, abort or optionaly discard it
      ndb/src/ndbapi/NdbScanFilter.cpp:
        if ScanFilter is too large, abort or optionaly discard it
      ndb/src/ndbapi/NdbScanOperation.cpp:
        if ScanFilter is too large, abort or optionaly discard it
      ndb/src/ndbapi/ndberror.c:
        if ScanFilter is too large, abort or optionaly discard it
      sql/ha_ndbcluster_cond.cc:
        if ScanFilter is too large, abort or optionaly discard it
      d0d6fb96
  6. 03 Oct, 2007 2 commits
  7. 02 Oct, 2007 1 commit
  8. 01 Oct, 2007 1 commit
    • unknown's avatar
      remove debug printout · f263c2ff
      unknown authored
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        remove accidently left in printout
      f263c2ff
  9. 25 Sep, 2007 1 commit
    • unknown's avatar
      [PATCH] BUG#30379 Better randomise time before retry in timeout check (DBTC) · f7886540
      unknown authored
      timoOutLoopStartLab() checks if any transactions have been delayed
      for so long that we are forced to perform some action (e.g. abort,
      resend etc).
      
      It is *MEANT* to (according to the comment):
      > To avoid aborting both transactions in a deadlock detected by time-out
      > we insert a random extra time-out of upto 630 ms by using the lowest
      > six bits of the api connect reference.
      > We spread it out from 0 to 630 ms if base time-out is larger than 3 sec,
      > we spread it out from 0 to 70 ms if base time-out is smaller than 300 msec,
      > and otherwise we spread it out 310 ms.
      
      The comment (as all do) lies.
      
      the API connect reference is not very random, producing incredibly
      predictable "random" numbers. This could lead to both txns being
      aborted instead of just one.
      
      Before:
      timeout value: 123 3
      timeout value: 122 2
      timeout value: 122 2
      timeout value: 122 2
      timeout value: 123 3
      
      After:
      timeout value: 127 7
      timeout value: 126 6
      timeout value: 129 9
      timeout value: 139 19
      timeout value: 137 17
      timeout value: 151 31
      timeout value: 130 10
      timeout value: 132 12
      
      Index: ndb-work/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp
      ===================================================================
      
      
      ndb/src/common/util/Makefile.am:
        BUG#30379 Better randomise time before retry in timeout check (DBTC)
      ndb/include/util/ndb_rand.h:
        BUG#30379 Better randomise time before retry in timeout check (DBTC)
      ndb/src/common/util/ndb_rand.c:
        BUG#30379 Better randomise time before retry in timeout check (DBTC)
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        BUG#30379 Better randomise time before retry in timeout check (DBTC)
      f7886540
  10. 13 Sep, 2007 2 commits
  11. 12 Sep, 2007 2 commits
  12. 29 Aug, 2007 1 commit
  13. 20 Aug, 2007 4 commits
  14. 16 Aug, 2007 1 commit
  15. 15 Aug, 2007 1 commit
  16. 14 Aug, 2007 3 commits
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · b76fd3ed
      unknown authored
      into  mysql.com:/windows/Linux_space/MySQL/mysql-5.0-ndb
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      b76fd3ed
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-bug28804 · 6e817c8d
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      6e817c8d
    • unknown's avatar
      Backport Magnus' fix from 5.1 · 6656d39c
      unknown authored
      ChangeSet@1.2575, 2007-08-07 19:16:06+02:00, msvensson@pilot.(none) +2 -0
        Bug#26793 mysqld crashes when doing specific query on information_schema
         - Drop the newly created user user1@localhost
         - Cleanup testcase
      
      
      mysql-test/r/ndb_bug26793.result:
          mysql-test/r/ndb_bug26793.result@1.3, 2007-08-07 19:16:04+02:00, msvensson@pilot.(none)
        +1 -6
            Update test result
      mysql-test/t/ndb_bug26793.test:
          mysql-test/t/ndb_bug26793.test@1.3, 2007-08-07 19:16:04+02:00, msvensson@pilot.(none) +8
        -11
            - Remove the drop/restore of anonymous users - there are no such users
            by default anymore(if there were, they would probably be in mysql.user)
            - Switch back to default connection before cleanup 
            - Drop user1@localhost as part of cleanup
      6656d39c
  17. 13 Aug, 2007 3 commits
    • unknown's avatar
    • unknown's avatar
      bug#30337 DELETE ... WHERE PK IN (..) and AFTER DELETE trigger crashes API... · c1b89b85
      unknown authored
      bug#30337  DELETE ... WHERE PK IN (..) and AFTER DELETE trigger crashes API node: Disable multi_read_range if there are after delete/update triggers
      
      
      
      c1b89b85
    • unknown's avatar
      ndb - bug#28804 · 52a014c7
      unknown authored
        Handle out of transaction buffer in TC for INDX lookups
      
      
      ndb/src/kernel/blocks/ERROR_codes.txt:
        Add new error codes for simulating out of transaction buffer memory
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Change signature to handle out of buffer
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Handle otu of transaction buffers in index operations
          (TCINDXREQ++)
      ndb/src/ndbapi/NdbTransaction.cpp:
        Give more info on 4012
      ndb/src/ndbapi/ndberror.c:
        Add new error code
      ndb/test/ndbapi/testIndex.cpp:
        add tests
      ndb/test/run-test/daily-basic-tests.txt:
        add tests
      sql/ha_ndbcluster.cc:
        Set correct status
      52a014c7
  18. 08 Aug, 2007 2 commits
  19. 07 Aug, 2007 1 commit
    • unknown's avatar
      BUG#29674 Restore/backup are endian compatible in 5.0 · 4c23e5f3
      unknown authored
      
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Twiddle the "replicaCount" and "fragCount" variable when restore data from different endian.
      ndb/src/ndbapi/NdbDictionaryImpl.hpp:
        Add byte order variable
      ndb/tools/restore/Restore.cpp:
        Twiddle blob, datatime,timestamp when do restore in different endian.
      mysql-test/r/ndb_restore_different_endian_data.result:
        Test case result for restore data from different endian
      mysql-test/std_data/ndb_backup50_data_be/BACKUP-1-0.1.Data:
        Test case data
      mysql-test/std_data/ndb_backup50_data_be/BACKUP-1-0.2.Data:
        Test case data
      mysql-test/std_data/ndb_backup50_data_be/BACKUP-1.1.ctl:
        Test case data
      mysql-test/std_data/ndb_backup50_data_be/BACKUP-1.1.log:
        Test case data
      mysql-test/std_data/ndb_backup50_data_be/BACKUP-1.2.ctl:
        Test case data
      mysql-test/std_data/ndb_backup50_data_be/BACKUP-1.2.log:
        Test case data
      mysql-test/std_data/ndb_backup50_data_le/BACKUP-1-0.1.Data:
        Test case data
      mysql-test/std_data/ndb_backup50_data_le/BACKUP-1-0.2.Data:
        Test case data
      mysql-test/std_data/ndb_backup50_data_le/BACKUP-1.1.ctl:
        Test case data
      mysql-test/std_data/ndb_backup50_data_le/BACKUP-1.1.log:
        Test case data
      mysql-test/std_data/ndb_backup50_data_le/BACKUP-1.2.ctl:
        Test case data
      mysql-test/std_data/ndb_backup50_data_le/BACKUP-1.2.log:
        Test case data
      mysql-test/t/ndb_restore_different_endian_data.test:
        Test case for restore data from different endian
      4c23e5f3
  20. 30 Jul, 2007 1 commit
  21. 27 Jul, 2007 1 commit
  22. 26 Jul, 2007 2 commits
    • unknown's avatar
      [PATCH] Bug#26793 I_S query crashes in NDB · ffa5fb61
      unknown authored
      If ::exteral_lock hadn't been called, we'd have no NDB object,
      so need to check/get one here.
      
      It looks like sql_show.cc is the only place that does this....
      or at least the other places will be well hidden.
      
      Index: ndb-work/sql/ha_ndbcluster.cc
      ===================================================================
      
      
      sql/ha_ndbcluster.cc:
        Bug#26793 I_S query crashes in NDB
      ffa5fb61
    • unknown's avatar
      [PATCH] BUG#26793 test: mysqld crashes in NDB on I_S query · b50015f2
      unknown authored
      Reduce case and formalise into something we should be
      able to use in mysql-test-run.
      
      Index: ndb-work/mysql-test/t/ndb_bug26793.test
      ===================================================================
      
      
      mysql-test/r/ndb_bug26793.result:
        BUG#26793 test: mysqld crashes in NDB on I_S query
      mysql-test/t/ndb_bug26793.test:
        BUG#26793 test: mysqld crashes in NDB on I_S query
      b50015f2
  23. 25 Jul, 2007 2 commits
  24. 13 Jul, 2007 1 commit