1. 22 Mar, 2006 8 commits
    • unknown's avatar
      ndb - · dec75d4c
      unknown authored
        post merge fixes
      
      
      ndb/include/mgmapi/ndbd_exit_codes.h:
        post merge
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        post merge
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        post merge
      ndb/src/kernel/error/ndbd_exit_codes.c:
        post merge
      ndb/tools/desc.cpp:
        post merge
      dec75d4c
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · be47bcec
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      mysql-test/lib/mtr_timer.pl:
        Auto merged
      ndb/src/kernel/blocks/ERROR_codes.txt:
        Auto merged
      ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        Auto merged
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Auto merged
      ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Auto merged
      ndb/src/ndbapi/NdbTransaction.cpp:
        Auto merged
      ndb/src/ndbapi/TransporterFacade.hpp:
        Auto merged
      ndb/test/ndbapi/testNodeRestart.cpp:
        Auto merged
      ndb/test/run-test/Makefile.am:
        Auto merged
      ndb/test/src/NdbRestarter.cpp:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        merge
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        merge
      ndb/src/ndbapi/Ndbif.cpp:
        merge
      ndb/src/ndbapi/TransporterFacade.cpp:
        merge
      ndb/test/ndbapi/testTimeout.cpp:
        merge
      ndb/test/run-test/daily-basic-tests.txt:
        merge
      ndb/tools/desc.cpp:
        merge
      be47bcec
    • unknown's avatar
      ndb - · 4a02c193
      unknown authored
        fix obscure error lookup
      
      
      ndb/src/kernel/vm/TransporterCallback.cpp:
        Fix error lookup
      4a02c193
    • unknown's avatar
      ndb - · 2279f08a
      unknown authored
        Add per partition info (optionally to ndb_desc)
      
      
      ndb/tools/desc.cpp:
        Add per partition info (optionally to ndb_desc)
      2279f08a
    • unknown's avatar
      ndb - autotest · e74b313c
      unknown authored
        Update makefile for removed files
      
      
      ndb/test/run-test/Makefile.am:
        Update makefile for removed files
      e74b313c
    • unknown's avatar
      ndb - · 4fb98ee6
      unknown authored
        some more ndb-autotest updates (previously uncommitted...but in use)
      
      
      ndb/test/run-test/ndb-autotest.sh:
        More autotest updates
      4fb98ee6
    • unknown's avatar
      ndb - · ad911e85
      unknown authored
        minor update to ndb-autotest.sh and config files
      
      
      ndb/test/run-test/conf-daily-devel-ndbmaster.txt:
        Add SendBufferMemory to remove rare overruns
      ndb/test/run-test/conf-dl145a.txt:
        Add SendBufferMemory to remove rare overruns
      ndb/test/run-test/conf-ndbmaster.txt:
        Add SendBufferMemory to remove rare overruns
      ndb/test/run-test/conf-shark.txt:
        Add SendBufferMemory to remove rare overruns
      ndb/test/run-test/ndb-autotest.sh:
        Add support for conf per host
      ad911e85
    • unknown's avatar
      ndb - bug#18414 · 19340f22
      unknown authored
        Fix timeout during ABORT when ZABORT_TIMEOUT_BREAK is outstanding
      
      
      ndb/src/kernel/blocks/ERROR_codes.txt:
        New error code
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        remove dumping of LCP info during NF
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Fix timeout during ABORT when ZABORT_TIMEOUT_BREAK is outstanding
      ndb/test/ndbapi/testNodeRestart.cpp:
        Add testcase for bug18414
      ndb/test/ndbapi/testTimeout.cpp:
        Fix error code checking
      ndb/test/run-test/daily-basic-tests.txt:
        Add testcase for bug18414
      19340f22
  2. 21 Mar, 2006 2 commits
    • unknown's avatar
      ndb - bug#18118 · 058019f6
      unknown authored
        timeslice DUMP(7015)
      
      
      ndb/include/kernel/signaldata/DumpStateOrd.hpp:
        doc...
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        timeslice DUMP(7015)
      058019f6
    • unknown's avatar
      ndb - bug#18385 · 8ed36cb6
      unknown authored
        Partial system restart, can not try to start with higher GCI that own
        even if knowing about a higher number
      
      
      ndb/include/kernel/signaldata/DumpStateOrd.hpp:
        Add new dump for setting time between gcp
      ndb/include/kernel/signaldata/StartPerm.hpp:
        Move error codes into StartPerm + Add new error code
      ndb/src/kernel/blocks/ERROR_codes.txt:
        Add new error insert
      ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        Move error codes into StartPerm + Add new error code
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Fix so that we don't try to restart to a too new GCI when doing a partial start
        Add new error code when this node later tries to join
      ndb/test/include/NdbRestarter.hpp:
        Add new method for selecting random node
      ndb/test/ndbapi/testSystemRestart.cpp:
        Add new testcase for bug#18385
      ndb/test/run-test/daily-basic-tests.txt:
        Run test in daily-basic
      ndb/test/src/NdbRestarter.cpp:
        Add new method for selecting random node
      8ed36cb6
  3. 20 Mar, 2006 5 commits
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-wl2610 · 591aedaa
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/41-work
      
      
      591aedaa
    • unknown's avatar
      ndb - bug#18352 · ad6dcfb1
      unknown authored
        remove debug prinout
      
      
      ad6dcfb1
    • unknown's avatar
      ndb - wl2610, bug#18352 · d230d0e1
      unknown authored
        Remove useless and tricky state fiddleing in TC
          to syncronize NF_CompleteRep as code is already present in DIH aswell
        Keep broadcast of TAKEOVER_TCCONF for online upgrade
      
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Add clever dump for showing active operations
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Remove useless and tricky state fiddleing in TC
          to syncronize NF_CompleteRep as code is already present in DIH aswell
          Keep broadcast of TAKEOVER_TCCONF for online upgrade
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Remove useless and tricky state fiddleing in TC
          to syncronize NF_CompleteRep as code is already present in DIH aswell
          Keep broadcast of TAKEOVER_TCCONF for online upgrade
      d230d0e1
    • unknown's avatar
      ndb - bug#18352 · 51a093f1
      unknown authored
        Use variable waitfor_response_timeout (depending on TransactionDeadLockTimeout)
        When getting 4012, set NeedAbort and ReleaseOnClose
      
      
      ndb/src/ndbapi/NdbConnection.cpp:
        Use variable for WAITFOR_RESPONSE_TIMEOUT
      ndb/src/ndbapi/Ndbif.cpp:
        Use variable timeout for waitfor, 
          when receiving 4012, set NeedAbort and ReleaseOnClose
      ndb/src/ndbapi/TransporterFacade.cpp:
        Init wait_for_response_timoue as max TRANSACTION_DEADLOCK_TIMEOUT
      ndb/src/ndbapi/TransporterFacade.hpp:
        Init wait_for_response_timoue as max TRANSACTION_DEADLOCK_TIMEOUT
      ndb/test/ndbapi/testTimeout.cpp:
        Add testcase for 4012
      ndb/test/run-test/daily-basic-tests.txt:
        Add testcase for 4012
      51a093f1
    • unknown's avatar
      ndb - wl2610 · 37230a2a
      unknown authored
        Activly abort transactions (that's affected) during NF
        This removes a lot of bugs that can occur otherwise is using
          high value for TransactionDeadLockTimout
      
      
      ndb/include/kernel/signaldata/TcContinueB.hpp:
        New continueb for active transaction abort on nf
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Add bitmask of participating nodes to transaction record
        Add bitmask of node fail steps, so that NF_CompleteRep is not sent until all steps has completed
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Active transaction baortion
      37230a2a
  4. 17 Mar, 2006 3 commits
    • unknown's avatar
      ndb - bug#16772 · 3bfaf333
      unknown authored
        dont't allow node to join cluster until all nodes has completed failure handling
      
      
      ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        When getting CM_ADD for node that I haven't completed failure handling for do _not_ just override.
        But instead set state...and send CM_ACK_ADD on execCONNECT_REP (much...later)
      ndb/test/ndbapi/testNodeRestart.cpp:
        testcase for bug#16772
      ndb/test/run-test/daily-basic-tests.txt:
        Run test in basic suite
      3bfaf333
    • unknown's avatar
      BUG#18283 When InnoDB returns error 'lock table full', MySQL can write · 367442f7
      unknown authored
      to binlog too much.
      
      When InnoDB has to rollback a transaction because the lock table has
      filled up, it also needs to inform the upper layer that the transaction
      was rolled back so that the cached transaction is not written to the
      binary log.
      
      
      sql/ha_innodb.cc:
        When InnoDB rolls back a transaction in HA_ERR_LOCK_TABLE_FULL, it
        needs to inform the upper layer to rollback the transaction also.
      367442f7
    • unknown's avatar
      ndb - bug#18298 · 6ac6b08c
      unknown authored
        8 repeated nr with table wo/ logging cause crash
        Dont create crashed replica for temporary tables
      
      
      ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        Dont create crashed replica for temporary tables
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Dont create crashed replica for temporary tables
      6ac6b08c
  5. 16 Mar, 2006 1 commit
  6. 14 Mar, 2006 3 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/mysql-4.1 · ca18ae84
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0
      
      
      ndb/src/kernel/blocks/backup/Backup.cpp:
        Auto merged
      scripts/make_binary_distribution.sh:
        Auto merged
      ca18ae84
    • unknown's avatar
      sql_select.cc: · 5da3a478
      unknown authored
        Afterfix for bug#17366: Unchecked Item_int results in server crash
      
      
      sql/sql_select.cc:
        Afterfix for bug#17366: Unchecked Item_int results in server crash
      5da3a478
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 09f54a2e
      unknown authored
      into sunlight.local:/work_local/17336-bug-5.0-mysql
      
      
      mysql-test/r/subselect.result:
        Auto merged
      mysql-test/t/subselect.test:
        Auto merged
      09f54a2e
  7. 13 Mar, 2006 11 commits
    • unknown's avatar
      Fixed bug#17366: Unchecked Item_int results in server crash · 8ba5a687
      unknown authored
      When there is conjunction of conds, the substitute_for_best_equal_field()
      will call the eliminate_item_equal() function in loop to build final
      expression. But if eliminate_item_equal() finds that some cond will always
      evaluate to 0, then that cond will be substituted by Item_int with value ==
      0. In this case on the next iteration eliminate_item_equal() will get that 
      Item_int and treat it as Item_cond. This is leads to memory corruption and
      server crash on cleanup phase.
      
      To the eliminate_item_equal() function was added DBUG_ASSERT for checking
      that all items treaten as Item_cond are really Item_cond.
      The substitute_for_best_equal_field() now checks that if
      eliminate_item_equal() returns Item_int and it's value is 0 then this 
      value is returned as the result of whole conjunction.
      
      
      mysql-test/t/subselect.test:
        Added test for bug#17366: Unchecked Item_int results in server crash
      mysql-test/r/subselect.result:
         Added test for bug#17366: Unchecked Item_int results in server crash
      sql/sql_select.cc:
        Fixed bug#17366: Unchecked Item_int results in server crash
         
        To the eliminate_item_equal() function was added DBUG_ASSERT for checking
        that all items treaten as Item_cond are really Item_cond.
        The substitute_for_best_equal_field() now checks that if
        eliminate_item_equal() returns something other than Item_cond and if it is
        then this value is returned as the result of whole conjunction.
      8ba5a687
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 358e0883
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0
      
      
      ndb/src/kernel/blocks/backup/Backup.cpp:
        Auto merged
      358e0883
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · b0a73946
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-4.1
      
      
      ndb/src/kernel/blocks/backup/Backup.cpp:
        Auto merged
      b0a73946
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · e5ad6196
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/backup/Backup.cpp:
        Auto merged
      e5ad6196
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · 99824b4e
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-4.1
      
      
      99824b4e
    • unknown's avatar
      bug#14028 - · 9d8992f7
      unknown authored
          ndb crash if trigger record get to big, fix incorrect max size of trigger record
      
      
      ndb/src/kernel/blocks/backup/Backup.cpp:
        Increase size of max trigger record
      9d8992f7
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0 · 7b3b008b
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0
      
      
      7b3b008b
    • unknown's avatar
      bug#14028 - · 0d89407a
      unknown authored
        ndb crash if trigger record get to big, fix incorrect max size of trigger record
      
      
      ndb/src/kernel/blocks/backup/Backup.cpp:
        Increase size of max trigger record
      0d89407a
    • unknown's avatar
      Merge shellback.(none):/home/msvensson/mysql/init_rm/my50-init_rm · 38b40482
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/mysql-5.0
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      38b40482
    • unknown's avatar
      Remove printouts · 9f4f77ab
      unknown authored
      
      mysql-test/mysql-test-run.pl:
        Remove extra printouts
      9f4f77ab
    • unknown's avatar
      Make mysql-test-run.pl restore the db(s) to a known state before continuing after test case failure · a7a2db66
      unknown authored
      
      mysql-test/mysql-test-run.pl:
        Take a snapshot of the data dirs just after all db's have been installed and usedthat snasphot to restore the db(s) to a known state after a test case has failed.
        Thus avoiding subsequent test cases to fail because of previous test failures.
      a7a2db66
  8. 11 Mar, 2006 2 commits
  9. 10 Mar, 2006 5 commits