An error occurred fetching the project authors.
  1. 05 Jan, 2005 1 commit
  2. 04 Jan, 2005 2 commits
  3. 28 Dec, 2004 2 commits
    • unknown's avatar
      wl1804 - ndb - add support for _all_ type in NdbScanFilter + TUP · 2fd0f5af
      unknown authored
      ndb/include/ndbapi/NdbOperation.hpp:
        change char* -> void*
      ndb/include/ndbapi/NdbScanFilter.hpp:
        Add generic cmp-function
        Let "old" function use the new one
      ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        Add support for all types for scan filters
      ndb/src/ndbapi/NdbOperationInt.cpp:
        Check length of argument
      ndb/src/ndbapi/NdbScanFilter.cpp:
        Add support for all types for scan filters
      2fd0f5af
    • unknown's avatar
      ndb - Update documentation wrt scans · e997d474
      unknown authored
      ndb/include/ndbapi/Ndb.hpp:
        Update documentation wrt scans
      ndb/include/ndbapi/NdbIndexScanOperation.hpp:
        Update documentation wrt scans
      ndb/include/ndbapi/NdbOperation.hpp:
        Update documentation wrt scans
      ndb/include/ndbapi/NdbRecAttr.hpp:
        Update documentation wrt scans
      ndb/include/ndbapi/NdbScanOperation.hpp:
        Update documentation wrt scans
      ndb/include/ndbapi/NdbTransaction.hpp:
        Update documentation wrt scans
      ndb/src/ndbapi/NdbOperationSearch.cpp:
        Update documentation wrt scans
      e997d474
  4. 23 Dec, 2004 3 commits
    • unknown's avatar
      added depricated · 3957f1bf
      unknown authored
      3957f1bf
    • unknown's avatar
      removed interpreted program stuff from docs · 1611e2d9
      unknown authored
          added some doxygen skip internal
      
      
      ndb/include/ndbapi/Ndb.hpp:
        removed interpreted program stuff from docs
      ndb/include/ndbapi/NdbOperation.hpp:
        added some doxygen skip internal
      1611e2d9
    • unknown's avatar
      backwards compatible name change NdbConnectionto NdbTransaction · 88748b6a
      unknown authored
      removed friend declarations from doxygen
      updated some documentation in mgmapi
      
      
      BitKeeper/deleted/.del-NdbCursorOperation.hpp~da121aeaf101b136:
        Delete: ndb/include/ndbapi/NdbCursorOperation.hpp
      BitKeeper/deleted/.del-NdbCursorOperation.cpp~8d49480ced2deba5:
        Delete: ndb/src/ndbapi/NdbCursorOperation.cpp
      ndb/include/Makefile.am:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/kernel/signaldata/ScanTab.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/kernel/signaldata/TcCommit.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/kernel/signaldata/TcHbRep.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/kernel/signaldata/TcIndx.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/kernel/signaldata/TcKeyConf.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/kernel/signaldata/TcKeyFailConf.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/kernel/signaldata/TcRollbackRep.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/kernel/signaldata/TransIdAI.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/mgmapi/mgmapi.h:
        backwards compatible name change NdbConnectionto NdbTransaction
        documented some missing things in mgmapi
      ndb/include/ndbapi/Ndb.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/ndbapi/NdbApi.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/ndbapi/NdbBlob.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/ndbapi/NdbDictionary.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/ndbapi/NdbEventOperation.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/ndbapi/NdbIndexOperation.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/ndbapi/NdbIndexScanOperation.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/ndbapi/NdbOperation.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/ndbapi/NdbRecAttr.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/ndbapi/NdbReceiver.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/ndbapi/NdbScanFilter.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/ndbapi/NdbScanOperation.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/include/ndbapi/NdbTransaction.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/src/ndbapi/Makefile.am:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/src/ndbapi/Ndb.cpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/src/ndbapi/NdbApiSignal.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/src/ndbapi/NdbBlob.cpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/src/ndbapi/NdbImpl.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/src/ndbapi/NdbIndexOperation.cpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/src/ndbapi/NdbOperation.cpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/src/ndbapi/NdbOperationDefine.cpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/src/ndbapi/NdbOperationExec.cpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/src/ndbapi/NdbOperationInt.cpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/src/ndbapi/NdbOperationSearch.cpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/src/ndbapi/NdbReceiver.cpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/src/ndbapi/NdbScanOperation.cpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/src/ndbapi/NdbTransaction.cpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/src/ndbapi/NdbTransactionScan.cpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/src/ndbapi/Ndberr.cpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/src/ndbapi/Ndbif.cpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/src/ndbapi/Ndbinit.cpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/src/ndbapi/Ndblist.cpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      ndb/tools/restore/consumer_restore.hpp:
        backwards compatible name change NdbConnectionto NdbTransaction
      sql/ha_ndbcluster.h:
        backwards compatible name change NdbConnectionto NdbTransaction
      88748b6a
  5. 01 Dec, 2004 1 commit
    • unknown's avatar
      wl#2126 - ndb - Fix handling of null values wrt read multi range · 11e185b3
      unknown authored
      mysql-test/r/ndb_read_multi_range.result:
        Add tests of null handling to read_multi
      mysql-test/t/ndb_read_multi_range.test:
        Add tests of null handling to read_multi
      ndb/include/ndbapi/NdbOperation.hpp:
        Get recattr
      ndb/include/ndbapi/NdbRecAttr.hpp:
        Get recattr
      sql/ha_ndbcluster.cc:
        Fix handling of null values wrt read multi range
      sql/ha_ndbcluster.h:
        Fix handling of null values wrt read multi range
      11e185b3
  6. 17 Nov, 2004 1 commit
    • unknown's avatar
      wl#2126 - read_multi_range ndb part · bc6986bc
      unknown authored
      ndb/include/ndbapi/NdbConnection.hpp:
        Utility methods
      ndb/include/ndbapi/NdbOperation.hpp:
        Utility methods
      ndb/src/ndbapi/NdbConnection.cpp:
        Don't set theReturnStatus all_the_time, but let it be decided on 
        a operation bases
      ndb/src/ndbapi/NdbOperationExec.cpp:
        AbortOption
      sql/ha_ndbcluster.cc:
        1) removed execute from define_read_attr
        2) let a bunch of methods use define_read_attr
        3) impl. read_multi_range
      sql/ha_ndbcluster.h:
        read_multi_range
      bc6986bc
  7. 01 Nov, 2004 2 commits
    • unknown's avatar
      wl1504 - scan using distribution key and EQ_BOUND · 1e7ff000
      unknown authored
      ndb/include/kernel/signaldata/ScanTab.hpp:
        Add distribution key to ScanTab to enable scanning of specific fragment
      ndb/include/ndbapi/NdbOperation.hpp:
        New methods for controlling distribution/partitioning
      ndb/include/ndbapi/NdbScanOperation.hpp:
        New methods for controlling distribution/partitioning
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Don't mask away kvalue from hash while computing fragId
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Add distribution key to ScanTab to enable scanning of specific fragment
      ndb/src/ndbapi/NdbBlob.cpp:
        removed m_sizeOfKeysInWords which was the same a m_keyLenInWords
      ndb/src/ndbapi/NdbConnection.cpp:
        removed explicit cast
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        removed m_sizeOfKeysInWords which was the same a m_keyLenInWords
      ndb/src/ndbapi/NdbDictionaryImpl.hpp:
        removed m_sizeOfKeysInWords which was the same a m_keyLenInWords
      ndb/src/ndbapi/NdbIndexOperation.cpp:
        removed theFirstKEYINFO and replaced that with theTCREQ->next
      ndb/src/ndbapi/NdbOperation.cpp:
        removed theFirstKEYINFO and replaced that with theTCREQ->next
      ndb/src/ndbapi/NdbOperationExec.cpp:
        removed theFirstKEYINFO and replaced that with theTCREQ->next
      ndb/src/ndbapi/NdbOperationSearch.cpp:
        removed theFirstKEYINFO and replaced that with theTCREQ->next
        Enable partition scan
      ndb/src/ndbapi/NdbScanOperation.cpp:
        removed theFirstKEYINFO and replaced that with theTCREQ->next
        Enable partition scan
      1e7ff000
    • unknown's avatar
      removed copy paste index code · 747e4528
      unknown authored
      improved handling of bits in last word
      
      
      ndb/include/ndbapi/NdbIndexOperation.hpp:
        Removed copy paste index code
      ndb/include/ndbapi/NdbOperation.hpp:
        removed bits in last word
      ndb/src/kernel/blocks/dbtux/DbtuxDebug.cpp:
        fix debug print
      ndb/src/ndbapi/NdbIndexOperation.cpp:
        Removed copy paste index code
      ndb/src/ndbapi/NdbOperationSearch.cpp:
        better handling of bits in last word
      747e4528
  8. 31 Oct, 2004 2 commits
    • unknown's avatar
      wl1540, 1802 · 0b849317
      unknown authored
      Index scan/lookup (only scan specific fragment)
      
      
      ndb/include/kernel/signaldata/TcIndx.hpp:
        Removed TxIndxReq
      ndb/include/ndbapi/NdbDictionary.hpp:
        Removed 
        1) Tuple key
        2) Distribution group
        3) index only storage
      ndb/include/ndbapi/NdbOperation.hpp:
        Removed 
        1) Tuple key
        2) Distribution group
        3) index only storage
      ndb/include/util/md5_hash.hpp:
        Added possibility to get all 4 32-bit hash values
      ndb/src/common/debugger/signaldata/SignalDataPrint.cpp:
        Removed TxIndxReq
      ndb/src/common/debugger/signaldata/TcIndx.cpp:
        Removed TxIndxReq
      ndb/src/common/util/md5_hash.cpp:
        Added possibility to get all 4 32-bit hash values
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        removed fragbits from hash value
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        removed unused frag offset (k+fragbits)
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        removed unused frag offset (k+fragbits)
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Removed TxIndxReq
        Removed distribution group
        Added possibility for API to set fragment hash value
        Split hashvalue into 2 32bit words
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Removed TxIndxReq
        Removed distribution group
        Added possibility for API to set fragment hash value
        Split hashvalue into 2 32bit words
      ndb/src/kernel/blocks/dbtux/Dbtux.hpp:
        removed unused frag offset (k+fragbits)
      ndb/src/kernel/blocks/dbtux/DbtuxMeta.cpp:
        removed unused frag offset (k+fragbits)
      ndb/src/ndbapi/NdbApiSignal.cpp:
        Removed TxIndxReq
      ndb/src/ndbapi/NdbDictionary.cpp:
        Removed 
        1) Tuple key
        2) Distribution group
        3) index only storage
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Removed 
        1) Tuple key
        2) Distribution group
        3) index only storage
      ndb/src/ndbapi/NdbDictionaryImpl.hpp:
        Removed 
        1) Tuple key
        2) Distribution group
        3) index only storage
      ndb/src/ndbapi/NdbIndexOperation.cpp:
        Removed TxIndxReq
      ndb/src/ndbapi/NdbOperation.cpp:
        Removed 
        1) Tuple key
        2) Distribution group
        3) index only storage
      ndb/src/ndbapi/NdbOperationDefine.cpp:
        Removed 
        1) Tuple key
        2) Distribution group
        3) index only storage
      ndb/src/ndbapi/NdbOperationExec.cpp:
        Removed 
        1) Tuple key
        2) Distribution group
        3) index only storage
      ndb/src/ndbapi/NdbOperationSearch.cpp:
        Removed 
        1) Tuple key
        2) Distribution group
        3) index only storage
      ndb/test/src/HugoOperations.cpp:
        Removed 
        1) Tuple key
        2) Distribution group
        3) index only storage
      ndb/test/src/NdbSchemaOp.cpp:
        Removed 
        1) Tuple key
        2) Distribution group
        3) index only storage
      0b849317
    • unknown's avatar
      NDB bug-6018 support writeTuple with blobs · 11b4cab8
      unknown authored
      mysql-test/r/ndb_blob.result:
        bug-6018
      mysql-test/t/ndb_blob.test:
        bug-6018
      ndb/include/ndbapi/NdbBlob.hpp:
        bug-6018
      ndb/include/ndbapi/NdbConnection.hpp:
        bug-6018
      ndb/include/ndbapi/NdbIndexOperation.hpp:
        bug-6018
      ndb/include/ndbapi/NdbOperation.hpp:
        bug-6018
      ndb/src/ndbapi/NdbBlob.cpp:
        bug-6018
      ndb/src/ndbapi/NdbConnection.cpp:
        bug-6018
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        bug-6018
      ndb/src/ndbapi/NdbIndexOperation.cpp:
        bug-6018
      ndb/src/ndbapi/NdbOperation.cpp:
        bug-6018
      ndb/src/ndbapi/NdbOperationExec.cpp:
        bug-6018
      ndb/test/ndbapi/testBlobs.cpp:
        bug-6018
      11b4cab8
  9. 08 Oct, 2004 1 commit
    • unknown's avatar
      Fix simple/dirty read handling · 103ca57c
      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
      103ca57c
  10. 05 Oct, 2004 1 commit
    • unknown's avatar
      wl2135 - index restart · 6fc954ce
      unknown authored
      mysql-test/r/ndb_index_ordered.result:
        test case
      mysql-test/t/ndb_index_ordered.test:
        test case
      ndb/include/kernel/signaldata/ScanTab.hpp:
        Split exclusive/keyinfo
      ndb/include/ndbapi/NdbIndexScanOperation.hpp:
        Add possibility retreive sorted flag
      ndb/include/ndbapi/NdbOperation.hpp:
        Add possibility retreive lock mode
      ndb/include/ndbapi/NdbResultSet.hpp:
        Add possibility to get operation
      ndb/src/common/debugger/signaldata/ScanTab.cpp:
        Split exclusive/keyinfo
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Store flags in ScanFragReq::requestInfo format
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Store flags in ScanFragReq::requestInfo format
      ndb/src/ndbapi/NdbOperationDefine.cpp:
        Keep theLockMode up-to-date
      ndb/src/ndbapi/NdbScanOperation.cpp:
        Keep theLockMode up-to-date
      sql/ha_ndbcluster.cc:
        Use NdbIndexScanOperation::reset_bounds when
          performing second index access
      6fc954ce
  11. 04 Oct, 2004 1 commit
    • unknown's avatar
      NdbIndexScanOperation::reset_bounds() · 57c50afb
      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
      57c50afb
  12. 28 Sep, 2004 1 commit
    • unknown's avatar
      set correct lockmode in all reads... · 51d1a6b3
      unknown authored
          move lockmode from scan operation to operation
          added read tuple with lock mode
      
      
      ndb/include/ndbapi/NdbIndexOperation.hpp:
        added read tuple with lock mode
      ndb/include/ndbapi/NdbOperation.hpp:
        move lockmode from scan operation to operation
      ndb/include/ndbapi/NdbScanOperation.hpp:
        move lockmode from scan operation to operation
      ndb/src/ndbapi/NdbIndexOperation.cpp:
        added read tuple with lock mode
      ndb/src/ndbapi/NdbOperationDefine.cpp:
        added read tuple with lock mode
      sql/ha_ndbcluster.cc:
        set correct lockmode in all reads...
        moved lockmode from scan operatoin to operation
      51d1a6b3
  13. 07 Sep, 2004 1 commit
    • unknown's avatar
      Bug#5429 · 711a9d00
      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
      711a9d00
  14. 27 Aug, 2004 1 commit
    • unknown's avatar
      Added 3 psuedo columns · 29d0c9e6
      unknown authored
      Cleaned up code
      Changed ndb_select_all
      
      
      ndb/include/kernel/AttributeHeader.hpp:
        Added commit count to psuedo columns
        Added bit for psuedo columns
      ndb/include/kernel/GlobalSignalNumbers.h:
        Changed into READ_PSUEDO
      ndb/include/ndbapi/NdbDictionary.hpp:
        Added 3 psuedo columns
      ndb/include/ndbapi/NdbOperation.hpp:
        Added 3 psuedo columns
      ndb/src/kernel/blocks/dbacc/Dbacc.hpp:
        Changed into READ_PSUEDO
        Added commit count
      ndb/src/kernel/blocks/dbacc/DbaccInit.cpp:
        Changed into READ_PSUEDO
        Added commit count
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        Changed into READ_PSUEDO
        Added commit count
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Changed into READ_PSUEDO
        Added commit count
      ndb/src/kernel/blocks/dblqh/DblqhInit.cpp:
        Changed into READ_PSUEDO
        Added commit count
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Changed into READ_PSUEDO
        Added commit count
      ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        Changed into READ_PSUEDO
        Added commit count
      ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        Changed into READ_PSUEDO
        Added commit count
      ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp:
        Changed into READ_PSUEDO
        Added commit count
      ndb/src/ndbapi/NdbDictionary.cpp:
        Added 3 psuedo columns
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Added 3 psuedo columns
      ndb/src/ndbapi/NdbDictionaryImpl.hpp:
        Added 3 psuedo columns
      ndb/src/ndbapi/NdbOperation.cpp:
        Added 3 psuedo columns
      ndb/tools/select_count.cpp:
        Changed select_count into using new features
      29d0c9e6
  15. 24 Aug, 2004 1 commit
    • unknown's avatar
      Implemented general purpose psuedo columns: row_count & fragment · c2c52abe
      unknown authored
      Implemented new interpreter instruction: exit_ok_last
      
      This two new features combined can be used to make fast select count
       
      
      
      ndb/include/kernel/AttributeHeader.hpp:
        Psuedo columns fragment & row_count
      ndb/include/kernel/GlobalSignalNumbers.h:
        Impl. READ_ROWCOUNT
      ndb/include/kernel/signaldata/TupKey.hpp:
        Remove unused pageId pageIndex and replace with lastRow flag
      ndb/include/ndbapi/NdbOperation.hpp:
        New instruction for last_row
      ndb/src/kernel/blocks/dbacc/Dbacc.hpp:
        REQ_ROWCOUNT
      ndb/src/kernel/blocks/dbacc/DbaccInit.cpp:
        REQ_ROWCOUNT
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        REQ_ROWCOUNT
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        REQ_ROWCOUNT + last row
      ndb/src/kernel/blocks/dblqh/DblqhInit.cpp:
        REQ_ROWCOUNT
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        REQ_ROWCOUNT + last row
      ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        Add readers for new psuedo columns
      ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        Add readers for new psuedo columns
      ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp:
        Add readers for new psuedo columns
      ndb/src/ndbapi/NdbOperationDefine.cpp:
        Use exit ok (not ok_last)
      ndb/src/ndbapi/NdbOperationExec.cpp:
        Use exit ok (not ok_last)
      ndb/src/ndbapi/NdbOperationInt.cpp:
        New instruction
      c2c52abe
  16. 05 Aug, 2004 1 commit
    • unknown's avatar
      bug#4909 + testSystemRestart -n SR_FULLDB · 7726c77b
      unknown authored
      1) Fix so that scan takeover is possible after SR
      2) Reserve two pages for SR "zero pages"
      
      
      ndb/include/ndbapi/NdbOperation.hpp:
        remove unused method
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Fix bug#4909
        don't reset tableFragptr during SR
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Also send reason for disallowing rollback
      ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        Add bitmask of free pages to use for page 0 during SR
      ndb/src/kernel/blocks/dbtup/DbtupDebug.cpp:
        More prinout in unit test of PageMan
      ndb/src/kernel/blocks/dbtup/DbtupPagMan.cpp:
        Reserve 2 pages to use for SR
      ndb/src/kernel/blocks/dbtup/DbtupSystemRestart.cpp:
        Don't alloc using "normal" allocConsPages when allocating for
        0-pages during SR, instead use 2 reserved pages
      7726c77b
  17. 07 Jul, 2004 1 commit
    • unknown's avatar
      testIndex -n NFNR1 · c415aa33
      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
      c415aa33
  18. 17 Jun, 2004 1 commit
  19. 10 Jun, 2004 1 commit
  20. 26 May, 2004 1 commit
  21. 25 May, 2004 1 commit
    • unknown's avatar
      Removed AttrType.hpp and moved the "internal" datatypes to their corresponding class. · ad959d35
      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
      ad959d35
  22. 21 May, 2004 1 commit
    • unknown's avatar
      Added unit performance test for scan · 6a0ce620
      unknown authored
      ndb/include/ndbapi/NdbConnection.hpp:
        #include stdlib.h if #define NDB_NO_DROPPED_SIGNAL
      ndb/include/ndbapi/NdbOperation.hpp:
        #include stdlib.h if #define NDB_NO_DROPPED_SIGNAL
      ndb/include/ndbapi/NdbReceiver.hpp:
        #include stdlib.h if #define NDB_NO_DROPPED_SIGNAL
      6a0ce620
  23. 07 May, 2004 1 commit
  24. 14 Apr, 2004 1 commit