An error occurred fetching the project authors.
  1. 14 Apr, 2005 1 commit
    • unknown's avatar
      BUG#9891 - ndb lcp · 5a1af9ed
      unknown authored
      Crash if ACC_CONTOPREQ was sent while ACC_LCPCONF was in job buffer
        if ACC_LCPCONF would have arrived eariler (before TUP_LCPSTARTED)
        operations could lockup. 
        But would be restarted on next LCP
      
      -- LQH
      1) Better check for LCP started that will also return true
         if ACC or TUP already has completed
          
      2) Remove incorrect if statement that prevented operations to
         be started if ACC has completed
      
      -- ACC
      Make sure all ACC_CONTOPCONF are sent before releasing lcp record
        i.e. use noOfLcpConf == 4 (2 ACC_LCPCONF + 2 ACC_CONTOPCONF)
      
      Check for == 4 also when sending ACC_CONTOPCONF
      
      
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        Make sure all ACC_CONTOPCONF are sent before releasing lcp record
          i.e. use noOfLcpConf == 4 (2 ACC_LCPCONF + 2 ACC_CONTOPCONF)
        
        Check for == 4 also when sending ACC_CONTOPCONF
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Remove LCP_STARTED state
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        1) Better check for LCP started that will also return true
           if ACC or TUP already has completed
        
        2) Remove incorrect if statement that prevented operations to
           be started if ACC has completed
      5a1af9ed
  2. 06 Feb, 2005 1 commit
    • unknown's avatar
      bug8262 - ndb · 37b4b89e
      unknown authored
        crash if scan is poped from queue before all attrinfo has arrived
      
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        only restart scan if all attrinfo has arrived
        otherwise just set remove from queue and set state
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        new error insert - force send attrinfo
      ndb/test/ndbapi/testScan.cpp:
        new test bug8262 many threads - scanning small tables
      ndb/test/run-test/daily-basic-tests.txt:
        run new test case in autotest
      37b4b89e
  3. 11 Jan, 2005 1 commit
  4. 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
  5. 12 Dec, 2004 1 commit
    • unknown's avatar
      ndb: wl-1732 support all charsets · a7fe1c39
      unknown authored
      ndb/include/kernel/AttributeDescriptor.hpp:
        wl-1732 support all charsets
      ndb/include/kernel/ndb_limits.h:
        wl-1732 support all charsets
      ndb/include/kernel/signaldata/TuxBound.hpp:
        wl-1732 support all charsets
      ndb/include/util/NdbSqlUtil.hpp:
        wl-1732 support all charsets
      ndb/src/common/util/NdbSqlUtil.cpp:
        wl-1732 support all charsets
      ndb/src/kernel/blocks/dbacc/Dbacc.hpp:
        wl-1732 support all charsets
      ndb/src/kernel/blocks/dbacc/DbaccInit.cpp:
        wl-1732 support all charsets
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        wl-1732 support all charsets
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        wl-1732 support all charsets
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        wl-1732 support all charsets
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        wl-1732 support all charsets
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        wl-1732 support all charsets
      ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        wl-1732 support all charsets
      ndb/src/kernel/blocks/dbtup/DbtupIndex.cpp:
        wl-1732 support all charsets
      ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp:
        wl-1732 support all charsets
      ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp:
        wl-1732 support all charsets
      ndb/src/kernel/blocks/dbtup/DbtupTrigger.cpp:
        wl-1732 support all charsets
      ndb/src/kernel/blocks/dbtux/DbtuxCmp.cpp:
        wl-1732 support all charsets
      ndb/src/kernel/blocks/dbtux/DbtuxDebug.cpp:
        wl-1732 support all charsets
      ndb/src/kernel/blocks/dbtux/DbtuxGen.cpp:
        wl-1732 support all charsets
      ndb/src/kernel/blocks/dbtux/DbtuxMaint.cpp:
        wl-1732 support all charsets
      ndb/src/kernel/blocks/dbtux/DbtuxMeta.cpp:
        wl-1732 support all charsets
      ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp:
        wl-1732 support all charsets
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        wl-1732 support all charsets
      ndb/src/ndbapi/NdbOperationDefine.cpp:
        wl-1732 support all charsets
      ndb/src/ndbapi/NdbOperationSearch.cpp:
        wl-1732 support all charsets
      ndb/src/ndbapi/NdbScanOperation.cpp:
        wl-1732 support all charsets
      ndb/src/ndbapi/ndberror.c:
        wl-1732 support all charsets
      ndb/test/ndbapi/Makefile.am:
        wl-1732 support all charsets
      ndb/test/ndbapi/testOIBasic.cpp:
        wl-1732 support all charsets
      ndb/tools/desc.cpp:
        wl-1732 support all charsets
      a7fe1c39
  6. 07 Dec, 2004 1 commit
    • unknown's avatar
      wl2126 - ndb - bug fixes · 34b97fc3
      unknown authored
      ndb/include/Makefile.am:
        remove result set
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Fix so that noOfFiredTriggers aren't overwritten during scans
      sql/ha_ndbcluster.cc:
        1) Fix bugs in completed read_multi_range
        2) Change buffer handling so range scan are always put last in buffer
           This to support restart of scan
      sql/ha_ndbcluster.h:
        1) Fix bugs in completed read_multi_range
        2) Change buffer handling so range scan are always put last in buffer
           This to support restart of scan
      34b97fc3
  7. 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
  8. 03 Dec, 2004 1 commit
  9. 26 Nov, 2004 1 commit
    • unknown's avatar
      wl2126 - ndb - batching of range scans · a6b14b8d
      unknown authored
        between 80% and 360% performance improvement measured
      
      
      ndb/docs/wl2077.txt:
        Update figures after batching of range scans and pekka's blob fixes
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Don't close scan if other ranges exists
      a6b14b8d
  10. 25 Nov, 2004 2 commits
  11. 24 Nov, 2004 3 commits
    • unknown's avatar
      bug#6775 - ndb · 98de7e01
      unknown authored
      Queue scan on real fragment.
        Index fragment for range scans
        Table fragment for table scans
      
      
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Document meaning of fragPtrI and how it differs
          from scanTcRec->fragmentptr
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Queue scan on real fragment.
          Index fragment for range scans
          Table fragment for table scans
      ndb/src/ndbapi/NdbConnection.cpp:
        Check tOp before assigning
      98de7e01
    • unknown's avatar
      ndb - Add testcase to autotest · e26a5dbc
      unknown authored
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        print on state on rare crash
      ndb/test/run-test/daily-basic-tests.txt:
        more test cases
      e26a5dbc
    • unknown's avatar
      ndb - debug printout · 343b645b
      unknown authored
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        print state on rare crash
      343b645b
  12. 23 Nov, 2004 1 commit
    • unknown's avatar
      wl2126 - ndb - add support for batching range scans · 46075704
      unknown authored
      1) removed acc keyinfo
      2) introduce handling of multiple bounds
      
      
      ndb/include/kernel/signaldata/AccScan.hpp:
        Removed keyinfo from AccScan
      ndb/include/kernel/signaldata/TuxBound.hpp:
        Add data word
      ndb/include/ndbapi/NdbIndexScanOperation.hpp:
        Added new_bound call, which is used when batching range scans
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        removed keyinfo from acc scan
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        removed scan keyinfo
      ndb/src/kernel/blocks/dblqh/DblqhInit.cpp:
        removed scan keyinfo
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        1) removed add scan,
           let LQH read keyinfo from tup instead
        2) introduce copy_bounds which handles multiple bounds
      ndb/src/kernel/blocks/dbtux/Dbtux.hpp:
        removed scan keyinfo
      ndb/src/kernel/blocks/dbtux/DbtuxDebug.cpp:
        removed scan keyinfo
      ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp:
        removed scan keyinfo
      ndb/src/ndbapi/NdbScanOperation.cpp:
        handle multiple bounds
      46075704
  13. 18 Nov, 2004 1 commit
  14. 15 Nov, 2004 1 commit
    • unknown's avatar
      wl2240 - ndb partitioning · dc745d74
      unknown authored
      - new test program
      - changed scan take over protocol
      - fixed some bugs
       
      
      
      ndb/include/kernel/signaldata/TcKeyReq.hpp:
        Changed scan takeover to instead
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        return fargment instead of node (as info for scan take-over)
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        remove unused scanNode
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Ship fragment instead of node in scan take over.
        The case where fragment has changed primary will still be handled
          as fragmentdistribution has changed then
      ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp:
        Send fragment wo/ extra bit
      ndb/src/ndbapi/NdbOperationSearch.cpp:
        Fix distribution key length
      ndb/test/ndbapi/Makefile.am:
        new test program for partitioning
      dc745d74
  15. 13 Nov, 2004 1 commit
    • unknown's avatar
      ndb: fix bug-4644 Err Out of fragment operations · 7a7ee30c
      unknown authored
      sql/ha_ndbcluster.cc:
        compile fix in DBUG code
      ndb/src/kernel/blocks/dbtux/DbtuxGen.cpp:
        fix count of metadata pages
      ndb/include/kernel/signaldata/TupFrag.hpp:
        bug-4644 fix
      ndb/src/kernel/blocks/ERROR_codes.txt:
        bug-4644 fix
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        bug-4644 fix
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        bug-4644 fix
      ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        bug-4644 fix
      ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp:
        bug-4644 fix
      ndb/src/kernel/blocks/dbtux/Dbtux.hpp:
        bug-4644 fix
      ndb/src/kernel/blocks/dbtux/DbtuxDebug.cpp:
        bug-4644 fix
      ndb/src/kernel/blocks/dbtux/DbtuxMeta.cpp:
        bug-4644 fix
      ndb/test/ndbapi/testDict.cpp:
        bug-4644 fix
      7a7ee30c
  16. 04 Nov, 2004 1 commit
    • unknown's avatar
      NDB bug #6426 fix · 9afd24f0
      unknown authored
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        bug #6426 fix
      9afd24f0
  17. 31 Oct, 2004 2 commits
    • unknown's avatar
      wl1540, 1802 · 397a2a17
      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
      397a2a17
    • unknown's avatar
      Moved "hash" bit from k+fragbit to 0 · bc26963a
      unknown authored
      bc26963a
  18. 21 Oct, 2004 1 commit
  19. 15 Oct, 2004 1 commit
    • unknown's avatar
      autotest failures · 11e5f207
      unknown authored
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Fix scan out of keyinfo buffers
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Fix scan out of keyinfo buffers
      ndb/src/ndbapi/NdbOperationExec.cpp:
        Handle TCKEYREF connect wrt dirty/simple read
      ndb/src/ndbapi/NdbScanOperation.cpp:
        Set error code
      ndb/test/src/UtilTransactions.cpp:
        Handle temporary errors
      11e5f207
  20. 08 Oct, 2004 3 commits
    • unknown's avatar
      wl 1801 · 2e201e1e
      unknown authored
       Testcases for NF
      
      
      ndb/src/kernel/blocks/ERROR_codes.txt:
        Error insert for testing NF handling of committed read
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Error insert for testing NF handling of committed read
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Error insert for testing NF handling of committed read
      ndb/test/include/NDBT_Test.hpp:
        Move sync methods into NDBT_Context
      ndb/test/ndbapi/testIndex.cpp:
        Move sync methods into NDBT_Context
      ndb/test/ndbapi/testNodeRestart.cpp:
        Add test case that verifies committed read during NF
      ndb/test/src/NDBT_Test.cpp:
        Move sync methods into NDBT_Context
      2e201e1e
    • unknown's avatar
      NDB wl-2151 Fix bounds setting table handler vs TUX · 88987f1d
      unknown authored
      mysql-test/ndb/ndb_range_bounds.pl:
        wl-2151 Fix bounds setting table handler vs TUX
      ndb/include/kernel/signaldata/TuxBound.hpp:
        wl-2151 Fix bounds setting table handler vs TUX
      ndb/include/ndbapi/NdbIndexScanOperation.hpp:
        wl-2151 Fix bounds setting table handler vs TUX
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        wl-2151 Fix bounds setting table handler vs TUX
      ndb/src/kernel/blocks/dbtux/DbtuxCmp.cpp:
        wl-2151 Fix bounds setting table handler vs TUX
      ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp:
        wl-2151 Fix bounds setting table handler vs TUX
      ndb/test/ndbapi/testOIBasic.cpp:
        wl-2151 Fix bounds setting table handler vs TUX
      sql/ha_ndbcluster.cc:
        wl-2151 Fix bounds setting table handler vs TUX
      sql/ha_ndbcluster.h:
        wl-2151 Fix bounds setting table handler vs TUX
      88987f1d
    • 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
  21. 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
  22. 17 Sep, 2004 1 commit
    • unknown's avatar
      ndb charsets (wl-1732) final part: use strxfrm + strcoll · 72fedd94
      unknown authored
      ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp:
        oops
      ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp:
        jamEntry
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        jamEntry
      mysql-test/r/ndb_index.result:
        ndb charsets: minimal fix to make test pass
      mysql-test/t/ndb_index.test:
        ndb charsets: minimal fix to make test pass
      72fedd94
  23. 16 Sep, 2004 1 commit
  24. 07 Sep, 2004 1 commit
    • unknown's avatar
      Fix scan with keyinfo · 6d26e972
      unknown authored
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Dont't use signal->theData for checking as it is overwritten when
        using keyinfo
      6d26e972
  25. 29 Aug, 2004 1 commit
    • unknown's avatar
      wl2025 - bug fixes · 5fac485a
      unknown authored
      1) Release _all_ attr bufs
      2) Handle out of attr bufs
      
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Release _all_ attr bufs
        Handle out of attr bufs
      5fac485a
  26. 27 Aug, 2004 1 commit
    • unknown's avatar
      Added 3 psuedo columns · fa5d6ac3
      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
      fa5d6ac3
  27. 24 Aug, 2004 1 commit
    • unknown's avatar
      Implemented general purpose psuedo columns: row_count & fragment · d2c8f1a7
      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
      d2c8f1a7
  28. 23 Aug, 2004 1 commit
    • unknown's avatar
      wl2025 - bug fix for filter fail (tupkeyref) · 2a5073a0
      unknown authored
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        Remove list checking on Dbacc:releaseOpRec
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Decrease scan_acc_index when receiving TUPKEYREF
      2a5073a0
  29. 21 Aug, 2004 2 commits
    • unknown's avatar
      Minor bug fix · 4e1a1814
      unknown authored
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Bug fix
      4e1a1814
    • unknown's avatar
      New config parameters for Log Page Buffers · b85e699e
      unknown authored
      Fixing issue with NO_OF_FRAG_PER_NODE
      Also removed some OSE code no longer needed when configurable log pages 
      
      
      ndb/include/kernel/signaldata/FsCloseReq.hpp:
        Removing annoying compiler warning
      ndb/include/mgmapi/mgmapi_config_parameters.h:
        New config parameters for Log Page Buffers
      ndb/src/common/mgmcommon/ConfigInfo.cpp:
        New config parameters for Log Page Buffers
      ndb/src/kernel/blocks/dbacc/Dbacc.hpp:
        New config parameters for Log Page Buffers
        Fixing issue with NO_OF_FRAG_PER_NODE
      ndb/src/kernel/blocks/dbacc/DbaccInit.cpp:
        New config parameters for Log Page Buffers
        Fixing issue with NO_OF_FRAG_PER_NODE
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        New config parameters for Log Page Buffers
        Fixing issue with NO_OF_FRAG_PER_NODE
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        New config parameters for Log Page Buffers
        Fixing issue with NO_OF_FRAG_PER_NODE
      ndb/src/kernel/blocks/dblqh/DblqhInit.cpp:
        New config parameters for Log Page Buffers
        Fixing issue with NO_OF_FRAG_PER_NODE
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        New config parameters for Log Page Buffers
        Fixing issue with NO_OF_FRAG_PER_NODE
      ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
        New config parameters for Log Page Buffers
        Fixing issue with NO_OF_FRAG_PER_NODE
      ndb/src/kernel/blocks/dbtup/DbtupGen.cpp:
        New config parameters for Log Page Buffers
        Fixing issue with NO_OF_FRAG_PER_NODE
      ndb/src/kernel/blocks/dbtup/DbtupIndex.cpp:
        New config parameters for Log Page Buffers
        Fixing issue with NO_OF_FRAG_PER_NODE
      ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp:
        New config parameters for Log Page Buffers
        Fixing issue with NO_OF_FRAG_PER_NODE
      ndb/src/kernel/vm/pc.hpp:
        New config parameters for Log Page Buffers
        Fixing issue with NO_OF_FRAG_PER_NODE
      b85e699e
  30. 19 Aug, 2004 1 commit
    • unknown's avatar
      wl2025 - fix suma & backup · 68da9ff3
      unknown authored
      pluse remove "first_batch_size" and instead put
      batch_size on next_scan_req
      
      
      ndb/include/kernel/signaldata/ScanFrag.hpp:
        Rename
        * concurrency -> batch_size_bytes
        * batch_byte_size -> batch_size_bytes
        
        Removed first_batch_size and
        added size parameters to SCAN_NEXTREQ
      ndb/src/kernel/blocks/backup/Backup.cpp:
        Adopt to SCAN_FRAG_CHANGES
      ndb/src/kernel/blocks/backup/Backup.hpp:
        Adopt to SCAN_FRAG_CHANGES
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Renamed
        scanCompletedOperations -> m_curr_batch_size_rows
        scanConcurrentOperations -> m_max_batch_size_rows
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Renamed
        scanCompletedOperations -> m_curr_batch_size_rows
        scanConcurrentOperations -> m_max_batch_size_rows
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Adopt to SCAN_FRAG_CHANGES
      ndb/src/kernel/blocks/suma/Suma.cpp:
        Adopt to SCAN_FRAG_CHANGES
      68da9ff3
  31. 18 Aug, 2004 1 commit
  32. 17 Aug, 2004 2 commits
    • unknown's avatar
      Fix bugs + include check of batch_byte_size and · f03022b2
      unknown authored
      use of first_batch_size
      
      
      ndb/include/kernel/ndb_limits.h:
        New maximum size
      ndb/include/kernel/signaldata/ScanFrag.hpp:
        New error code
      ndb/include/kernel/signaldata/ScanTab.hpp:
        Need to go to Uint16 when batch size > 255
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        Uint8 => Uint16 when batch_size > 255
        New and changed methods for acc ptr's and
        checking end of scan batch (incl. check of batch_byte_size
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Uint8 => Uint16 when batch_size > 255
        New and changed methods for acc ptr's and
        checking end of scan batch (incl. check of batch_byte_size
      f03022b2
    • unknown's avatar
      Two level data access of operation i-value insted of huge fixed · 6a908c43
      unknown authored
      size array.
      Added a number of subroutines for this
      
      
      6a908c43