ndb/include/kernel/ndb_limits.h:
Auto merged
ndb/src/ndbapi/NdbDictionaryImpl.cpp:
Auto merged
sql/ha_ndbcluster.cc:
Auto merged
mysys/thr_alarm.c:
Manual merge
- Fix valgrind warnings
- Remove static db, schema and table name buffers from Ndb.cpp
mysys/thr_alarm.c:
Initialise sact to zero
ndb/include/kernel/ndb_limits.h:
Set MAX_ATTR_NAME_SIZE to NAME_LEN which is tha maximum in MySQL
ndb/include/kernel/signaldata/GetTabInfo.hpp:
Clean up
ndb/include/ndbapi/Ndb.hpp:
Remove NDB_MAX_INTERNAL_NAME_LENGTH and all char buffers for schema, db and tablename.
Made them dynamic and moved to NdbImpl.hpp
ndb/include/ndbapi/ndbapi_limits.h:
Remove the static length's of attr, db, schema and table name.
ndb/src/common/transporter/Packer.cpp:
Set theSignalId to ~0 when unpacking signal
ndb/src/ndbapi/Ndb.cpp:
Moved schema, database and tablename to NdbImpl.hpp
ndb/src/ndbapi/NdbDictionaryImpl.cpp:
Add NdbIndexImpl::init and NdbEventImpl::init
Init all vars in NdbIndexImpl, NdbEventImpl, NdbTableImpl and NdbIndexImpl
Delete the pseudo column NDB$RANGE_NO
Copy tablename to internal buff in NdbDictInterface to get proper alignment.
Convert length of table name from bytes words, when setting sz of LinearSectionPtr
Set LinearSectionPtr array size to number of LinearSections used - save some stack.
ndb/src/ndbapi/NdbDictionaryImpl.hpp:
Add NdbEventImpl::init and NdbIndexImpl::init
Remove clearNewProperties and copyNewProperties, it's easier to check if all vars are initied if it's done in the same func.
Add buffer for tabname ti NdbDictInterface, memset it to 0 in initializer.
ndb/src/ndbapi/NdbImpl.hpp:
Use BaseString for table, schema and db names.
ndb/src/ndbapi/Ndbinit.cpp:
Move schema and db name to NdbImpl and use BaseString
ndb/src/ndbapi/ndb_cluster_connection.cpp:
Destroy ndb_global_event_buffer_mutex and ndb_print_state_mutex
sql/ha_ndbcluster.cc:
Check if pTrans is not null before calling closeTransaction
Remove NDB_MAX_ATTR_NAME_SIZE
Remove truncation of attr names. When attr name length is same in NDB as in MySQL this will be checked in functin check_column_name
mysql-test/Makefile.am:
divide schemafile in blocks to allow unlimited # objects
ndb/include/debugger/SignalLoggerManager.hpp:
divide schemafile in blocks to allow unlimited # objects
ndb/include/kernel/ndb_limits.h:
divide schemafile in blocks to allow unlimited # objects
ndb/src/common/debugger/SignalLoggerManager.cpp:
divide schemafile in blocks to allow unlimited # objects
ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
divide schemafile in blocks to allow unlimited # objects
ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
divide schemafile in blocks to allow unlimited # objects
ndb/src/kernel/blocks/dbdict/SchemaFile.hpp:
divide schemafile in blocks to allow unlimited # objects
ndb/src/kernel/blocks/dbdict/printSchemaFile.cpp:
divide schemafile in blocks to allow unlimited # objects
ndb/src/ndbapi/NdbDictionaryImpl.cpp:
divide schemafile in blocks to allow unlimited # objects
ndb/test/ndbapi/testDict.cpp:
divide schemafile in blocks to allow unlimited # objects
1) Fix startTransaction with hint
2) Ship fragment data to API to make better guess
3) Expose both primary & backup replicas
To (in the future) be even more clever on choosing nodes for
transactions/operations
ndb/include/kernel/ndb_limits.h:
Set maxsize of array with fragment data
ndb/include/kernel/signaldata/DictTabInfo.hpp:
Send fragment data to API
ndb/src/common/debugger/signaldata/DictTabInfo.cpp:
Send fragment data to API
ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
Send fragment data to API
ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
Send fragment data to API
ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
Use Uint16 for fragment info
Fix uninit variable
ndb/src/ndbapi/Ndb.cpp:
Impl. startTransaction with hint
ndb/src/ndbapi/NdbDictionaryImpl.cpp:
Add interface for retreiving replica nodes given a hash-value
ndb/src/ndbapi/NdbDictionaryImpl.hpp:
Add interface for retreiving replica nodes given a hash-value
ndb/src/ndbapi/ndb_cluster_connection.cpp:
remove Fragment2NodeMap and put it on table instead
ndb/src/ndbapi/ndb_cluster_connection_impl.hpp:
remove Fragment2NodeMap and put it on table instead
ndb/test/ndbapi/testNdbApi.cpp:
Test some more
ndb/include/kernel/AttributeDescriptor.hpp:
removed unused
ndb/include/kernel/ndb_limits.h:
removed unused
ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
Differentiate between nullable columns and null fields
TUP wants sum all other want #null cols
ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
Differentiate between nullable columns and null fields
TUP wants sum all other want #null cols
ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
Handle distribution key and collation in same subroutine
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
Handle distribution key and collation in same subroutine
ndb/src/kernel/vm/VMSignal.hpp:
Increase size of signal->theData to 32k
ndb/test/ndbapi/testPartitioning.cpp:
better usage
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
ndb/include/kernel/ndb_limits.h:
#define for max null bits
ndb/include/kernel/signaldata/TupFrag.hpp:
Error code for too many nullbits
ndb/include/util/Bitmask.hpp:
Cosmetic fix
ndb/src/common/util/Bitmask.cpp:
handle (pos % 32) == 0
more unit tests
ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp:
Check bitmask overflow
ndb/src/ndbapi/ndberror.c:
New error code
ndb/test/ndbapi/testBitfield.cpp:
Update test program
ndb/test/run-test/daily-basic-tests.txt:
Add testBitfield to autotest
new define for long signal section size
bumbed up limit for attributes to 128
use new define in SectionSegment
some bug fixing of send fragmented signal +
make chunk size a multiple the dew define for SectionSegment size
mysql-test/r/ndb_basic.result:
added test for max limit of 128 attributes in table
mysql-test/t/ndb_basic.test:
added test for max limit of 128 attributes in table
ndb/include/kernel/ndb_limits.h:
new define for long signal section size
ndb/include/ndbapi/ndbapi_limits.h:
bumbed up limit for attributes to 128
ndb/src/kernel/vm/LongSignal.hpp:
use new define in SectionSegment
ndb/src/ndbapi/TransporterFacade.cpp:
some bug fixing of send fragmented signal +
make chunk size a multiple the dew define for SectionSegment size
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
Everything is working but a few things is still remaining
ndb/include/kernel/ndb_limits.h:
New maximum batch size and total batch size over cluster
ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
Only two options
1) One fragment per node
2) One fragment in total
ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
First step preparing for a dynamic array for scan_acc_op_ptr.
Prepared by hiding all accesses by subroutines.
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
First step preparing for a dynamic array for scan_acc_op_ptr.
Prepared by hiding all accesses by subroutines.
Removed some dead code
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