1. 08 Feb, 2008 1 commit
    • unknown's avatar
      ndb - bug#34378 · 56165c20
      unknown authored
        Using more than 16g can cause record-pool ptr.i values to overflow
        Fix by splitting memory into 2 zones, lo(16g)/hi(rest)
        When record pools only use zone_lo, and datamemory, buffers etc...can use any
      
      
      storage/ndb/src/kernel/blocks/lgman.cpp:
        adopt to changed interface for Ndbd_mem_manager
      storage/ndb/src/kernel/vm/Pool.cpp:
        Always use ZONE_LO for record pools
          as they use ptr.i == 19 bit page id + 13 bit page index
      storage/ndb/src/kernel/vm/ndbd_malloc_impl.cpp:
        Add zones to Ndbd_mem_manager
        ZONE_LO = lower 16g
        ZONE_HI = rest
      storage/ndb/src/kernel/vm/ndbd_malloc_impl.hpp:
        Add zones to Ndbd_mem_manager
        ZONE_LO = lower 16g
        ZONE_HI = rest
      56165c20
  2. 07 Feb, 2008 3 commits
  3. 06 Feb, 2008 5 commits
    • unknown's avatar
      Merge mysql.com:/home/marty/MySQL/mysql-5.0-ndb · 20fb40b0
      unknown authored
      into  mysql.com:/home/marty/MySQL/mysql-5.1-new-ndb
      
      
      storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Merge
      20fb40b0
    • unknown's avatar
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new-ndb · 72de7798
      unknown authored
      into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-ndb
      
      
      storage/ndb/src/common/util/OutputStream.cpp:
        Auto merged
      72de7798
    • unknown's avatar
      ndb - bug#34216 · e156d6af
      unknown authored
        During TC-take-over (NF) the new-TC builds up a new transaction state
        And commits operation according to this state.
        However, in the new state that is build, the operations does not have to be in same order, as "real" state
        In the multi-update-case, this means that operations can be commit in "incorrect" order
      
        i.e update A, delete A, insert A is normally commited in same order as prepared
            but can be committed in any order
      
        This patch changes TUP handling of these out-order commits, and previous implementation
          could confuse the TUX triggers
      
      
      storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        new method
      storage/ndb/src/kernel/blocks/dbtup/DbtupAbort.cpp:
        move removeActiveOpList, cause it's now only used by DbtupAbort
      storage/ndb/src/kernel/blocks/dbtup/DbtupCommit.cpp:
        - move tux-trigger execution *before* check of disk, since ops can be committed during a disk timeslice
        - allow out-of-order commits and use tuple_ptr->m_operation_ptr_i for determening "real" commit
          (instead of re-ordering operations on the fly, which confused tux-triggers)
      storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        use constant instead of number
      storage/ndb/test/run-test/daily-basic-tests.txt:
        "old-51" does not yet support --nologging
      e156d6af
    • unknown's avatar
      ndb - bug#34216 · d6531851
      unknown authored
        testcases
      
      
      storage/ndb/src/kernel/blocks/ERROR_codes.txt:
        new error codes
      storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        new error codes
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        new error codes
      storage/ndb/src/kernel/blocks/dbtup/DbtupCommit.cpp:
        remove assert
      storage/ndb/test/ndbapi/testNodeRestart.cpp:
        new testcase
        1) -n Bug34216
           Which tests node diying during multip-op commit
           Very controlled
        
        2) -n mixedmultiop
           Runs several threads "load" of same scenario...not very controlled
      storage/ndb/test/run-test/daily-basic-tests.txt:
        new testcases
      d6531851
  4. 04 Feb, 2008 6 commits
  5. 03 Feb, 2008 3 commits
    • unknown's avatar
      ndb - bug#33619 · f01ed119
      unknown authored
        make sure to alloc logspace and set bits
        if doing delete after previous update wo/ touching DD part
      
      
      mysql-test/suite/ndb/r/ndb_dd_basic.result:
        testcase
      mysql-test/suite/ndb/t/ndb_dd_basic.test:
        testcase
      f01ed119
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca · 6bb77bf6
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-ndb
      
      
      storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        Auto merged
      6bb77bf6
    • unknown's avatar
      ndb - bug#34260 · 0f883793
      unknown authored
        remove incorrect ndbrequire
      
      
      0f883793
  6. 01 Feb, 2008 2 commits
  7. 31 Jan, 2008 9 commits
    • unknown's avatar
      Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-5.1-ndb · 5032fadd
      unknown authored
      into  sama.ndb.mysql.com:/export/space/pekka/ndb/version/my51-ndb
      
      
      5032fadd
    • unknown's avatar
      ndb - bug#34107 - post-merge · 57ea5ad5
      unknown authored
      
      storage/ndb/src/ndbapi/ndberror.c:
        post-merge
      storage/ndb/test/run-test/daily-basic-tests.txt:
        enable testInterpreter
      57ea5ad5
    • unknown's avatar
      Merge sama.ndb.mysql.com:/export/space/pekka/ndb/version/my50-bug34107 · 2032e23a
      unknown authored
      into  sama.ndb.mysql.com:/export/space/pekka/ndb/version/my51-bug34107
      
      
      storage/ndb/test/ndbapi/testInterpreter.cpp:
        Auto merged
      storage/ndb/test/run-test/daily-basic-tests.txt:
        ul, fix next
      2032e23a
    • unknown's avatar
      ndb - bug#34107 - ndb api test case · 2e25626d
      unknown authored
      
      ndb/test/ndbapi/testInterpreter.cpp:
        bug#34107 testInterpreter test case
      ndb/test/run-test/daily-basic-tests.txt:
        bug#34107 testInterpreter test case
      2e25626d
    • unknown's avatar
      Fixed support for specifying explicit database · e2bdd9b2
      unknown authored
      e2bdd9b2
    • unknown's avatar
      Merge sama.ndb.mysql.com:/export/space/pekka/ndb/version/my50-bug34107 · 58d93fbd
      unknown authored
      into  sama.ndb.mysql.com:/export/space/pekka/ndb/version/my51-bug34107
      
      
      mysql-test/suite/ndb/r/ndb_condition_pushdown.result:
        Auto merged
      mysql-test/suite/ndb/t/ndb_condition_pushdown.test:
        Auto merged
      storage/ndb/include/ndbapi/ndbapi_limits.h:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        silly stuff
      storage/ndb/src/kernel/blocks/dbtup/DbtupStoredProcDef.cpp:
        a name was improved in 5.1
      storage/ndb/src/ndbapi/ndberror.c:
        use local due to huge bogus diff
      58d93fbd
    • unknown's avatar
      Merge sama.ndb.mysql.com:/export/space/pekka/ndb/version/my50-ndb · 69c733fd
      unknown authored
      into  sama.ndb.mysql.com:/export/space/pekka/ndb/version/my50-bug34107
      
      
      69c733fd
    • unknown's avatar
      ndb - bug#34107 patch 2, ndb api · cd8a8a1c
      unknown authored
      
      mysql-test/r/ndb_condition_pushdown.result:
        bug#34107 lower scanfilter max size to not hit TUP limit
      mysql-test/t/ndb_condition_pushdown.test:
        bug#34107 lower scanfilter max size to not hit TUP limit
      ndb/include/ndbapi/ndbapi_limits.h:
        bug#34107 lower scanfilter max size to not hit TUP limit
      cd8a8a1c
    • unknown's avatar
      ndb - bug#34107 patch 1, kernel · 3b5c7a03
      unknown authored
      
      ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        bug#34107 check stored proc overflow
      ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        bug#34107 check stored proc overflow
      ndb/src/kernel/blocks/dbtup/DbtupStoredProcDef.cpp:
        bug#34107 check stored proc overflow
      ndb/src/ndbapi/ndberror.c:
        bug#34107 check stored proc overflow
      3b5c7a03
  8. 30 Jan, 2008 4 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-ndb · b6d3eac0
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-ndb
      
      
      storage/ndb/src/kernel/blocks/backup/Backup.cpp:
        Auto merged
      storage/ndb/src/kernel/vm/DLHashTable.hpp:
        Auto merged
      storage/ndb/src/kernel/vm/DLHashTable2.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/backup/Backup.hpp:
        merge
      b6d3eac0
    • unknown's avatar
      ndb - bug#34160 · d132dd62
      unknown authored
        make sure release of not added ptr does not corrupt hashtable
      
      
      d132dd62
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · 950e7854
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-ndb
      
      
      950e7854
    • unknown's avatar
      ndb - bug#30172 · 6c19c971
      unknown authored
        Backup can assert with "big" table definitions
        Correct condition before fetching next meta-table
        Increase meta-buffer, to cope with atleast 2 tables
      
      
      ndb/src/kernel/blocks/backup/Backup.cpp:
        Correct condition, before fetching new meta-table
      ndb/src/kernel/blocks/backup/Backup.hpp:
        Make sure atleast 2 tables can fix
      6c19c971
  9. 29 Jan, 2008 3 commits
    • unknown's avatar
      Merge sama.ndb.mysql.com:/export/space/pekka/ndb/version/my51-ndb · b75ae0f3
      unknown authored
      into  sama.ndb.mysql.com:/export/space/pekka/ndb/version/my51-bug34118
      
      
      b75ae0f3
    • unknown's avatar
      ndb - bug#34118 - hash index trigger vs. disk · 4c414b10
      unknown authored
      
      mysql-test/suite/ndb/r/ndb_dd_basic.result:
        bug#34118 hash index trigger disk flag
      mysql-test/suite/ndb/t/ndb_dd_basic.test:
        bug#34118 hash index trigger disk flag
      storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        bug#34118 hash index trigger disk flag
      storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        bug#34118 hash index trigger disk flag
      storage/ndb/src/kernel/blocks/dbtup/DbtupTrigger.cpp:
        bug#34118 hash index trigger disk flag
      4c414b10
    • unknown's avatar
      ndb - bug#31477 - in 5.1 move ndb_bug31477.test to suite/ndb · 6b4274cc
      unknown authored
      
      mysql-test/suite/ndb/t/ndb_bug31477.test:
        Rename: mysql-test/t/ndb_bug31477.test -> mysql-test/suite/ndb/t/ndb_bug31477.test
      mysql-test/suite/ndb/r/ndb_bug31477.result:
        Rename: mysql-test/r/ndb_bug31477.result -> mysql-test/suite/ndb/r/ndb_bug31477.result
      6b4274cc
  10. 28 Jan, 2008 3 commits
    • unknown's avatar
      ndb - bug#34046 - rename Ndbd_mem_manager::log2 to ndb_log2 · a0f0e41f
      unknown authored
      
      storage/ndb/src/kernel/vm/NdbdSuperPool.cpp:
        rename Ndbd_mem_manager::log2 to ndb_log2
      storage/ndb/src/kernel/vm/ndbd_malloc_impl.cpp:
        rename Ndbd_mem_manager::log2 to ndb_log2
      storage/ndb/src/kernel/vm/ndbd_malloc_impl.hpp:
        rename Ndbd_mem_manager::log2 to ndb_log2
      a0f0e41f
    • unknown's avatar
      ndb - bug#31477 post-merge fixes in 5.1 · eb493203
      unknown authored
      
      storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        bug#31477 post-merge fixes in 5.1
      storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        bug#31477 post-merge fixes in 5.1
      storage/ndb/src/kernel/blocks/dbtup/DbtupIndex.cpp:
        bug#31477 post-merge fixes in 5.1
      eb493203
    • unknown's avatar
      Merge sama.ndb.mysql.com:/export/space/pekka/ndb/version/my50-bug31477 · 7674d5ef
      unknown authored
      into  sama.ndb.mysql.com:/export/space/pekka/ndb/version/my51-bug31477
      
      
      storage/ndb/include/ndbapi/Ndb.hpp:
        Auto merged
      storage/ndb/src/common/util/NdbOut.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp:
        Auto merged
      storage/ndb/test/ndbapi/testOIBasic.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        mindless merge
      storage/ndb/src/kernel/blocks/dbtup/DbtupIndex.cpp:
        mindless merge
      7674d5ef
  11. 27 Jan, 2008 1 commit