1. 22 Apr, 2005 1 commit
    • unknown's avatar
      bug#9924 - ndb backup abort handling · d0ac62aa
      unknown authored
        Redo abort handling according to descr. in Backup.txt
      bug#9960 - ndb backup
            increase wait completed timeout to 48 hours
      
      
      ndb/include/kernel/signaldata/BackupImpl.hpp:
        Add nodeid to reply to be able to fake reply during NF
      ndb/include/kernel/signaldata/BackupSignalData.hpp:
        new error codes
      ndb/src/common/debugger/signaldata/BackupImpl.cpp:
        fix printout
      ndb/src/kernel/blocks/backup/Backup.cpp:
        bug#9924 - ndb backup abort handling
          Redo abort handling according to descr. in Backup.txt
      ndb/src/kernel/blocks/backup/Backup.hpp:
        bug#9924 - ndb backup abort handling
          Redo abort handling according to descr. in Backup.txt
      ndb/src/kernel/blocks/backup/Backup.txt:
        bug#9924 - ndb backup abort handling
          Redo abort handling according to descr. in Backup.txt
      ndb/src/kernel/blocks/backup/BackupInit.cpp:
        bug#9924 - ndb backup abort handling
          Redo abort handling according to descr. in Backup.txt
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Init own version
      ndb/src/mgmapi/mgmapi.cpp:
        bug#9960 - ndb backup
          increase wait completed timeout to 48 hours
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Handle node failures activly
          (mainly for backup...)
      ndb/src/mgmsrv/MgmtSrvr.hpp:
        Handle node failures activly
          (mainly for backup...)
      ndb/src/mgmsrv/MgmtSrvrGeneralSignalHandling.cpp:
        Handle node failures activly
          (mainly for backup...)
      ndb/src/ndbapi/ndberror.c:
        new error codes
      ndb/test/ndbapi/testBackup.cpp:
        fix return codes
      ndb/test/run-test/daily-basic-tests.txt:
        Add failure test cases to autotest
      ndb/test/src/NdbBackup.cpp:
        fix error codes
        introduce checking of backup resources after each test
      d0ac62aa
  2. 18 Apr, 2005 1 commit
    • unknown's avatar
      bug#9892 · 30bd6f51
      unknown authored
        Make BUILDINDX RF_LOCAL aware
      
      
      ndb/src/ndbapi/Ndbif.cpp:
        allow TCKEY_FAILREF w/ invalid magic number also when NDB_NODROPPED_SIGNAL
      ndb/test/ndbapi/testIndex.cpp:
        Run only 1 update thread during NFNR2_O
      30bd6f51
  3. 14 Apr, 2005 1 commit
    • unknown's avatar
      BUG#9891 - ndb lcp · afd39f62
      unknown authored
      Crash if ACC_CONTOPREQ was sent while ACC_LCPCONF was in job buffer
        if ACC_LCPCONF would have arrived eariler (before TUP_LCPSTARTED)
        operations could lockup. 
        But would be restarted on next LCP
      
      -- LQH
      1) Better check for LCP started that will also return true
         if ACC or TUP already has completed
          
      2) Remove incorrect if statement that prevented operations to
         be started if ACC has completed
      
      -- ACC
      Make sure all ACC_CONTOPCONF are sent before releasing lcp record
        i.e. use noOfLcpConf == 4 (2 ACC_LCPCONF + 2 ACC_CONTOPCONF)
      
      Check for == 4 also when sending ACC_CONTOPCONF
      
      
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        Make sure all ACC_CONTOPCONF are sent before releasing lcp record
          i.e. use noOfLcpConf == 4 (2 ACC_LCPCONF + 2 ACC_CONTOPCONF)
        
        Check for == 4 also when sending ACC_CONTOPCONF
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Remove LCP_STARTED state
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        1) Better check for LCP started that will also return true
           if ACC or TUP already has completed
        
        2) Remove incorrect if statement that prevented operations to
           be started if ACC has completed
      afd39f62
  4. 13 Apr, 2005 1 commit
    • unknown's avatar
      BUG#9749 - ndb lock upgrade - more fixes... · ab9fc570
      unknown authored
      1) Make getNoParall into function instead of a procedure
      2) Check for multiple transactions in "upgrade's" parallell queue
      3) Set lock mode according to lock_owner's lockMode
      
      NOTE: Does still not handle lock upgrade in case of aborts correctly
      
      
      ndb/src/kernel/blocks/dbacc/Dbacc.hpp:
        Make getNoParall into function instead of a procedure
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        1) Make getNoParall into function instead of a procedure
        2) Check for multiple transactions in "upgrade's" parallell queue
        3) Set lock mode according to lock_owner's lockMode
      ab9fc570
  5. 12 Apr, 2005 4 commits
    • unknown's avatar
      bug#9749 - ndb lock upgrade · 245211ab
      unknown authored
        handle more cases...
      
      
      ndb/src/kernel/blocks/dbacc/Dbacc.hpp:
        bug#9749 - ndb lock upgrade
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        bug#9749 - ndb lock upgrade
      ndb/test/ndbapi/testOperations.cpp:
        bug#9749 - ndb lock upgrade
      245211ab
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · bb85fdaf
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      bb85fdaf
    • unknown's avatar
      bug#9757 - ndb - post review · 795cd673
      unknown authored
        use DBUG_RETURN
      
      
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        bug#9757 - ndb
          use DBUG_RETURN
      795cd673
    • unknown's avatar
      bug#9757 - ndb · ecdd8997
      unknown authored
        Impl. stupid mgm lock against shutting down 2 nodes simultaniously
        Add some more dump
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Impl. 2 new dump 
        1) to query nf handling state
        2) that impl. sending of arbitrary signal...
           to be used with extreme care
      ndb/src/kernel/main.cpp:
        enable critical and warnings in out file
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        call handleStopReply on nfCompleteRep instead
      ndb/src/mgmsrv/MgmtSrvr.hpp:
        call handleStopReply on nfCompleteRep instead
      ecdd8997
  6. 11 Apr, 2005 9 commits
  7. 10 Apr, 2005 2 commits
    • unknown's avatar
      Fix for bug #9796 "Query Cache caches queries with CURRENT_USER() · b73ed3d7
      unknown authored
      function".
      
      We should not cache queries using CURRENT_USER() function as we do it
      for some other functions, e.g. USER() function.
      
      
      mysql-test/r/query_cache.result:
        Let us test that queries with CURRENT_USER() function are not cached.
      mysql-test/t/query_cache.test:
        Let us test that queries with CURRENT_USER() function are not cached.
      sql/item_create.cc:
        create_func_current_user():
          We should not cache queries which use CURRENT_USER() function.
      b73ed3d7
    • unknown's avatar
      ctype_collate.result, ctype_collate.test, union.result, union.test: · 37d2d7db
      unknown authored
        fixing tests accordingly
      item.cc:
        Allow mixing non-binary collation and binary collation
        even if coercibility is the same. 
        For easier 4.0 -> 4.1 migrating.
      
      
      sql/item.cc:
        Allow mixing non-binary collation and binary collation
        even if coercibility is the same. 
        For easier 4.0 -> 4.1 migrating.
      mysql-test/t/union.test:
        fixing tests accordingly
      mysql-test/r/union.result:
        fixing tests accordingly
      mysql-test/t/ctype_collate.test:
        fixing tests accordingly
      mysql-test/r/ctype_collate.result:
        fixing tests accordingly
      37d2d7db
  8. 09 Apr, 2005 1 commit
  9. 08 Apr, 2005 14 commits
  10. 07 Apr, 2005 6 commits