An error occurred fetching the project authors.
  1. 22 Oct, 2004 1 commit
  2. 21 Oct, 2004 1 commit
  3. 20 Oct, 2004 1 commit
  4. 11 Oct, 2004 2 commits
    • unknown's avatar
      wl1801 - more node failure handling in simple/dirty read · 011cc5c9
      unknown authored
      ndb/include/kernel/signaldata/TcContinueB.hpp:
        Test NODE_FAILREP arraving before TCKEYCONF w.r.t simple/dirty read
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Test NODE_FAILREP arraving before TCKEYCONF w.r.t simple/dirty read
      ndb/src/ndbapi/NdbConnection.cpp:
        Test NODE_FAILREP arraving before TCKEYCONF w.r.t simple/dirty read
      ndb/src/ndbapi/Ndbif.cpp:
        Test NODE_FAILREP arraving before TCKEYCONF w.r.t simple/dirty read
      ndb/test/ndbapi/testNodeRestart.cpp:
        Test NODE_FAILREP arraving before TCKEYCONF w.r.t simple/dirty read
      011cc5c9
    • unknown's avatar
      wl1801 - Support for handling NF during dirty read · 44e30660
      unknown authored
      ndb/include/ndbapi/NdbConnection.hpp:
        Support for handling NF during dirty read
      ndb/include/ndbapi/NdbReceiver.hpp:
        Support for handling NF during dirty read
      ndb/src/ndbapi/NdbConnection.cpp:
        Support for handling NF during dirty read
      ndb/src/ndbapi/NdbReceiver.cpp:
        Support for handling NF during dirty read
      ndb/src/ndbapi/Ndbif.cpp:
        Support for handling NF during dirty read
      ndb/src/ndbapi/ndberror.c:
        Support for handling NF during dirty read
      ndb/test/ndbapi/testNodeRestart.cpp:
        Support for handling NF during dirty read
      44e30660
  5. 08 Oct, 2004 2 commits
    • unknown's avatar
      Let blobs use committedRead, this is always correct as · 8968be81
      unknown authored
      as read lock is held on primary table
      
      
      ndb/src/ndbapi/NdbConnection.cpp:
        merge error
      8968be81
    • unknown's avatar
      Fix simple/dirty read handling · c74e8a62
      unknown authored
      ndb/include/kernel/signaldata/TcKeyConf.hpp:
        A bit for differenciating between "real" tckey conf and simple read conf
      ndb/include/ndbapi/Ndb.hpp:
        Removed/ifdef's unused stuff
      ndb/include/ndbapi/NdbConnection.hpp:
        Added bitmask that keeps track of used nodes when
          a transaction can be dependant on several nodes
      ndb/include/ndbapi/NdbOperation.hpp:
        removed unused methods
      ndb/include/ndbapi/NdbReceiver.hpp:
        Tween execTCOPCONF to handle TcKeyConf::SimpleReadBit
      ndb/src/common/debugger/signaldata/TcKeyConf.cpp:
        Update printer
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        removed unused define
      ndb/src/ndbapi/NdbApiSignal.cpp:
        Fix length of TC_COMMITREQ
      ndb/test/ndbapi/testOperations.cpp:
        fix simple/dirty read
      c74e8a62
  6. 05 Oct, 2004 1 commit
    • unknown's avatar
      wl2135 test prg + bug fixes · 7cf1c4d5
      unknown authored
      ndb/include/ndbapi/NdbConnection.hpp:
        Add support for removing op from list
      ndb/include/ndbapi/NdbScanOperation.hpp:
        virtual destructor
      ndb/src/ndbapi/NdbConnection.cpp:
        Add support for removing op from list
      ndb/src/ndbapi/NdbScanOperation.cpp:
        Set magic number to invalid before first prepareSendScan
        (so that prepareSendScan is only called once incase of restarts)
      ndb/src/ndbapi/Ndblist.cpp:
        Use correct type
      ndb/test/src/UtilTransactions.cpp:
        Update test prg.
        - use LM_Read to maintain locks
        - set iop = null on temporary error (restart transaction)
      7cf1c4d5
  7. 04 Oct, 2004 1 commit
    • unknown's avatar
      NdbIndexScanOperation::reset_bounds() · 499ebf4d
      unknown authored
      - Send BOUNDS as KEYINFO
      - At restart, only reset KEYINFO
      
      --
      Fix resource shortage at KEYINFO in Dbtc and Dblqh w.r.t scan
      --
      
      
      ndb/include/kernel/signaldata/AttrInfo.hpp:
        Let NdbScanOperation access AttrInfo
      ndb/include/kernel/signaldata/KeyInfo.hpp:
        Let NdbScanOperation access AttrInfo
      ndb/include/kernel/signaldata/ScanFrag.hpp:
        Send KeyLen in ScanFragReq (for range scans)
      ndb/include/kernel/signaldata/ScanTab.hpp:
        Send KeyLen in ScanTabReq (for range scans)
      ndb/include/ndbapi/NdbConnection.hpp:
        Function for adding op to list
      ndb/include/ndbapi/NdbIndexScanOperation.hpp:
        new method for saving BOUNDS
      ndb/include/ndbapi/NdbOperation.hpp:
        Remove bounds stuff from NdbOperation and put it into NdbScanOperation
      ndb/include/ndbapi/NdbScanOperation.hpp:
        reset bounds
      ndb/src/common/debugger/signaldata/Makefile.am:
        New signal data printer for ScanFrag
      ndb/src/common/debugger/signaldata/ScanTab.cpp:
        Fix printout
      ndb/src/common/debugger/signaldata/SignalDataPrint.cpp:
        New signal data printer for ScanFrag
      ndb/src/kernel/blocks/backup/Backup.cpp:
        Updated ScanFragReq
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Use same sendKeyInfo for both acckeyreq and tux_bounds
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Let range scan use KEYinfo for bounds instead of attrinfo
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Let range scan use KEYinfo for bounds instead of attrinfo
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Handle keyinfo in range scan
      ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp:
        Skip useless 5 words in beginning of TuxBounds
      ndb/src/kernel/blocks/suma/Suma.cpp:
        Fix SCAN_FRAGREQ
      ndb/src/ndbapi/NdbConnection.cpp:
        reset bounds
      ndb/src/ndbapi/NdbOperation.cpp:
        Remove bounds
      ndb/src/ndbapi/NdbOperationDefine.cpp:
        Remove bounds stuff
      ndb/src/ndbapi/NdbOperationInt.cpp:
        Remove bounds stuff
      ndb/src/ndbapi/NdbScanOperation.cpp:
        Send BOUNDS in KEYINFO instead of ATTRINFO
      499ebf4d
  8. 15 Sep, 2004 1 commit
    • unknown's avatar
      BUG#4775 "Duplicate key requires rollback of transaction" - Improved error... · 38238355
      unknown authored
      BUG#4775 "Duplicate key requires rollback of transaction" - Improved error message telling that transaction is aborted
      BUG#4312 "wrong behaviour on insert .. on duplicate key" functionality disabled
      
      
      mysql-test/r/ndb_insert.result:
        New tests for fduplicate inserts in combination with transaction
        New tests for INSERT IGNORE and REPLACE
      mysql-test/t/ndb_insert.test:
        New tests for fduplicate inserts in combination with transaction
        New tests for INSERT IGNORE and REPLACE
      ndb/src/ndbapi/NdbConnection.cpp:
        Return error 4350 "Transaction already aborted" if execute(Commit) is called when theCommitStatus==Aborted
        Add DBUG_PRINT's
      ndb/src/ndbapi/ndberror.c:
        Add new error message indicating that the transaction already has been aborted.
      sql/ha_ndbcluster.cc:
        Map all error code 0 to 1 in order to catch errors caused by NdbApi returning -1 without having set an error code.
        Use ndb object in THD in get_error_message
        BUG# 4312 Return HA_ERR_WRONG_COMMAND if extra(HA_EXTRA_IGNORE_DUP_KEY) is called
        Only use writeTuple if command is REPLACE
      sql/ha_ndbcluster.h:
        Added member variable to keep track of when HA_EXTRA_IGNORE_DUP_KEY is used, but NDB can't support it.
      38238355
  9. 07 Sep, 2004 2 commits
    • unknown's avatar
      Bug#5429 · c2e13da2
      unknown authored
      Use const table * in NDB API
      
      
      ndb/include/ndbapi/Ndb.hpp:
        Removed useFullyQualifiedNames(bool)
        Changed so that auto increment methods takes const pointer
      ndb/include/ndbapi/NdbBlob.hpp:
        Changed to const table pointer
      ndb/include/ndbapi/NdbConnection.hpp:
        Changed to const table pointer
      ndb/include/ndbapi/NdbIndexOperation.hpp:
        Changed to const table pointer
      ndb/include/ndbapi/NdbOperation.hpp:
        Changed to const table pointer
      ndb/include/ndbapi/NdbScanOperation.hpp:
        Changed to const table pointer
      ndb/src/kernel/blocks/backup/restore/Restore.cpp:
        Corrected size & array size in case of blob usage
      ndb/src/kernel/blocks/backup/restore/consumer_restore.cpp:
        Removed use fully qualified name
        Handle blob tables
      ndb/src/kernel/blocks/backup/restore/consumer_restore.hpp:
        Introduced mapping between old/new table (wrt ids)
      ndb/src/kernel/blocks/backup/restore/main.cpp:
        removed extra Uint32
      ndb/src/ndbapi/Ndb.cpp:
        Changed to const table pointer
      ndb/src/ndbapi/NdbConnection.cpp:
        Changed to const table pointer
      ndb/src/ndbapi/NdbIndexOperation.cpp:
        Changed to const table pointer
      ndb/src/ndbapi/NdbOperation.cpp:
        Changed to const table pointer
      ndb/src/ndbapi/NdbScanOperation.cpp:
        Changed to const table pointer
      sql/ha_ndbcluster.cc:
        Changed to const table pointer
      c2e13da2
    • unknown's avatar
      fixed NdbConnection::restart and made use of it in ha_ndbcluster · 7540feca
      unknown authored
      added testcase
      
      
      7540feca
  10. 03 Sep, 2004 1 commit
    • unknown's avatar
      renamed ha_recovery_logging to ha_enable_transaction · e8c2e418
      unknown authored
      added tests to alter table for "large" alter tables and truncates in ndbcluster
      added debug printout in restart() in ndbcluster
      added flag THD::transaction.on to enable/disable transaction
      
      
      mysql-test/r/ndb_alter_table.result:
        added tests to alter table for "large" alter tables and truncates
      mysql-test/t/ndb_alter_table.test:
        added tests to alter table for "large" alter tables and truncates
      ndb/src/ndbapi/NdbConnection.cpp:
        added debug printout in restart()
      sql/ha_ndbcluster.cc:
        added support for large alter table and truncate
      sql/handler.cc:
        renamed ha_recovery_logging to ha_enable_transaction
      sql/handler.h:
        renamed ha_recovery_logging to ha_enable_transaction
      sql/sql_class.cc:
        added flag THD::transaction.on to enable/disable transaction
      sql/sql_class.h:
        added flag THD::transaction.on to enable/disable transaction
      sql/sql_delete.cc:
        added disable transaction for mysql_truncate
      sql/sql_table.cc:
        renamed ha_recovery_logging to ha_enable_transaction
      e8c2e418
  11. 01 Sep, 2004 1 commit
  12. 19 Aug, 2004 1 commit
  13. 18 Aug, 2004 1 commit
  14. 05 Aug, 2004 1 commit
  15. 22 Jul, 2004 1 commit
  16. 07 Jul, 2004 1 commit
    • unknown's avatar
      testIndex -n NFNR1 · abf8c93d
      unknown authored
      Bugs in scan(tc)
              nf-handling(api)
              exec-handling(tc)
      
      
      ndb/include/ndbapi/NdbConnection.hpp:
        Allow dropped signal during NF handling
      ndb/include/ndbapi/NdbOperation.hpp:
        Add option to allow dropped signals
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        1) Printer for state
        2) New option to sendtckeyconf (index)
           - clear exec flag
        3) Moved init of *global* apiConnectptr to
           prevent errornous scan_tabconf
           ARGH!!!
      ndb/src/ndbapi/NdbConnection.cpp:
        Move abort from checkState_trans
        since it can be ok with "illegal" signals during NF handling
      ndb/src/ndbapi/NdbConnectionScan.cpp:
        Move abort from checkState_trans
        since it can be ok with "illegal" signals during NF handling
      ndb/src/ndbapi/Ndbif.cpp:
        1) Indentation
        2) Better handling of TCKEY_FAILCONF
        - always ack commit ack marker
          even if transaction has already been removed
        3) abort on 4012 (VM_TRACE)
      ndb/src/ndbapi/TransporterFacade.cpp:
        Don't trace APIREG_REQ/CONF by default
      ndb/test/include/NDBT_Test.hpp:
        Atomic decProperty (used for semaphore impl.)
      ndb/test/ndbapi/testIndex.cpp:
        Impl. option to sync restarts
      ndb/test/src/NDBT_Test.cpp:
        Atomic decProperty
      abf8c93d
  17. 06 Jul, 2004 1 commit
    • unknown's avatar
      fix for testTransactions -n InsertInsert · cb76ceb1
      unknown authored
      - Add sequence to the initial trans id so that create/drop ndb object
        don't generate same transid
      
      
      ndb/src/ndbapi/NdbConnection.cpp:
        Add sequence to the initial trans id so that create/drop ndb object
        don't generate same transid
      ndb/src/ndbapi/Ndbif.cpp:
        Add sequence to the initial trans id so that create/drop ndb object
        don't generate same transid
      ndb/src/ndbapi/TransporterFacade.cpp:
        Add sequence to the initial trans id so that create/drop ndb object
        don't generate same transid
      ndb/src/ndbapi/TransporterFacade.hpp:
        Add sequence to the initial trans id so that create/drop ndb object
        don't generate same transid
      cb76ceb1
  18. 16 Jun, 2004 1 commit
    • unknown's avatar
      wl1671 - bug fixes · 14979cb5
      unknown authored
      ndb/include/ndbapi/NdbConnection.hpp:
        Made releaseCompletedOpertions private and introduced
        NdbConnection::restart instead. This methods basically check a bunch of 
        status flags before calling releaseCompletedOperations
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Introduced MARKRE_TRACE
        Fixed bug on not releasing marker at execABORT
      ndb/src/ndbapi/NdbConnection.cpp:
        Made releaseCompletedOpertions private and introduced
        NdbConnection::restart instead. This methods basically check a bunch of 
        status flags before calling releaseCompletedOperations
      ndb/src/ndbapi/Ndbif.cpp:
        Use MARKER_TRACE
      ndb/test/src/HugoTransactions.cpp:
        Use restart instead of releaseCompletedOperations
      ndb/test/src/UtilTransactions.cpp:
        Use restart instead of releaseCompletedOperations
      ndb/tools/delete_all.cpp:
        Use restart instead of releaseCompletedOperations
      14979cb5
  19. 10 Jun, 2004 1 commit
  20. 27 May, 2004 1 commit
  21. 26 May, 2004 1 commit
  22. 25 May, 2004 1 commit
    • unknown's avatar
      Removed AttrType.hpp and moved the "internal" datatypes to their corresponding class. · af81ff81
      unknown authored
      Moved NdbSchemaCon and NdbSchemaOp out of the public NdbApi, it can however still be used by old test programs.
      Added print oof indexes to desc.
      
      
      ndb/BinDist.sh:
        Removed AttrType.hpp from BinDist.sh
      ndb/include/ndbapi/Ndb.hpp:
        Removed NdbSchemaCon and NdbSchemaOp includes from public NdbApi
        Removed AttrType.hpp
      ndb/include/ndbapi/NdbApi.hpp:
        Removed NdbSchemaCon and NdbSchemaOp includes from public NdbApi
        Removed AttrType.hpp
      ndb/include/ndbapi/NdbConnection.hpp:
        Removed NdbSchemaCon and NdbSchemaOp includes from public NdbApi
        Removed AttrType.hpp
        Moved internal types to the class where they are used
      ndb/include/ndbapi/NdbIndexOperation.hpp:
        Use limit from ndbapi_limit.h
      ndb/include/ndbapi/NdbOperation.hpp:
        Removed NdbSchemaCon and NdbSchemaOp includes from public NdbApi
        Removed AttrType.hpp
        Remove faulty comment about how many attributes a key is allowed to consist of
        Removed unused member variables
      ndb/include/ndbapi/NdbRecAttr.hpp:
        Removed NdbSchemaCon and NdbSchemaOp includes from public NdbApi
        Removed AttrType.hpp
      ndb/include/ndbapi/NdbSchemaCon.hpp:
        Removed NdbSchemaCon and NdbSchemaOp includes from public NdbApi
        Removed AttrType.hpp
      ndb/include/ndbapi/NdbSchemaOp.hpp:
        Removed NdbSchemaCon and NdbSchemaOp includes from public NdbApi
        Removed AttrType.hpp
        Moved all "old" datatypes here, so if a test program is still using old type, include NdbSchemaCon.hpp
      ndb/include/ndbapi/ndbapi_limits.h:
        Corrected limitations, added some from AttrTyp.hpp
      ndb/src/Makefile:
        Remove newtonapi from Makefile
      ndb/src/kernel/blocks/backup/restore/Restore.hpp:
        Removed AttrType
        Include NdbSchemaCon since restore uses old types
      ndb/src/kernel/blocks/backup/restore/main.cpp:
        Include NdbOut
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Remov AttrType.hpp
      ndb/src/ndbapi/ClusterMgr.cpp:
        Remov AttrType.hpp
      ndb/src/ndbapi/Ndb.cpp:
        Removed NdbSchemaCon and NdbSchemaOp includes from public NdbApi
        Removed AttrType.hpp
        Moved internal types to the class where they are used
      ndb/src/ndbapi/NdbApiSignal.cpp:
        Removed AttrType.hpp
      ndb/src/ndbapi/NdbApiSignal.hpp:
        Removed AttrType.hpp
      ndb/src/ndbapi/NdbConnection.cpp:
        Moved internal type s to the class where they belong
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        RemovedAttrType.hpp
        Use limits from ndbapi_limits.h
      ndb/src/ndbapi/NdbEventOperationImpl.cpp:
        Removed AttrType.hpp
        Moved printRecAttr to end since it depends on old types and need to include "NdbSchemaCon", function will be rewritten and moved to NdbRecAttr. It's also useful from other places where an attribute has been read into an NdbRecAttr.
      ndb/src/ndbapi/NdbIndexOperation.cpp:
        Use limitations from ndbapi_limits.h
        Moved internal tyeps to the class where they belongs
      ndb/src/ndbapi/NdbOperation.cpp:
        Use limits from ndbapi_limits.h
      ndb/src/ndbapi/NdbOperationDefine.cpp:
        Remove AttrType.hpp
      ndb/src/ndbapi/NdbOperationExec.cpp:
        Moved internal tyeps to the class where they belongs
      ndb/src/ndbapi/NdbOperationInt.cpp:
        RemovedAttrType.hpp
        Use limits from ndbapi_limits.h
      ndb/src/ndbapi/NdbOperationScan.cpp:
        RemovedAttrType.hpp
        Use limits from ndbapi_limits.h
      ndb/src/ndbapi/NdbOperationSearch.cpp:
        Removed AttrType.hpp
        Use limits from ndbapi_limits.h
      ndb/src/ndbapi/NdbResultSet.cpp:
        Moved the "internal" types to corresponding class
      ndb/src/ndbapi/NdbSchemaCon.cpp:
        Updated not to be included in public NdbApi
      ndb/src/ndbapi/NdbSchemaOp.cpp:
        Updated not to be included in public NdbApi
      ndb/src/ndbapi/NdbUtil.hpp:
        Removed AttrType.hpp
      ndb/src/ndbapi/Ndbif.cpp:
        Removed AttrType.hpp
        Removed NdbSchemaCon and NdbSchemaOp from public NdbApi
        Moved "interal" types to their corresponding class
      ndb/src/ndbapi/Ndbinit.cpp:
        Removed NdbSchemaCon and NdbSchemaOp from public NdbApi
      ndb/src/ndbapi/Ndblist.cpp:
        Removed NdbSchemaCon and NdbSchemaOp from public NdbApi
        Moved "internal" types to their corresponding class
      ndb/src/ndbapi/TransporterFacade.cpp:
        Removed AttrType.hpp
      ndb/src/ndbapi/TransporterFacade.hpp:
        Removed AttrType.hpp
        Moved internal definition of how many Ndb objects to create to here
      ndb/test/include/NDBT_Table.hpp:
        Removed old NdbSchema*
        Added function to print information about an index
      ndb/test/ndbapi/acid/acid.cpp:
        This test program uses old NdbScheaCon.hpp
      ndb/test/ndbapi/flexAsynch/flexAsynch.cpp:
        This test program uses old NdbScheaCon.hpp
      ndb/test/ndbapi/flexScan/flexScan.cpp:
        This test program uses old NdbScheaCon.hpp
      ndb/test/ndbapi/interpreterInTup/interpreterInTup.cpp:
        This test program uses old NdbScheaCon.hpp
      ndb/test/ndbapi/lmc-bench/src/user/userInterface.cpp:
        This test program uses old NdbScheaCon.hpp
      ndb/test/ndbapi/ronja/initronja/initronja.cpp:
        This test program uses old NdbScheaCon.hpp
      ndb/test/ndbapi/telco/msa.cpp:
        This test program uses old NdbScheaCon.hpp
      ndb/test/ndbapi/testDataBuffers/testDataBuffers.cpp:
        This test program uses old NdbScheaCon.hpp
      ndb/test/ndbapi/testNdbApi/testNdbApi.cpp:
        Remove AttrType.hpp
        Define max number of Ndb objects test should "try" to create.
      ndb/test/ndbapi/testRestartGci/testRestartGci.cpp:
        Moved "internal" datatypes to corresponding class, in this case Ndb class
      ndb/test/src/NDBT_ResultRow.cpp:
        This test program uses old NdbScheaCon.hpp
        But should soon use "printer" from NdbRecAttr
      ndb/test/src/NDBT_Table.cpp:
        Print table info more SQL like
      ndb/test/src/UtilTransactions.cpp:
        When AttrType.hpp, this hidden bug was discovered. Using wrong enum types in switch.
      ndb/tools/desc/desc.cpp:
        Alos print info about indexes for a table
      af81ff81
  23. 14 Apr, 2004 1 commit