An error occurred fetching the project authors.
  1. 11 Apr, 2005 1 commit
    • unknown's avatar
      ndb - csc#4847 - manual merge 4.1->5.0 · 6bed3ee9
      unknown authored
      ndb/include/ndbapi/NdbScanOperation.hpp:
        release scan op early to save memory
      ndb/src/ndbapi/NdbScanOperation.cpp:
        release scan op early to save memory
      ndb/src/ndbapi/NdbTransaction.cpp:
        release scan op early to save memory
      ndb/src/ndbapi/Ndblist.cpp:
        release scan op early to save memory
      sql/ha_ndbcluster.cc:
        release scan op early to save memory
      6bed3ee9
  2. 05 Apr, 2005 1 commit
    • unknown's avatar
      ndb - csc#4847 release scan op early to save memory · bb4cc70d
      unknown authored
      ndb/include/ndbapi/NdbConnection.hpp:
        release scan op of hupped trans at scan close to save memory
      ndb/include/ndbapi/NdbScanOperation.hpp:
        release scan op of hupped trans at scan close to save memory
      ndb/src/ndbapi/NdbConnection.cpp:
        release scan op of hupped trans at scan close to save memory
      ndb/src/ndbapi/NdbResultSet.cpp:
        release scan op of hupped trans at scan close to save memory
      ndb/src/ndbapi/NdbScanOperation.cpp:
        release scan op of hupped trans at scan close to save memory
      ndb/tools/desc.cpp:
        release scan op of hupped trans at scan close to save memory
      bb4cc70d
  3. 10 Jan, 2005 1 commit
  4. 28 Dec, 2004 2 commits
    • unknown's avatar
      wl2126 - fix ndb part of "latest" ingo patch · 928d3f04
      unknown authored
        (hopefully last :-))
      
      
      ndb/include/ndbapi/NdbDictionary.hpp:
        remove unimplemented types
      ndb/include/ndbapi/NdbReceiver.hpp:
        return pointer to row for simplified handling of current row features
      ndb/include/ndbapi/NdbScanOperation.hpp:
        return pointer to row for simplified handling of current row features
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        remove unimplemented types
      ndb/src/ndbapi/NdbIndexOperation.cpp:
        remove unimplemented types
      ndb/src/ndbapi/NdbReceiver.cpp:
        return pointer to row for simplified handling of current row features
      ndb/src/ndbapi/NdbScanOperation.cpp:
        return pointer to row for simplified handling of current row features
      sql/ha_ndbcluster.cc:
        Impl. newest read_multi_range patch
      sql/ha_ndbcluster.h:
        Impl. newest read_multi_range patch
      sql/opt_range.cc:
        Add 1 to compensate for incorrect row estimate of 0
      928d3f04
    • unknown's avatar
      ndb - Update documentation wrt scans · badf3549
      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
      badf3549
  5. 23 Dec, 2004 2 commits
    • unknown's avatar
      fixed errors in the doxygen comments · 04caec0b
      unknown authored
      04caec0b
    • unknown's avatar
      backwards compatible name change NdbConnectionto NdbTransaction · 356d343c
      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
      356d343c
  6. 17 Dec, 2004 1 commit
    • unknown's avatar
      ndb: wl-1893: range scanning backwards, ndb kernel · 3465e155
      unknown authored
      ndb/include/kernel/signaldata/AccScan.hpp:
        wl-1893: range scanning backwards, ndb kernel
      ndb/include/kernel/signaldata/ScanFrag.hpp:
        wl-1893: range scanning backwards, ndb kernel
      ndb/include/kernel/signaldata/ScanTab.hpp:
        wl-1893: range scanning backwards, ndb kernel
      ndb/include/ndbapi/NdbIndexScanOperation.hpp:
        wl-1893: range scanning backwards, ndb kernel
      ndb/include/ndbapi/NdbScanOperation.hpp:
        wl-1893: range scanning backwards, ndb kernel
      ndb/src/common/debugger/signaldata/ScanTab.cpp:
        wl-1893: range scanning backwards, ndb kernel
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        wl-1893: range scanning backwards, ndb kernel
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        wl-1893: range scanning backwards, ndb kernel
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        wl-1893: range scanning backwards, ndb kernel
      ndb/src/kernel/blocks/dbtux/Dbtux.hpp:
        wl-1893: range scanning backwards, ndb kernel
      ndb/src/kernel/blocks/dbtux/DbtuxCmp.cpp:
        wl-1893: range scanning backwards, ndb kernel
      ndb/src/kernel/blocks/dbtux/DbtuxDebug.cpp:
        wl-1893: range scanning backwards, ndb kernel
      ndb/src/kernel/blocks/dbtux/DbtuxNode.cpp:
        wl-1893: range scanning backwards, ndb kernel
      ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp:
        wl-1893: range scanning backwards, ndb kernel
      ndb/src/kernel/blocks/dbtux/DbtuxSearch.cpp:
        wl-1893: range scanning backwards, ndb kernel
      ndb/src/kernel/blocks/dbtux/DbtuxTree.cpp:
        wl-1893: range scanning backwards, ndb kernel
      ndb/src/ndbapi/NdbScanOperation.cpp:
        wl-1893: range scanning backwards, ndb kernel
      ndb/tools/select_all.cpp:
        wl-1893: range scanning backwards, ndb kernel
      sql/ha_ndbcluster.cc:
        wl-1893: range scanning backwards, ndb kernel
      3465e155
  7. 07 Dec, 2004 1 commit
    • unknown's avatar
      wl2126 - ndb - fix last unhandled part of read_multi_range · 2cae258f
      unknown authored
        reading sorted multi_range with several range-scans
      
      
      BitKeeper/deleted/.del-NdbResultSet.hpp~e0042f4c18088ff6:
        Delete: ndb/include/ndbapi/NdbResultSet.hpp
      BitKeeper/deleted/.del-NdbResultSet.cpp~84d192cf3f42600d:
        Delete: ndb/src/ndbapi/NdbResultSet.cpp
      ndb/include/ndbapi/NdbApi.hpp:
        Remove NdbResultSet
      ndb/include/ndbapi/NdbIndexScanOperation.hpp:
        Remove NdbResultSet
      ndb/include/ndbapi/NdbScanOperation.hpp:
        Remove NdbResultSet
      ndb/src/ndbapi/Makefile.am:
        Remove NdbResultSet
      ndb/src/ndbapi/NdbConnection.cpp:
        Remove NdbResultSet
      ndb/src/ndbapi/NdbIndexOperation.cpp:
        Remove NdbResultSet
      ndb/src/ndbapi/NdbScanOperation.cpp:
        Remove NdbResultSet
      ndb/test/include/HugoOperations.hpp:
        Remove NdbResultSet
      ndb/test/ndbapi/ScanFunctions.hpp:
        Remove NdbResultSet
      ndb/test/ndbapi/ScanInterpretTest.hpp:
        Remove NdbResultSet
      ndb/test/ndbapi/bank/Bank.cpp:
        Remove NdbResultSet
      ndb/test/ndbapi/bank/BankLoad.cpp:
        Remove NdbResultSet
      ndb/test/ndbapi/slow_select.cpp:
        Remove NdbResultSet
      ndb/test/ndbapi/testBlobs.cpp:
        Remove NdbResultSet
      ndb/test/ndbapi/testDataBuffers.cpp:
        Remove NdbResultSet
      ndb/test/ndbapi/testDeadlock.cpp:
        Remove NdbResultSet
      ndb/test/ndbapi/testIndex.cpp:
        Remove NdbResultSet
      ndb/test/ndbapi/testOIBasic.cpp:
        Remove NdbResultSet
      ndb/test/ndbapi/testReadPerf.cpp:
        Remove NdbResultSet
      ndb/test/ndbapi/testScan.cpp:
        Remove NdbResultSet
      ndb/test/ndbapi/testScanPerf.cpp:
        Remove NdbResultSet
      ndb/test/src/HugoOperations.cpp:
        Remove NdbResultSet
      ndb/test/src/HugoTransactions.cpp:
        Remove NdbResultSet
      ndb/test/src/UtilTransactions.cpp:
        Remove NdbResultSet
      ndb/tools/delete_all.cpp:
        Remove NdbResultSet
      ndb/tools/select_all.cpp:
        Remove NdbResultSet
      ndb/tools/select_count.cpp:
        Remove NdbResultSet
      sql/ha_ndbcluster.cc:
        1) Fix a = 3 -> a= 3
        2) Impl. last part of wl2126
           ordered "multi ordered scan"
      2cae258f
  8. 06 Dec, 2004 1 commit
    • unknown's avatar
      wl2126 - ndb - set correct found_p using new pseudo column NDB$RANGE_NO · 7f510bcc
      unknown authored
      ndb/include/kernel/AttributeHeader.hpp:
        Added range_no pseudo column
      ndb/include/ndbapi/NdbDictionary.hpp:
        Added range_no pseudo column
      ndb/include/ndbapi/NdbIndexScanOperation.hpp:
        Add support for reading range_no
      ndb/include/ndbapi/NdbReceiver.hpp:
        Add support for reading range_no
      ndb/include/ndbapi/NdbScanOperation.hpp:
        Add support for reading range_no
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Added range_no pseudo column
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Added range_no pseudo column
      ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp:
        Added range_no pseudo column
      ndb/src/ndbapi/NdbDictionary.cpp:
        Added range_no pseudo column
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Added range_no pseudo column
      ndb/src/ndbapi/NdbReceiver.cpp:
        Add support for reading range_no
      ndb/src/ndbapi/NdbScanOperation.cpp:
        Read range no
      sql/ha_ndbcluster.cc:
        Set correct found_p using new feature read_range_no
      sql/ha_ndbcluster.h:
        Set correct found_p using new feature read_range_no
      7f510bcc
  9. 29 Nov, 2004 1 commit
    • unknown's avatar
      ndb - scan bug fix + more test cases · d212891f
      unknown authored
      ndb/include/ndbapi/NdbScanOperation.hpp:
        Improved doc. a bit
      ndb/src/ndbapi/NdbConnectionScan.cpp:
        Set error code
      ndb/src/ndbapi/NdbScanOperation.cpp:
        Check error directly after taking mutex
      ndb/test/ndbapi/testScan.cpp:
        new scan test with lots of threads
      ndb/test/run-test/daily-basic-tests.txt:
        Added two more scan tests
        Collapsed testTransactions & testOperations
      d212891f
  10. 22 Nov, 2004 1 commit
    • unknown's avatar
      added force send interface to scan · cfca0085
      unknown authored
      prepared for using query cache in ndb
      
      
      ndb/include/ndbapi/NdbIndexScanOperation.hpp:
        added force send interface to scan
      ndb/include/ndbapi/NdbResultSet.hpp:
        added force send interface to scan
      ndb/include/ndbapi/NdbScanOperation.hpp:
        added force send interface to scan
      ndb/src/ndbapi/NdbResultSet.cpp:
        added force send interface to scan
      ndb/src/ndbapi/NdbScanOperation.cpp:
        added force send interface to scan
      cfca0085
  11. 01 Nov, 2004 1 commit
    • unknown's avatar
      wl1504 - scan using distribution key and EQ_BOUND · 9b556054
      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
      9b556054
  12. 22 Oct, 2004 1 commit
    • unknown's avatar
      AIX compile fixes · 27fa5d48
      unknown authored
      ndb/include/kernel/signaldata/UpgradeStartup.hpp:
        Forward declaration
      ndb/include/ndb_global.h:
        Fix for AIX
      ndb/include/ndb_types.h:
        Always use ndb_global instead of my_global (or anything else)
      ndb/include/ndbapi/Ndb.hpp:
        Forward declaration
      ndb/include/ndbapi/NdbReceiver.hpp:
        Forward declaration
      ndb/include/ndbapi/NdbScanOperation.hpp:
        Forward declaration
      ndb/src/common/util/ConfigValues.cpp:
        Always use ndb_global instead of my_global (or anything else)
      ndb/src/kernel/blocks/backup/restore/Restore.hpp:
        Forward declaration
      ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        Move read/update function into Dbtup
      ndb/src/mgmsrv/SignalQueue.cpp:
        Always use ndb_global instead of my_global (or anything else)
      ndb/tools/waiter.cpp:
        Always use ndb_global instead of my_global (or anything else)
      27fa5d48
  13. 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
  14. 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
  15. 28 Sep, 2004 1 commit
    • unknown's avatar
      set correct lockmode in all reads... · e8c4af12
      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
      e8c4af12
  16. 07 Sep, 2004 1 commit
    • 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
  17. 09 Aug, 2004 1 commit
    • unknown's avatar
      First step for WL 2025 · fd566261
      unknown authored
      Not yet fully working
      Scan reads work fine, not scan updates
      
      
      ndb/include/kernel/ndb_limits.h:
        Introducing a new parameter plus increasing the max no of parallel
        operations per scan in LQH, first step in WL 2025
      ndb/include/kernel/signaldata/ScanFrag.hpp:
        Only need one clientOpPtr
        Concurrency is batch_size to use in this scan
        batch_byte_size is max no of bytes sent in a batch
        first_batch_size is the batch size in the first batch
      ndb/include/kernel/signaldata/ScanTab.hpp:
        apiOperationPtr is sent as long signal data
        batch_byte_size and first_batch_size is needed for further transport
        to LQH
        batch size can now be bigger than before
      ndb/include/kernel/signaldata/TcKeyReq.hpp:
        More concurrency means more size for scanInfo also in TCKEYREQ
      ndb/include/ndbapi/NdbReceiver.hpp:
        New subroutine to caclculate batch size and similar parameters
      ndb/include/ndbapi/NdbScanOperation.hpp:
        batch size calculated before sending, not necessary to store anymore
      ndb/src/common/debugger/signaldata/ScanTab.cpp:
        Updated signal printer for SCAN_TABREQ
      ndb/src/kernel/blocks/backup/Backup.cpp:
        Fixes to make it compile, not fixed for BACKUP being useful yet
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Removed parameters no longer needed and added some new ones.
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Fix for cmaxAccOps that was using the wrong constant
        Removed old code
        New SCAN_FRAGREQ signal
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        New variables
        Removed dead code
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        New SCAN_TABREQ, SCAN_FRAGREQ, SCAN_FRAGCONF and SCAN_TABCONF
        Fixed some error handling to be more efficient
      ndb/src/kernel/blocks/suma/Suma.cpp:
        Fixes to make it compile, not yet usable for SUMA features
      ndb/src/kernel/vm/Configuration.cpp:
        Fix for wrong constant
      ndb/src/ndbapi/NdbApiSignal.cpp:
        Fix for not using constants
      ndb/src/ndbapi/NdbApiSignal.hpp:
        Added possibility to get signal sending node from signal
      ndb/src/ndbapi/NdbConnectionScan.cpp:
        Moved declaration
      ndb/src/ndbapi/NdbReceiver.cpp:
        New routine to calculate batch_size etc.
      ndb/src/ndbapi/NdbScanOperation.cpp:
        Various fixes for sending SCAN_TABREQ and other stuff
      fd566261
  18. 06 Jul, 2004 1 commit
    • unknown's avatar
      Fixed memory handling · 17735954
      unknown authored
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        longable when routed
      ndb/src/kernel/blocks/dbtup/DbtupBuffer.cpp:
        longable when routed
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Init blob count correctly
      ndb/src/ndbapi/NdbIndexOperation.cpp:
        Receiver::init
      ndb/src/ndbapi/NdbOperation.cpp:
        Receiver::init
        release memory
      17735954
  19. 05 Jul, 2004 1 commit
    • unknown's avatar
      Fixed bugs in ordered scan discovered by mysql-test-run · 3f3ea303
      unknown authored
      Enabled ordered scan in handler
      
      
      
      ndb/include/ndbapi/NdbIndexScanOperation.hpp:
        Moved saveBound to NdbIndexScanOperation
      ndb/include/ndbapi/NdbScanOperation.hpp:
        Moved saveBound to NdbIndexScanOperation
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Introduced map for
        index attributes (keys) -> real attr id (and back)
      ndb/src/ndbapi/NdbDictionaryImpl.hpp:
        Introduced map for
        index attributes (keys) -> real attr id (and back)
      ndb/src/ndbapi/NdbOperationDefine.cpp:
        Moved saveBound to NdbIndexScanOperation
      ndb/src/ndbapi/NdbOperationInt.cpp:
        Moved saveBound to NdbIndexScanOperation
      ndb/src/ndbapi/NdbScanOperation.cpp:
        Moved saveBound to NdbIndexScanOperation
        Fixed bugs in handling of setBounds w.r.t getValues and index keys
          (use new reverse map)
        Fixed bugs in next_result_ordered
      sql/ha_ndbcluster.cc:
        Use sorted scan when requested
      3f3ea303
  20. 18 Jun, 2004 1 commit
    • unknown's avatar
      wl1873 impl + test prg · 6fcaa7d5
      unknown authored
      ndb/include/ndbapi/NdbResultSet.hpp:
        NdbResultSet::restart
      ndb/include/ndbapi/NdbScanOperation.hpp:
        NdbResultSet::restart
      ndb/src/ndbapi/NdbResultSet.cpp:
        NdbResultSet::restart
      ndb/src/ndbapi/NdbScanOperation.cpp:
        NdbResultSet::restart
      ndb/test/ndbapi/testScan.cpp:
        Test case for scan restart
      6fcaa7d5
  21. 17 Jun, 2004 1 commit
  22. 10 Jun, 2004 1 commit
  23. 01 Jun, 2004 1 commit
    • unknown's avatar
      Update error handling of new scan · ab198e52
      unknown authored
      Still known bugs :-(
      
      
      ndb/include/kernel/signaldata/ScanTab.hpp:
        Add close flag
      ndb/include/ndbapi/NdbConnection.hpp:
        Moved mehtod outside
      ndb/include/ndbapi/NdbScanOperation.hpp:
        Removed err code from
      ndb/src/common/debugger/signaldata/ScanTab.cpp:
        Updated printer
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        New error inserts for SCAN
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Update handling of frag timeouts
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Update handling of frag timeouts
      ndb/src/kernel/blocks/dbtup/DbtupBuffer.cpp:
        Don't send empty TRANSID_AI's
      ndb/src/ndbapi/NdbConnectionScan.cpp:
        Update error handling of scan
      ndb/src/ndbapi/NdbScanOperation.cpp:
        Update error handling of scan
      ndb/src/ndbapi/Ndbif.cpp:
        Update error handling of scan
      ab198e52
  24. 26 May, 2004 1 commit
  25. 07 May, 2004 1 commit
  26. 04 May, 2004 1 commit
    • unknown's avatar
      Merge NDB patches into 4.1-clone, below is list of changesets · 5f02d41c
      unknown authored
      # --------------------------------------------
      # 04/04/13      joreland@mysql.com      1.1858.1.1
      # Removal of NDBT_Table
      # --------------------------------------------
      # 04/04/13      joreland@mysql.com      1.1858.1.2
      # Removal of NDBT_Table
      # --------------------------------------------
      # 04/04/13      joreland@mysql.com      1.1858.1.3
      # Fix for crashing AT
      # --------------------------------------------
      # 04/04/13      joreland@mysql.com      1.1858.1.4
      # Bug fixes in testIndex
      # --------------------------------------------
      # 04/04/13      joreland@mysql.com      1.1866.1.5
      # Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
      # into mysql.com:/home/jonas/src/tmp
      # --------------------------------------------
      # 04/04/14      joreland@mysql.com      1.1858.1.5
      # Fix for takeover when accessing indexes.
      # --------------------------------------------
      # 04/04/14      joreland@mysql.com      1.1866.1.6
      # Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
      # into mysql.com:/home/jonas/src/tmp
      # --------------------------------------------
      # 04/04/14      joreland@mysql.com      1.1858.2.1
      # Fixed error handling of fire_trigger_ord + lqhkeyref w.r.t indexes
      # --------------------------------------------
      # 04/04/14      joreland@mysql.com      1.1858.2.2
      # Simple retry mechanism in UTIL
      # Helps testIndex -n BuildDuring _a lot_
      # --------------------------------------------
      # 04/04/14      joreland@mysql.com      1.1858.2.3
      # Misc fixes to test prg.
      # --------------------------------------------
      # 04/04/14      joreland@mysql.com      1.1858.2.4
      # Allow more retires on application errors
      # --------------------------------------------
      # 04/04/14      joreland@mysql.com      1.1858.2.5
      # Pass no of rows fetched in SUB_SYNC_CONTINUE_REQ
      # --------------------------------------------
      # 04/04/14      joreland@mysql.com      1.1869
      # wl1714
      # Improve parallellism
      # --------------------------------------------
      # 04/04/14      joreland@mysql.com      1.1870
      # Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
      # into mysql.com:/home/jonas/src/wl1714
      # --------------------------------------------
      # 04/04/14      joreland@mysql.com      1.1866.1.7
      # Merge
      # --------------------------------------------
      # 04/04/14      joreland@mysql.com      1.1871
      # Merge mysql.com:/home/jonas/src/wl1714
      # into mysql.com:/home/jonas/src/mysql-4.1-ndb
      # --------------------------------------------
      # 04/04/14      joreland@mysql.com      1.1872
      # Fix for testScan -n ScanReadError5030
      # --------------------------------------------
      # 04/04/14      joreland@mysql.com      1.1873
      # fix testDict -n FragmentType*
      # --------------------------------------------
      # 04/04/14      johan@stingray.(none)   1.1866.2.1
      # small fixes
      # --------------------------------------------
      # 04/04/14      johan@stingray.(none)   1.1874
      # Merge jandersson@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
      # into stingray.(none):/space/bk/rep/mysql-4.1-ndb
      # --------------------------------------------
      # 04/04/14      johan@stingray.(none)   1.1875
      # handle rep node as an api node
      # --------------------------------------------
      # 04/04/14      pekka@mysql.com 1.1873.1.1
      # Fix for NDBT_Table removal
      # --------------------------------------------
      # 04/04/15      joreland@mysql.com      1.1873.1.2
      # Uninitialized var.
      # --------------------------------------------
      # 04/04/15      johan@stingray.(none)   1.1876
      # Merge jandersson@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
      # into stingray.(none):/space/bk/rep/mysql-4.1-ndb
      # --------------------------------------------
      # 04/04/15      joreland@mysql.com      1.1873.1.3
      # Write pid before changing user
      # (as runas user probably doesn't have permissions on pid-dir)
      # --------------------------------------------
      # --------------------------------------------
      # 04/04/15      ndb@mc03.ndb.mysql.com  1.1862.1.3
      # Fix printout of varchars
      # --------------------------------------------
      # 04/04/15      ndb@mc03.ndb.mysql.com  1.1877
      # Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
      # into mc03.ndb.mysql.com:/space/ndb/tmp
      # --------------------------------------------
      # 04/04/15      ndb@mc03.ndb.mysql.com  1.1862.1.4
      # Hmm.. don't print attr as many times as length of array
      # --------------------------------------------
      # 04/04/15      ndb@mc03.ndb.mysql.com  1.1878
      # Merge mc03.ndb.mysql.com:/space/ndb/mysql-4.1-ndb
      # into mc03.ndb.mysql.com:/space/ndb/tmp
      # --------------------------------------------
      # 04/04/15      joreland@mysql.com      1.1876.1.1
      # Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
      # into mysql.com:/home/jonas/src/mysql-4.1-ndb
      # --------------------------------------------
      # 04/04/15      joreland@mysql.com      1.1877.1.1
      # Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
      # into mysql.com:/home/jonas/src/mysql-4.1-ndb
      # --------------------------------------------
      # 04/04/15      ndb@mc03.ndb.mysql.com  1.1879
      # Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
      # into mc03.ndb.mysql.com:/space/ndb/tmp
      # --------------------------------------------
      # 04/04/17      joreland@mysql.com      1.1880
      # LCP bug when restarting ops take's longer than DIH sending a new lcp ord
      # Solution:
      # Send LCP_FRAG_REP after restarting all ops
      # --------------------------------------------
      # 04/04/18      joreland@mysql.com      1.1881
      # Missspelled ERROR_INSERT
      # --------------------------------------------
      # 04/04/18      joreland@mysql.com      1.1882
      # Added possibility to log only distributed signals
      # --------------------------------------------
      # 04/04/22      joreland@mysql.com      1.1883
      # Removed dependancy to libstdc++
      # * pure virtual functions "__cxa_pure_virtual" is defined in libstd++ ->
      #   remove all pure virtual functions
      # --------------------------------------------
      # 04/04/23      joreland@mysql.com      1.1884
      # Various minor bug fixes for problems found while compiling
      # with icc
      # --------------------------------------------
      # --------------------------------------------
      # 04/04/25      joreland@mysql.com      1.1885
      # Removed debug code (joreland:1.1875)
      # --------------------------------------------
      # 04/04/26      ejonore@mc03.ndb.mysql.com      1.1862.1.5
      # Lock pages in memory _after_ daemon-mode (exec/fork)
      # --------------------------------------------
      # 04/04/27      ejonore@mc03.ndb.mysql.com      1.1862.1.6
      # 1) Trap abort()
      # 2) StopStart/StopAborted events
      # 3) warning if memlock fails
      # 4) use g_logger more often (instead of ndbout)
      # 
      # --------------------------------------------
      # 04/04/27      joreland@mysql.com      1.1886
      # bug fix for a bug in wl1714 + software upgrade
      # --------------------------------------------
      # 04/04/27      joreland@mysql.com      1.1887
      # Cset exclude: joreland@mysql.com|ChangeSet|20040422160720|05374
      # --------------------------------------------
      # 04/04/27      joreland@mysql.com      1.1888
      # removed libstc++ second try...
      # --------------------------------------------
      # 04/04/28      ejonore@mc03.ndb.mysql.com      1.1862.1.7
      # 1) Don't lock FUTURE pages but only current
      # 2) Do this when SIZEALT has completed
      # --------------------------------------------
      # 04/04/30      joreland@mysql.com      1.1889
      # Merge jonas@orca:/home/ndb/releases/mysql-4.1-ndb-3.4.x
      # into mysql.com:/home/jonas/src/mysql-4.1-ndb
      # --------------------------------------------
      # 04/05/03      ndb@mc03.ndb.mysql.com  1.1862.1.8
      # Version update
      # --------------------------------------------
      # 04/05/03      joreland@mysql.com      1.1862.3.1
      # Changed restart behavior.
      # Use "angel" process which monitor "real" process
      # --------------------------------------------
      # 04/05/03      joreland@mysql.com      1.1862.1.9
      # Merge jonas@orca:/home/ndb/releases/mysql-4.1-ndb-3.4.x
      # into mysql.com:/home/jonas/src/mysql-4.1-ndb-3.4.x
      # --------------------------------------------
      # 04/05/03      joreland@mysql.com      1.1890
      # Merge B2 fixes
      # --------------------------------------------
      # --------------------------------------------
      # 04/05/03      joreland@mysql.com      1.1862.1.10
      # Better handling of children terminations
      # --------------------------------------------
      # 04/05/03      joreland@mysql.com      1.1862.1.11
      # Fixes for angel-restarting
      # --------------------------------------------
      # 04/05/03      joreland@mysql.com      1.1891
      # Merge mysql.com:/home/jonas/src/mysql-4.1-ndb-3.4.x
      # into mysql.com:/home/jonas/src/mysql-4.1-ndb
      # --------------------------------------------
      #
      
      
      ndb/config/Defs.LINUX.x86.GCC.mk:
        Merge ndb fixes
      ndb/examples/ndbapi_async_example/Makefile:
        Merge ndb fixes
      ndb/examples/ndbapi_async_example/ndbapi_async.cpp:
        Merge ndb fixes
      ndb/examples/ndbapi_scan_example/Makefile:
        Merge ndb fixes
      ndb/include/debugger/SignalLoggerManager.hpp:
        Merge ndb fixes
      ndb/include/kernel/signaldata/ScanFrag.hpp:
        Merge ndb fixes
      ndb/include/ndb_version.h:
        Merge ndb fixes
      ndb/include/ndbapi/NdbScanOperation.hpp:
        Merge ndb fixes
      ndb/include/util/SocketServer.hpp:
        Merge ndb fixes
      ndb/src/common/debugger/SignalLoggerManager.cpp:
        Merge ndb fixes
      ndb/src/common/logger/ConsoleLogHandler.cpp:
        Merge ndb fixes
      ndb/src/common/portlib/unix/NdbMem.c:
        Merge ndb fixes
      ndb/src/common/util/Makefile:
        Merge ndb fixes
      ndb/src/common/util/version.c:
        Merge ndb fixes
      ndb/src/cw/cpcd/Process.cpp:
        Merge ndb fixes
      ndb/src/kernel/blocks/ERROR_codes.txt:
        Merge ndb fixes
      ndb/src/kernel/blocks/backup/restore/Restore.cpp:
        Merge ndb fixes
      ndb/src/kernel/blocks/backup/restore/Restore.hpp:
        Merge ndb fixes
      ndb/src/kernel/blocks/backup/restore/main.cpp:
        Merge ndb fixes
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Merge ndb fixes
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Merge ndb fixes
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Merge ndb fixes
      ndb/src/kernel/blocks/dblqh/DblqhInit.cpp:
        Merge ndb fixes
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Merge ndb fixes
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Merge ndb fixes
      ndb/src/kernel/blocks/dbtc/DbtcInit.cpp:
        Merge ndb fixes
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Merge ndb fixes
      ndb/src/kernel/blocks/dbutil/DbUtil.cpp:
        Merge ndb fixes
      ndb/src/kernel/blocks/dbutil/DbUtil.hpp:
        Merge ndb fixes
      ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        Merge ndb fixes
      ndb/src/kernel/blocks/ndbfs/Filename.cpp:
        Merge ndb fixes
      ndb/src/kernel/blocks/suma/Suma.cpp:
        Merge ndb fixes
      ndb/src/kernel/error/Error.hpp:
        Merge ndb fixes
      ndb/src/kernel/ndb-main/Main.cpp:
        Merge ndb fixes
      ndb/src/kernel/vm/Configuration.cpp:
        Merge ndb fixes
      ndb/src/kernel/vm/Configuration.hpp:
        Merge ndb fixes
      ndb/src/kernel/vm/DLFifoList.hpp:
        Merge ndb fixes
      ndb/src/kernel/vm/Emulator.cpp:
        Merge ndb fixes
      ndb/src/kernel/vm/SignalCounter.hpp:
        Merge ndb fixes
      ndb/src/kernel/vm/SimulatedBlock.cpp:
        Merge ndb fixes
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Merge ndb fixes
      ndb/src/mgmsrv/NodeLogLevel.cpp:
        Merge ndb fixes
      ndb/src/ndbapi/ClusterMgr.cpp:
        Merge ndb fixes
      ndb/src/ndbapi/Ndberror.cpp:
        Merge ndb fixes
      ndb/src/rep/rep_version.hpp:
        Merge ndb fixes
      ndb/test/ndbapi/testDict/testDict.cpp:
        Merge ndb fixes
      ndb/test/ndbapi/testIndex/testIndex.cpp:
        Merge ndb fixes
      ndb/test/ndbapi/testMgm/testMgm.cpp:
        Merge ndb fixes
      ndb/test/ndbapi/testScan/testScan.cpp:
        Merge ndb fixes
      ndb/test/src/HugoTransactions.cpp:
        Merge ndb fixes
      ndb/test/src/NDBT_Tables.cpp:
        Merge ndb fixes
      ndb/test/src/NDBT_Test.cpp:
        Merge ndb fixes
      ndb/test/src/UtilTransactions.cpp:
        Merge ndb fixes
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      5f02d41c
  27. 14 Apr, 2004 1 commit