1. 22 Nov, 2006 2 commits
    • unknown's avatar
      ndb - bug#24461 · 3412b644
      unknown authored
      m  ove mlock to much earlier in startphases
        not to affect heartbeats
      
      
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        move mlock to much earlier in startphases
          not to affect heartbeats
      3412b644
    • unknown's avatar
      ndb - bug#24461 - LockPagesInMemory ignored · d94d1f94
      unknown authored
        actually do run mlockall
      
      
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        actually do run mlockall
      d94d1f94
  2. 21 Nov, 2006 2 commits
    • unknown's avatar
      ndb - · 13c1723c
      unknown authored
        update error code list
        (for bug#24447)
      
      
      ndb/src/kernel/blocks/ERROR_codes.txt:
        ndb -
          update error code list
      13c1723c
    • unknown's avatar
      ndb - bug#24447 · 537f7c10
      unknown authored
        api disconnect just after SCAN_TABREQ
      
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        1) add error insert for faking DISCONNECT of API just after SCAN_TABREQ
        2) handle error :-)
      ndb/test/ndbapi/testScan.cpp:
        Add etstcase for bug 24447
      ndb/test/run-test/daily-basic-tests.txt:
        Add etstcase for bug 24447
      537f7c10
  3. 27 Oct, 2006 1 commit
    • unknown's avatar
      ndb - valgrind · 124e01f5
      unknown authored
        Still leakage, make sure all unlinked operations are put back so they will be release
        (on failing blob operations, when AO_IgnoreError)
      
      
      ndb/src/ndbapi/NdbConnection.cpp:
        Still leakage, make sure all unlinked operations are put back so they will be release
      124e01f5
  4. 20 Oct, 2006 3 commits
    • unknown's avatar
      ndb - bug#23499 and bug#23502 · 8a87a267
      unknown authored
        Fix some too small buffers in backup
        
      
      
      ndb/include/kernel/ndb_limits.h:
        backport for 5.1
        add MAX_WORDS_META_FILE for computing Backup::NO_OF_PAGES_META_FILE
      ndb/src/kernel/blocks/backup/Backup.cpp:
        Make sure to set maxInsert so that we actually can handle NO_OF_META_PAGES
      ndb/src/kernel/blocks/backup/Backup.hpp:
        backport for 5.1
        add MAX_WORDS_META_FILE for computing Backup::NO_OF_PAGES_META_FILE
      8a87a267
    • unknown's avatar
      ndb - · f61e7463
      unknown authored
        Fixed a 4.1/5.0 vs. 5.1 name change in latest SR bug fix
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Fixed a 4.1/5.0 vs. 5.1 name change in latest SR bug fix
      f61e7463
    • unknown's avatar
      ndb - · f2742c83
      unknown authored
        Fix monster SR bug making SR with ordered indexes (or temporary tables) broken
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Fix monster SR bug making SR with ordered indexes (or temporary tables) broken
      f2742c83
  5. 18 Oct, 2006 1 commit
    • unknown's avatar
      ndb - bug#23200 · 313b46da
      unknown authored
        Make sure postExecute is not run for blobs if AO_IgnoreError
      
      
      ndb/src/ndbapi/NdbConnection.cpp:
        If AO_IgnoreError, error codes arent always set on individual operations, making postExecute impossible
      313b46da
  6. 12 Oct, 2006 1 commit
    • unknown's avatar
      ndb - bug#23210 · d3b8190f
      unknown authored
        Fix race-condition between COPY_GCIREQ (GCP) and lcpSetActiveStatusEnd
        Solution is _not_ to copy sysfileData from COPY_GCIREQ from "self"
      
      
      ndb/src/kernel/blocks/ERROR_codes.txt:
        Add error insert for dealying of copy sysfileData
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        1) Add error insert for delaying of sysfileData
        2) Change to that master is _not_ copying sysfileData from COPY_GCIREQ
           as it might be updating it while COPY_GCIREQ is "in the fly"
      d3b8190f
  7. 06 Oct, 2006 1 commit
    • unknown's avatar
      ndb - bug#22893 · 9c2562d1
      unknown authored
        Add checking of REDO to earlier during SR
            so take-over of node can be performed
            if it can't be restarted using logs
            (which btw is really weird...as it _should_ be able to use logs of other node in node group)
      
        Otherwise cluster could be started and 1 fragment on one node could not have been restored
        Making the cluster inconsisten, VERY BAD
      
      
      ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        Break-out methods which searches for REDO for a fragment, so it can be used earlier during SR
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Add checking of REDO to earlier during SR
          so take-over of node can be performed
          if it can't be restarted using logs
          (which btw is really weird...as it _should_ be able to use logs of other node in node group)
      9c2562d1
  8. 04 Oct, 2006 1 commit
    • unknown's avatar
      ndb - bug#22892 · 7d427f49
      unknown authored
          Make sure checkKeepGci is also run on oldStoredReplicas
            to prevent keepgci to move backwards when crash node restarts
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Make sure checkKeepGci is also run on oldStoredReplicas
          to prevent keepgci to move backwards when crash node restarts
      7d427f49
  9. 26 Sep, 2006 3 commits
    • unknown's avatar
      ndb - bug#15303 · 53c55c52
      unknown authored
        Fix take-over during SR, remove coupling to lcp/gcp (if systemRestartOngoing())
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Fix take-over during SR
      53c55c52
    • unknown's avatar
      ndb - bug#22672 · 63f72ecc
      unknown authored
        handle also CS_CONNECTED as "abort" in handleFailedApi to keep from falling on assertion in releaseApiCon
          in case of committed dirtyRead
      
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        handle also CS_CONNECTED as "abort" to keep from falling on assertion in releaseApiCon
          in case of committed dirtyRead
      63f72ecc
    • unknown's avatar
      ndb - bug#20895 · 99e84383
      unknown authored
        Fix occational LCP hang!!!
        Make sure only to consider alive nodes in startNextChkpt
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Make sure only to consider alive nodes in startNextChkpt
      99e84383
  10. 15 Sep, 2006 1 commit
    • unknown's avatar
      ndb - bug#21756 · 35a202aa
      unknown authored
        Fix for alter table when node is down...that could cause pain and misery
      
      
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Make sure to check table version before retriving from disk
      35a202aa
  11. 04 Sep, 2006 1 commit
    • unknown's avatar
      bug#21965 - replication · 698f3b7e
      unknown authored
        fix deadlock if master switches log file in parallell with "show master logs"
        
      
      
      sql/log.cc:
        add raw_get_current_log which dont take log mutex
      sql/sql_class.h:
        add raw_get_current_log which dont take log mutex
      sql/sql_repl.cc:
        Fix lock order i.e first log_lock then index_lock
      698f3b7e
  12. 24 Aug, 2006 1 commit
    • unknown's avatar
      ndb - bug#21800 · e748962e
      unknown authored
        read TransactionDeadlockTimeout (for scans) to cater for insane settings
      
      
      ndb/src/ndbapi/NdbScanOperation.cpp:
        read TransactionDeadlockTimeout to cater for insane settings
      e748962e
  13. 09 Aug, 2006 1 commit
    • unknown's avatar
      ndb - bug#21536 · 87e73586
      unknown authored
        Make sure updateNodeInfo is run on master also for temporary tables
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Run update nodeinfo also here to handle
          temprorary tables in some situations
      ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        new error insert
      ndb/test/ndbapi/testSystemRestart.cpp:
        test case
      87e73586
  14. 08 Aug, 2006 1 commit
    • unknown's avatar
      ndb - bug#21213 · c8d1bd32
      unknown authored
        Make sure totSendlenAi is set in case of ACC_ABORTCONF and activeCreate == true
        (only needed when >2 replica)
      
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Make sure totSendlenAi is set in case of ACC_ABORTCONF and activeCreate == true
      c8d1bd32
  15. 07 Aug, 2006 1 commit
    • unknown's avatar
      ndb - bug#18475 · 45724cf5
      unknown authored
        Fix error message on copyfragref
      
      
      ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        Fix error message
      45724cf5
  16. 04 Aug, 2006 2 commits
    • unknown's avatar
      ndb - bug#21400 · ec87a0bb
      unknown authored
        Fix docs for NdbOpertation::sub_reg
      
      
      ndb/include/ndbapi/NdbOperation.hpp:
        Fix docs for sub_reg
      ec87a0bb
    • unknown's avatar
      ndb - bug#20296 (recommit in 4.1) · 1cbef6fa
      unknown authored
         Make sure that tupkeyErrorLab is run if interpretedUpdate(fail), so that entry is not inserted into index.
           Yeilding crash on following dml on tupel
      
      
      
      ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        Make sure that tupkeyErrorLab is run if interpretedUpdate(fail), so that entry is not inserted into index.
              Yeilding crash on following dml on tupe
      1cbef6fa
  17. 03 Aug, 2006 1 commit
    • unknown's avatar
      ndb - bug#20892 · 8a9821e2
      unknown authored
        Fix bug in tup buddy allocator, which made it make invalid access to cfreepagelist[16] (which is not defined)
      
      
      ndb/src/kernel/blocks/dbtup/DbtupPagMan.cpp:
        loop from firstListToCheck -1 (as firstListToCheck has already been checked), when looking for less than requested pages
        add if-statement for firtListToCheck == 0
      8a9821e2
  18. 02 Aug, 2006 1 commit
    • unknown's avatar
      ndb - · 2bb49082
      unknown authored
        Make possible to build both debug/release from compile-ndb-autotest
      
      
      BUILD/compile-ndb-autotest:
        Make possible to build both debug/release from compile-ndb-autotest
      2bb49082
  19. 01 Aug, 2006 8 commits
  20. 31 Jul, 2006 1 commit
  21. 29 Jul, 2006 2 commits
  22. 28 Jul, 2006 4 commits
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-4.0 · 608d7e92
      unknown authored
      into  mysql.com:/Users/kent/mysql/bk/mysql-4.1
      
      
      configure.in:
        Auto merged
      scripts/make_binary_distribution.sh:
        Auto merged
      support-files/mysql.spec.sh:
        SCCS merged
      608d7e92
    • unknown's avatar
      Makefile.am, configure.in: · 4f0c394c
      unknown authored
        Man page for mysqld command move to section 8 (bug#21220)
      
      
      configure.in:
        Man page for mysqld command move to section 8 (bug#21220)
      man/Makefile.am:
        Man page for mysqld command move to section 8 (bug#21220)
      4f0c394c
    • unknown's avatar
      make_binary_distribution.sh: · 3423142a
      unknown authored
        Man page for "mysqld" command move to section 8 (bug#21220)
      
      
      scripts/make_binary_distribution.sh:
        Man page for "mysqld" command move to section 8 (bug#21220)
      3423142a
    • unknown's avatar
      mysql.spec.sh: · 00c97fe0
      unknown authored
        Man page for "mysqld" command move to section 8 (bug#21220)
      
      
      support-files/mysql.spec.sh:
        Man page for "mysqld" command move to section 8 (bug#21220)
      00c97fe0