1. 24 Apr, 2007 1 commit
    • unknown's avatar
      BUG#27370: Potential inconsistent blob reads for ReadCommitted reads. · 2dedc1cd
      unknown authored
      The old blob implementation had code that attempted to upgrade the lock mode for
      LM_CommittedRead operations, but it did not work properly as it did not recompute
      the operation flags.
      
      As a consequence, reading a blob with LM_CommittedRead could return inconsistent
      data, with different part of the read data being from different commits done by
      other transactions.
      
      The fix is to correctly recompute all necessary flags when upgrading lock mode.
      
      
      ndb/include/kernel/signaldata/ScanTab.hpp:
        Remove assumption in setXXX() methods that old value is zero, needed to allow blob
        code to upgrade lock mode.
        Fix spelling and commments.
      ndb/include/ndbapi/NdbOperation.hpp:
        Add method to change lock mode, to allow blob code to upgrade lock mode.
      ndb/include/ndbapi/NdbScanOperation.hpp:
        Add method to change lock mode, to allow blob code to upgrade lock mode.
      ndb/src/ndbapi/NdbBlob.cpp:
        Fix upgrading lock mode (old code had no effect).
      ndb/src/ndbapi/NdbOperationDefine.cpp:
        Add method to change lock mode, to allow blob code to upgrade lock mode.
      ndb/src/ndbapi/NdbScanOperation.cpp:
        Add method to change lock mode, to allow blob code to upgrade lock mode.
      ndb/test/ndbapi/testBlobs.cpp:
        Add testcase.
      ndb/test/run-test/daily-basic-tests.txt:
        Enable bug tests for auto test.
      2dedc1cd
  2. 26 Mar, 2007 1 commit
  3. 25 Mar, 2007 1 commit
  4. 23 Mar, 2007 5 commits
    • unknown's avatar
      enabled and extended single user test · c2c33fac
      unknown authored
      c2c33fac
    • unknown's avatar
      Bug #25275 SINGLE USER MODE prevents ALTER on non-ndb tables for other mysqld nodes · 5c5b4b55
      unknown authored
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        abort on timeout if in single user mode
      5c5b4b55
    • unknown's avatar
      Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-telco-gca-single-user · 70fd26bf
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-single-user
      
      
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        Auto merged
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Auto merged
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        Auto merged
      ndb/include/kernel/signaldata/DictTabInfo.hpp:
        manual merge
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        manual merge
      70fd26bf
    • unknown's avatar
      Bug #25275 SINGLE USER MODE prevents ALTER on non-ndb tables for other mysqld nodes · 7be0377a
      unknown authored
      
      ndb/include/kernel/signaldata/DictTabInfo.hpp:
        add single user mode field in table definition
      ndb/include/ndb_constants.h:
        new constants for single usermode option of tables
      ndb/include/ndbapi/NdbDictionary.hpp:
        add single user mode field in table definition
      ndb/src/common/debugger/signaldata/DictTabInfo.cpp:
        add single user mode field in table definition
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        add single user mode field in table definition
        send this infor to TC
      ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        add single user mode field in table definition
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        single user table mode on table object
        merge some flags from uint8 to bits
        get allow transaction to also check single user mode
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        single user table mode on table object
        merge some flags from uint8 to bits
        get allow transaction to also check single user mode
      ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        set single user mode flag on system tables to make them always updatable
      ndb/src/ndbapi/NdbDictionary.cpp:
        get/set functions for single user mode on tables
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        get/set functions for single user mode on tables
      ndb/src/ndbapi/NdbDictionaryImpl.hpp:
        get/set functions for single user mode on tables
      ndb/test/src/NDBT_Table.cpp:
        print single user mode
      7be0377a
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · 3cd4308e
      unknown authored
      into  poseidon.mysql.com:/home/tomas/mysql-5.0-ndb
      
      
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Auto merged
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      3cd4308e
  5. 22 Mar, 2007 7 commits
  6. 21 Mar, 2007 15 commits
  7. 20 Mar, 2007 10 commits