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
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
ndb/include/ndb_global.h:
Include my_alarm (to get signal.h)
ndb/src/cw/cpcd/Process.cpp:
Include my_alarm (to get signal.h)
ndb/src/cw/cpcd/main.cpp:
Include my_alarm (to get signal.h)
ndb/src/kernel/main.cpp:
Include my_alarm (to get signal.h)
ndb/src/kernel/vm/Emulator.cpp:
Include my_alarm (to get signal.h)
ndb/src/mgmclient/main.cpp:
Include my_alarm (to get signal.h)
ndb/src/mgmsrv/Services.cpp:
Include ndb_global instead of string.h
ndb/src/ndbapi/NdbOperationInt.cpp:
Keep consistent order of 64 bits in interpreter
ndb/src/ndbapi/TransporterFacade.cpp:
Include my_alarm (to get signal.h)
into mysql.com:/Users/mikron/wl2025
ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
Auto merged
ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
Auto merged
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
Auto merged
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
into build.mysql.com:/users/mronstrom/wl2025
ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
Auto merged
ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
Auto merged
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
Auto merged
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
Auto merged
Some small printout fixes
ndb/include/kernel/signaldata/ScanFrag.hpp:
Mixed up Hexadecimal and decimal notation, cost me 5 hours of
debugging to find, grrr..
ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
Fixed some declaration so that new bigger info fits in variables
ndb/test/ndbapi/testScanPerf.cpp:
Fix for printing int's instead of Uint64 which for some reason
caused problems on my Mac.
Also print performance in each loop.
ndb/include/kernel/signaldata/StartInfo.hpp:
Fix signal len
ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
Put init in constructor
ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
Send corrent start_inforef
Init NodeRecord::allowNodeStart
ndb/src/kernel/vm/SimulatedBlock.cpp:
Remove all mem-inits so that debug/release don't differ