1. 08 Feb, 2008 1 commit
    • unknown's avatar
      ndb - bug#34378 · a70cf94a
      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
      a70cf94a
  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 · fca69f7f
      unknown authored
      into  mysql.com:/home/marty/MySQL/mysql-5.1-new-ndb
      
      
      storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Merge
      fca69f7f
    • unknown's avatar
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new-ndb · 4b4881fb
      unknown authored
      into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-ndb
      
      
      storage/ndb/src/common/util/OutputStream.cpp:
        Auto merged
      4b4881fb
    • unknown's avatar
      ndb - bug#34216 · 06f8a751
      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
      06f8a751
    • unknown's avatar
      ndb - bug#34216 · 338e3195
      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
      338e3195
  4. 04 Feb, 2008 6 commits
  5. 03 Feb, 2008 3 commits
    • unknown's avatar
      ndb - bug#33619 · 5e6816d0
      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
      5e6816d0
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca · c140df3e
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-ndb
      
      
      storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        Auto merged
      c140df3e
    • unknown's avatar
      ndb - bug#34260 · 05587ff9
      unknown authored
        remove incorrect ndbrequire
      
      05587ff9
  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 · 6e0baa0a
      unknown authored
      into  sama.ndb.mysql.com:/export/space/pekka/ndb/version/my51-ndb
      
      6e0baa0a
    • unknown's avatar
      ndb - bug#34107 - post-merge · f32670a5
      unknown authored
      
      storage/ndb/src/ndbapi/ndberror.c:
        post-merge
      storage/ndb/test/run-test/daily-basic-tests.txt:
        enable testInterpreter
      f32670a5
    • unknown's avatar
      Merge sama.ndb.mysql.com:/export/space/pekka/ndb/version/my50-bug34107 · 4d591f3f
      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
      4d591f3f
    • unknown's avatar
      ndb - bug#34107 - ndb api test case · 48d88798
      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
      48d88798
    • unknown's avatar
      Fixed support for specifying explicit database · 573f025b
      unknown authored
      573f025b
    • unknown's avatar
      Merge sama.ndb.mysql.com:/export/space/pekka/ndb/version/my50-bug34107 · 044d23b5
      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
      044d23b5
    • unknown's avatar
      Merge sama.ndb.mysql.com:/export/space/pekka/ndb/version/my50-ndb · 699acec1
      unknown authored
      into  sama.ndb.mysql.com:/export/space/pekka/ndb/version/my50-bug34107
      
      699acec1
    • unknown's avatar
      ndb - bug#34107 patch 2, ndb api · 330973bc
      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
      330973bc
    • unknown's avatar
      ndb - bug#34107 patch 1, kernel · a16373be
      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
      a16373be
  8. 30 Jan, 2008 4 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-ndb · 740ea8e0
      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
      740ea8e0
    • unknown's avatar
      ndb - bug#34160 · 16945f42
      unknown authored
        make sure release of not added ptr does not corrupt hashtable
      
      16945f42
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · 342021c5
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-ndb
      
      342021c5
    • unknown's avatar
      ndb - bug#30172 · ec106ca8
      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
      ec106ca8
  9. 29 Jan, 2008 3 commits
    • unknown's avatar
      Merge sama.ndb.mysql.com:/export/space/pekka/ndb/version/my51-ndb · dc5d7a82
      unknown authored
      into  sama.ndb.mysql.com:/export/space/pekka/ndb/version/my51-bug34118
      
      dc5d7a82
    • unknown's avatar
      ndb - bug#34118 - hash index trigger vs. disk · 065aed78
      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
      065aed78
    • unknown's avatar
      ndb - bug#31477 - in 5.1 move ndb_bug31477.test to suite/ndb · 7924492b
      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
      7924492b
  10. 28 Jan, 2008 3 commits
    • unknown's avatar
      ndb - bug#34046 - rename Ndbd_mem_manager::log2 to ndb_log2 · 6508c725
      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
      6508c725
    • unknown's avatar
      ndb - bug#31477 post-merge fixes in 5.1 · ff77ed3c
      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
      ff77ed3c
    • unknown's avatar
      Merge sama.ndb.mysql.com:/export/space/pekka/ndb/version/my50-bug31477 · f8e1abae
      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
      f8e1abae
  11. 27 Jan, 2008 1 commit