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
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)
into mysql.com:/home/jonas/src/mysql-4.1-ndb
ndb/include/ndbapi/NdbOperation.hpp:
Auto merged
ndb/include/ndbapi/NdbScanOperation.hpp:
Auto merged
ndb/src/ndbapi/NdbOperationDefine.cpp:
Auto merged
- 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
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
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
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
into mysql.com:/home/jonas/src/wl1873
ndb/include/ndbapi/NdbScanOperation.hpp:
Auto merged
ndb/src/ndbapi/NdbResultSet.cpp:
Auto merged
ndb/src/ndbapi/NdbScanOperation.cpp:
Auto merged
ndb/test/ndbapi/testScan.cpp:
Auto merged
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
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
ndb/include/kernel/signaldata/DictTabInfo.hpp:
Auto merged
ndb/include/ndbapi/NdbApi.hpp:
Auto merged
ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
Auto merged
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
Auto merged
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
Auto merged
ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
Auto merged
ndb/src/ndbapi/Makefile.am:
Auto merged
ndb/src/ndbapi/Ndb.cpp:
Auto merged
ndb/src/ndbapi/NdbConnection.cpp:
Auto merged
ndb/src/ndbapi/NdbDictionaryImpl.hpp:
Auto merged
ndb/src/ndbapi/NdbIndexOperation.cpp:
Auto merged
ndb/src/ndbapi/Ndbinit.cpp:
Auto merged
ndb/src/ndbapi/Ndblist.cpp:
Auto merged
ndb/test/ndbapi/Makefile.am:
Auto merged
ndb/test/ndbapi/Makefile_old:
Auto merged
ndb/test/ndbapi/testOIBasic.cpp:
Auto merged
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