new methods to keep "records" up to date
unset flag HA_NOT_EXACT_COUNT to make handler read "records" field, for count() optim and join optimization
new methods to keep "records" up to datecorrect record field in ndbcluster handler
new method for ndbcluster handler to store/retrieve table and thread specific data
changed local hash to store new table_info object, with placeholders for local data, instead of TableImpl
hanged deleteKey to return ponter to deleted object
moved heavy global cache fetch from inline to separate method
mysql-test/r/ndb_alter_table.result:
correct record field in ndbcluster handler
mysql-test/r/ndb_blob.result:
correct record field in ndbcluster handler
ndb/include/ndbapi/NdbDictionary.hpp:
new method for ndbcluster handler to store/retrieve table and thread specific data
ndb/src/ndbapi/DictCache.cpp:
changed local hash to store new table_info object, with placeholders for local data, instead of TableImpl
ndb/src/ndbapi/DictCache.hpp:
changed local hash to store new table_info object, with placeholders for local data, instead of TableImpl
ndb/src/ndbapi/Ndb.cpp:
replaced method DictionaryImpl::getTable with DictionaryImpl::get_local_table_info
ndb/src/ndbapi/NdbDictionary.cpp:
new method for ndbcluster handler to store/retrieve table and thread specific data
ndb/src/ndbapi/NdbDictionaryImpl.cpp:
changed local hash to store new table_info object, with placeholders for local data, instead of TableImpl
moved heavy global cache fetch from inline to separate method
ndb/src/ndbapi/NdbDictionaryImpl.hpp:
replaced method DictionaryImpl::getTable with DictionaryImpl::get_local_table_info
ndb/src/ndbapi/NdbLinHash.hpp:
changed deleteKey to return ponter to deleted object
sql/ha_ndbcluster.cc:
moved all ndb thread specific data into new placeholder
new methods to keep "records" up to date
unset flag HA_NOT_EXACT_COUNT to make handler read "records" field, for count() optim and join optimization
sql/ha_ndbcluster.h:
new methods to keep "records" up to date
sql/sql_class.h:
moved all ndb thread specific data into new placeholder
into build.mysql.com:/users/tulin/mysql-4.1-ndb-merge
ndb/include/mgmapi/mgmapi.h:
Auto merged
ndb/src/mgmapi/mgmapi.cpp:
Auto merged
ndb/src/mgmsrv/MgmtSrvr.cpp:
Auto merged
ndb/src/mgmsrv/MgmtSrvr.hpp:
Auto merged
ndb/src/mgmsrv/Services.cpp:
Auto merged
fixed some mutex locks for Ndb objects
moved TranspoterFacade::stop_instance to cluster connection
moved Socket Server::start_server outside the TransporterFacade::start_instance thread
ndb/include/mgmapi/mgmapi.h:
improved show command
ndb/src/mgmapi/mgmapi.cpp:
improved show command
ndb/src/mgmclient/CommandInterpreter.cpp:
improved show command
ndb/src/mgmsrv/MgmtSrvr.cpp:
improved show command
ndb/src/mgmsrv/MgmtSrvr.hpp:
improved show command
ndb/src/mgmsrv/Services.cpp:
improved show command
ndb/src/ndbapi/Ndbinit.cpp:
fixed some mutex locks for Ndb objects
moved TranspoterFacade::stop_instance to cluster connection
ndb/src/ndbapi/TransporterFacade.cpp:
movet Socket Server::start_server outside the TransporterFacade::start_instance thread
ndb/src/ndbapi/TransporterFacade.hpp:
movet Socket Server::start_server outside the TransporterFacade::start_instance thread
ndb/src/ndbapi/ndb_cluster_connection.cpp:
movet Socket Server::start_server outside the TransporterFacade::start_instance thread
ndb/include/mgmapi/mgmapi.h:
Auto merged
ndb/src/common/mgmcommon/NdbConfig.c:
Auto merged
ndb/src/mgmapi/mgmapi.cpp:
Auto merged
ndb/src/mgmsrv/MgmtSrvr.hpp:
Auto merged
ndb/src/mgmsrv/Services.cpp:
Auto merged
ndb/src/mgmsrv/main.cpp:
Auto merged
added sanity checks for config file
changed so that ndb_0 is replaced by ndb_pid#### in ndb files
added error_string for to some functions, alloc_node_id(), start()
added better error printout for failed alloc node id
better error printouts for failures when starting ndb_mgmd
ndb/include/mgmapi/mgmapi.h:
added method to retrieve mysqld, ndbd, and ndb_mgmd aliases for API,MGM and DB
ndb/src/common/mgmcommon/ConfigInfo.cpp:
added sanity checks for config file
ndb/src/common/mgmcommon/NdbConfig.c:
changed so that ndb_0 is replaced by ndb_pid#### in ndb files
ndb/src/kernel/error/ErrorReporter.cpp:
removed usage of tracefile early in startup (when it's normally filled with zeroes)
ndb/src/mgmapi/mgmapi.cpp:
added method to retrieve mysqld, ndbd, and ndb_mgmd aliases for API,MGM and DB
ndb/src/mgmsrv/MgmtSrvr.cpp:
added error_string for to some functions, alloc_node_id(), start()
ndb/src/mgmsrv/MgmtSrvr.hpp:
added error_string for to some functions, alloc_node_id(), start()
ndb/src/mgmsrv/Services.cpp:
added better error printout for failed alloc node id
ndb/src/mgmsrv/main.cpp:
better error printouts for failures when starting ndb_mgmd
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
ndb/src/ndbapi/NdbDictionaryImpl.hpp:
Auto merged
ndb/src/ndbapi/NdbReceiver.cpp:
Auto merged
ndb/src/ndbapi/TransporterFacade.cpp:
Auto merged
ndb/src/ndbapi/TransporterFacade.hpp:
Auto merged
ndb/src/ndbapi/NdbDictionaryImpl.cpp:
SCCS merged
some other small fixes
ndb/include/mgmcommon/ConfigRetriever.hpp:
added options to do_connect to contol how connects failures should be treated
ndb/include/mgmcommon/NdbConfig.h:
method to retrieve datadir path (to user for chdir)
ndb/include/ndbapi/ndb_cluster_connection.hpp:
Added connect thread
ndb/src/common/mgmcommon/ConfigRetriever.cpp:
added options to do_connect to contol how connects failures should be treated
ndb/src/common/mgmcommon/NdbConfig.c:
method to retrieve datadir path (to user for chdir)
ndb/src/kernel/main.cpp:
ndbd to do chdir
ndb/src/kernel/vm/WatchDog.cpp:
added my_thread_init for debug
ndb/src/ndbapi/ClusterMgr.cpp:
added my_thread_init for debug
ndb/src/ndbapi/TransporterFacade.cpp:
removed call to atexit
ndb/src/ndbapi/ndb_cluster_connection.cpp:
added connect thread
into mysql.com:/space/pekka/ndb/version/my41-tux
ndb/src/kernel/blocks/dbtux/DbtuxMeta.cpp:
Auto merged
ndb/src/ndbapi/NdbScanOperation.cpp:
Auto merged
BitKeeper/etc/logging_ok:
auto-union
ndb/include/mgmapi/mgmapi_config_parameters.h:
Auto merged
ndb/src/kernel/vm/Configuration.cpp:
Auto merged
ndb/src/mgmsrv/ConfigInfo.cpp:
Auto merged
ndb/src/ndbapi/NdbDictionaryImpl.cpp:
Auto merged
ndb/src/ndbapi/NdbScanOperation.cpp:
Auto merged
ndb/src/ndbapi/TransporterFacade.hpp:
Auto merged
into mysql.com:/home/jonas/src/mysql-4.1-ndb
BitKeeper/etc/logging_ok:
auto-union
ndb/include/ndb_global.h:
Auto merged
ndb/src/common/mgmcommon/NdbConfig.c:
Auto merged
mysql-test/ndb/ndb_config_2_node.ini:
added new config parameter datadir
ndb/include/mgmapi/mgmapi_config_parameters.h:
added new config parameter datadir and backup data dir
ndb/include/mgmcommon/ConfigRetriever.hpp:
changed verify config so that it can be used by mgmt srvr
ndb/include/mgmcommon/NdbConfig.h:
added option to set path for ndb files
ndb/src/common/mgmcommon/ConfigInfo.cpp:
changed token names for DB, MGM and API
added config parametsers for datadir and backup data dir
ndb/src/common/mgmcommon/ConfigRetriever.cpp:
changed verify config so that it can be used by mgmt srvr
ndb/src/common/mgmcommon/InitConfigFileParser.cpp:
no need anymore to make uppercase
ndb/src/common/mgmcommon/NdbConfig.c:
bugfix+
added method to set datadir
ndb/src/kernel/Makefile.am:
added debug libs to ndbd
ndb/src/kernel/vm/Configuration.cpp:
added debug libs to ndbd
ndb/src/mgmsrv/MgmtSrvr.cpp:
added verify config to mgmt srvr
ndb/src/mgmsrv/main.cpp:
.
sco and others: use PATH_MAX always
ndb/include/ndb_global.h:
sco and others: use PATH_MAX always
ndb/src/common/logger/FileLogHandler.cpp:
sco and others: use PATH_MAX always
BitKeeper/etc/logging_ok:
auto-union
ndb/include/mgmapi/mgmapi_config_parameters.h:
Auto merged
ndb/src/kernel/blocks/dbacc/Dbacc.hpp:
Auto merged
ndb/src/kernel/blocks/dbacc/DbaccInit.cpp:
Auto merged
ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
Auto merged
ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
Auto merged
ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
Auto merged
ndb/src/kernel/blocks/dblqh/DblqhInit.cpp:
Auto merged
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
Auto merged
ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
Auto merged
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
Auto merged
ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
Auto merged
ndb/src/kernel/blocks/suma/Suma.cpp:
Auto merged
into mysql.com:/Volumes/Backup1/wl2056
BitKeeper/etc/logging_ok:
auto-union
ndb/src/common/mgmcommon/ConfigInfo.cpp:
Auto merged
ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
Auto merged
BitKeeper/etc/logging_ok:
auto-union
ndb/src/common/mgmcommon/ConfigInfo.cpp:
Auto merged
ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
Auto merged
ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
Auto merged
ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
Auto merged
ndb/src/kernel/blocks/dblqh/DblqhInit.cpp:
Auto merged
ndb/src/ndbapi/TransporterFacade.hpp:
Auto merged
acinclude.m4:
Auto merged
configure.in:
Auto merged
ndb/src/common/mgmcommon/ConfigInfo.hpp:
Auto merged
ndb/src/common/mgmcommon/InitConfigFileParser.cpp:
Auto merged
mysql-test/ndb/ndb_config_2_node.ini:
SCCS merged
ndb/src/common/mgmcommon/ConfigInfo.cpp:
SCCS merged
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
acinclude.m4:
added configure switch for ndb base port
configure.in:
ndb gcc compile now works with -fno-implicit-templates
mysql-test/ndb/ndb_config_2_node.ini:
further simplifications of config, removed need for [COMPUTER] section
ndb/include/ndb_global.h:
moved this to configure option
ndb/src/common/mgmcommon/ConfigInfo.cpp:
changed config to take to take strings instead of ints
ndb/src/common/mgmcommon/ConfigInfo.hpp:
changed config to take to take strings instead of ints
ndb/src/common/mgmcommon/InitConfigFileParser.cpp:
string to number convert to accept "0x" prefix on numbers
ndb/src/common/mgmcommon/InitConfigFileParser.hpp:
movet convert function to public and static
ndb/src/common/mgmcommon/LocalConfig.cpp:
define NDB_BASE_PORT now string instead of number
ndb/src/common/mgmcommon/Makefile.am:
added mysqld defines in mgmcommon to be able to configure default data dir to be the same as for mysqld
Dbutil decreased memory footprint
Suma decreased memory footprint
(16M memory removed from default config)
ndb/include/mgmapi/mgmapi_config_parameters.h:
Long signal buffer size configurable
ndb/src/common/mgmcommon/ConfigInfo.cpp:
Long signal buffer size configurable
ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
Long signal buffer size configurable
ndb/src/kernel/blocks/dbutil/DbUtil.cpp:
Decrease size of memory for prepared operations in Dbutil
ndb/src/kernel/blocks/dbutil/DbUtil.hpp:
Decrease size of memory for prepared operations in Dbutil
ndb/src/kernel/blocks/suma/Suma.cpp:
Removed GREP use of SUMA that wasted 13.2M of memory
ndb/src/kernel/blocks/suma/Suma.hpp:
Removed GREP use of SUMA that wasted 13.2M of memory
ndb/src/kernel/blocks/suma/SumaInit.cpp:
Removed GREP use of SUMA that wasted 13.2M of memory
ndb/src/kernel/vm/TransporterCallback.cpp:
Long signal buffer size configurable
BitKeeper/etc/logging_ok:
auto-union
ndb/src/common/mgmcommon/ConfigInfo.cpp:
Auto merged
ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
Auto merged
ndb/src/kernel/blocks/dblqh/DblqhInit.cpp:
Auto merged
ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
Auto merged
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
Auto merged
ndb/src/kernel/blocks/suma/Suma.cpp:
Auto merged
ndb/src/ndbapi/TransporterFacade.cpp:
Auto merged
ndb/src/ndbapi/TransporterFacade.hpp:
Auto merged
into build.mysql.com:/users/mronstrom/wl2025
BitKeeper/etc/logging_ok:
auto-union
ndb/src/common/mgmcommon/ConfigInfo.cpp:
Auto merged
ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
Auto merged
ndb/src/kernel/blocks/dblqh/DblqhInit.cpp:
Auto merged
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
Auto merged
ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
Auto merged
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
Auto merged
ndb/src/kernel/blocks/suma/Suma.cpp:
Auto merged
ndb/src/kernel/vm/Configuration.cpp:
Auto merged
ndb/src/ndbapi/NdbScanOperation.cpp:
Auto merged
ndb/src/ndbapi/TransporterFacade.cpp:
Auto merged
ndb/src/ndbapi/TransporterFacade.hpp:
Auto merged
into build.mysql.com:/users/mronstrom/wl2056
ndb/src/common/mgmcommon/ConfigInfo.cpp:
Auto merged
ndb/src/common/mgmcommon/LocalConfig.cpp:
Auto merged
ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp:
Auto merged
ndb/src/kernel/blocks/ndbfs/Ndbfs.cpp:
Auto merged
ndb/src/kernel/vm/Configuration.cpp:
Auto merged
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
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
malloc -> NdbMem_Allocate
ndb/include/mgmapi/mgmapi_config_parameters.h:
Added Meta Data config parameter constants
ndb/src/common/mgmcommon/ConfigInfo.cpp:
Added Meta Data config parameters
ndb/src/common/mgmcommon/LocalConfig.cpp:
malloc -> NdbMem_Allocate
ndb/src/common/mgmcommon/NdbConfig.c:
malloc -> NdbMem_Allocate
ndb/src/common/portlib/NdbCondition.c:
malloc -> NdbMem_Allocate
ndb/src/common/portlib/NdbMutex.c:
malloc -> NdbMem_Allocate
ndb/src/common/portlib/NdbThread.c:
malloc -> NdbMem_Allocate
ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
Removed memory allocation as part of new of TcIndexOperation
ndb/src/kernel/blocks/dbtc/DbtcInit.cpp:
Some minor things + change of config parameter for consistency
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
Removed memory allocation as part of new of TcIndexOperation
ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp:
malloc -> NdbMem_Allocate
ndb/src/kernel/vm/Configuration.cpp:
malloc -> NdbMem_Allocate
+ New config parameters for more consistency
ndb/src/kernel/vm/pc.hpp:
Not so many fragments allocated. Saves 140kBytes per table
160 kb -> 20 kb per table
into mysql.com:/home/jonas/src/wl2025
ndb/src/common/mgmcommon/ConfigInfo.cpp:
Auto merged
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
Auto merged
ndb/src/ndbapi/TransporterFacade.cpp:
Auto merged
into mysql.com:/home/jonas/src/wl2025
BitKeeper/etc/logging_ok:
auto-union
ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
Auto merged
ndb/src/kernel/blocks/dblqh/DblqhInit.cpp:
Auto merged
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
Auto merged
ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
Auto merged
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
Auto merged
ndb/src/kernel/blocks/suma/Suma.cpp:
Auto merged