handle also CS_CONNECTED as "abort" in handleFailedApi to keep from falling on assertion in releaseApiCon
in case of committed dirtyRead
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
handle also CS_CONNECTED as "abort" to keep from falling on assertion in releaseApiCon
in case of committed dirtyRead
Fix occational LCP hang!!!
Make sure only to consider alive nodes in startNextChkpt
ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
Make sure only to consider alive nodes in startNextChkpt
ndb/tools/restore/consumer.hpp:
added a function to judge whether there is temporary error.
ndb/tools/restore/consumer_restore.cpp:
record when temporary error occured in restore.
ndb/tools/restore/consumer_restore.hpp:
added a member to record temporary error in restore.
ndb/tools/restore/restore_main.cpp:
report temporary error in restore.
and other commands related to ndb. For all of these, the help screen contains
"Ndb.cfg" string. Now i change the "Ndb.cfg" to "my.cnf" because "Ndb.cfg" is obsolete.
ndb/include/util/ndb_opts.h:
Change help info from "Ndb.cfg" string to "my.cnf" string in the header file.
ndb/test/ndbapi/flexScan.cpp:
Change help info from including "Ndb.cfg" to "my.cnf".
ndb/tools/ndb_config.cpp:
Change help info from including "Ndb.cfg" to "my.cnf".
add judgement to avoid NULL pointer's operation(segmentaion fault)
ndb/src/ndbapi/NdbOperation.cpp:
if getColumn return NULL, set error code and return NULL in getBlobHandle
ndb/src/ndbapi/ndberror.c:
change the err message more appropriate
into dev3-138.dev.cn.tlan:/home/zhl/mysql/mysql-5.0/bug21799
ndb/src/mgmclient/CommandInterpreter.cpp:
Auto merged
ndb/src/ndbapi/ndberror.c:
Auto merged
sql/ha_ndbcluster.cc:
Auto merged
sql/sql_base.cc:
Auto merged
sql/sql_view.cc:
Auto merged
the following start, stop and restart operations aren't execute correctly
ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
Adding some source codes check node list whether or not stopped for STOP_REQ signal.
If all of these nodes have stopped, then STOP_CONF signal will return.
ndb/src/mgmclient/CommandInterpreter.cpp:
Ensure ndb_mgm can only transmit the valid range node id to management server.
if the node id is greater than MAX_NODES, management server will exit abnormally.
ndb/src/mgmsrv/MgmtSrvr.cpp:
Ensure management server can only transmit the data node id to data node process.
and other commands related to ndb. For all of these, the help screen contains
"Ndb.cfg" string. Now i change the "Ndb.cfg" to "my.cnf" because "Ndb.cfg" is obsolete.
ndb/include/util/ndb_opts.h:
Change help info from Ndb.cfg to my.cnf in the header file.
ndb/test/ndbapi/flexScan.cpp:
Change help info from Ndb.cfg to my.cnf.
ndb/tools/ndb_config.cpp:
Change help info from Ndb.cfg to my.cnf
into dev3-127.(none):/mnt/mysql/home/ngb/mysql-5.0/bug21530
ndb/src/mgmclient/CommandInterpreter.cpp:
Many methods add the return value that indicates whether the execution of operation succeeds.
This can make ndb_mgm management client set the exit status on errors.
Fix so that scans closed before execute are removed from "scans to send list"
ndb/include/ndbapi/NdbTransaction.hpp:
Fix so that scans closed before execute are removed from "scans to send list"
ndb/src/ndbapi/NdbScanOperation.cpp:
Fix so that scans closed before execute are removed from "scans to send list"
ndb/src/ndbapi/NdbTransaction.cpp:
Fix so that scans closed before execute are removed from "scans to send list"
almost useless for any kind of shell script automation.
Now add the return value that indicates the execution whether or not success
for many methods.
ndb/src/mgmclient/CommandInterpreter.cpp:
Many methods add the return value that indicates whether the execution of operatioin succeeds.
This can make ndb_mgm management client set the exit status on errors.
Fix for alter table when node is down...that could cause pain and misery
ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
Make sure to check table version before retriving from disk
send new fragdistkeys to all replicas during node recovery
to make sure that not 3rd or 4th replicas fragDistKey becomes out of sync
ndb/include/kernel/GlobalSignalNumbers.h:
new signal UpdateFragDistKeyOrd
ndb/include/kernel/signaldata/CopyFrag.hpp:
new signal UpdateFragDistKeyOrd
ndb/include/ndb_version.h.in:
online software upgrade for new signal UpdateFragDistKeyOrd
ndb/src/common/debugger/signaldata/SignalNames.cpp:
new signal UpdateFragDistKeyOrd
ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
Send noew list of all replicas in copyfragreq
ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
new signal UpdateFragDistKeyOrd
ndb/src/kernel/blocks/dblqh/DblqhInit.cpp:
new signal UpdateFragDistKeyOrd
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
new signal UpdateFragDistKeyOrd
also bind client to local host name if specified
ndb/src/common/transporter/Transporter.cpp:
Add binding also of transporter connection (to hostname specified in config file)
mysql-test/r/ndb_config.result:
test case for Bug #17582
mysql-test/t/ndb_config.test:
test case for Bug #17582
ndb/tools/ndb_config.cpp:
gethostname() returns a pointer to a static buffer so we
need to create a copy of the results before calling it on
the 2nd host name, else we're effectively comparing a
hostname to itself which is of course always true
(Bug #17582)
allow bind address for ndbd
ndb/include/mgmapi/mgmapi.h:
Add support for setting local address in NdbMgmHandle
ndb/include/mgmcommon/ConfigRetriever.hpp:
Add support for specifying local bindaddress to ConfigRetreiver
ndb/include/util/SocketClient.hpp:
Add support for setting local address in NdbMgmHandle
ndb/src/common/mgmcommon/ConfigRetriever.cpp:
Add support for setting local address in NdbMgmHandle
ndb/src/common/util/SocketClient.cpp:
Add support for setting local address in NdbMgmHandle
ndb/src/kernel/vm/Configuration.cpp:
Add support for specifying local bindaddress to ndbd
ndb/src/mgmapi/mgmapi.cpp:
Add support for setting local address in NdbMgmHandle
Build gcc.o as a small library, instead of passing .cpp sources to the
linker command (causes problems with parallel make on Solaris).
This fix is for 4.1. In 5.0 and up a different fix is used.
ndb/config/common.mk.am:
Build gcc.o as a small library, instead of passing .cpp sources to the
linker command (causes problems with parallel make on Solaris).
ndb/config/type_ndbapitools.mk.am:
Build gcc.o as a small library, instead of passing .cpp sources to the
linker command (causes problems with parallel make on Solaris).
ndb/src/common/portlib/Makefile.am:
Build gcc.o as a small library, instead of passing .cpp sources to the
linker command (causes problems with parallel make on Solaris).
ndb/src/kernel/Makefile.am:
Build gcc.o as a small library, instead of passing .cpp sources to the
linker command (causes problems with parallel make on Solaris).
Data node is not allowed to get added in the cluster when it is in single user mode.
ndb/include/kernel/signaldata/CmRegSignalData.hpp:
Data node is not allowed to get added in the cluster when it is in single user mode.
ndb/include/mgmapi/ndbd_exit_codes.h:
Data node is not allowed to get added in the cluster when it is in single user mode.
ndb/include/ndb_version.h.in:
added version macro for version 5.0.25.
ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
Data node is not allowed to get added in the cluster when it is in single user mode.
ndb/src/kernel/error/ndbd_exit_codes.c:
Data node is not allowed to get added in the cluster when it is in single user mode.
ndb/include/mgmapi/mgmapi.h:
add one function
ndb/src/mgmapi/mgmapi.cpp:
add one function to get cluster loglevel
ndb/src/mgmsrv/Services.cpp:
addn one function to deal with get log level
ndb/src/mgmsrv/Services.hpp:
add getClusterLogLevel() function define
ndb/src/cw/cpcd/main.cpp:
added print_defaults() calls to --help output for all binaries
ndb/src/kernel/vm/Configuration.cpp:
added print_defaults() calls to --help output for all binaries
ndb/src/mgmclient/main.cpp:
added print_defaults() calls to --help output for all binaries
ndb/src/mgmsrv/main.cpp:
added print_defaults() calls to --help output for all binaries
ndb/tools/delete_all.cpp:
added print_defaults() calls to --help output for all binaries
ndb/tools/desc.cpp:
added print_defaults() calls to --help output for all binaries
ndb/tools/drop_index.cpp:
added print_defaults() calls to --help output for all binaries
ndb/tools/drop_tab.cpp:
added print_defaults() calls to --help output for all binaries
ndb/tools/listTables.cpp:
added print_defaults() calls to --help output for all binaries
ndb/tools/ndb_config.cpp:
added print_defaults() calls to --help output for all binaries
ndb/tools/restore/restore_main.cpp:
added print_defaults() calls to --help output for all binaries
ndb/tools/select_all.cpp:
added print_defaults() calls to --help output for all binaries
ndb/tools/select_count.cpp:
added print_defaults() calls to --help output for all binaries
ndb/tools/waiter.cpp:
added print_defaults() calls to --help output for all binaries
Fixed the cluster logfile rotation code, let the cluster logfile be renamed correctly when the main logfile exceeds the configured maximum size.
ndb/include/util/File.hpp:
Fix for BUG#21345, Error in cluster logfile rotation.
ndb/src/common/logger/FileLogHandler.cpp:
Fix for BUG#21345, Error in cluster logfile rotation.
ndb/src/common/util/File.cpp:
Fix for BUG#21345, Error in cluster logfile rotation.
into dev3-127.(none):/mnt/mysql/home/ngb/bug19873
ndb/src/mgmclient/CommandInterpreter.cpp:
ndb_mgm can automatically reconnect to the ndb_mgmd after ndb_mgmd restarted.
and this commit fixes probable mem leak
into dev3-127.(none):/mnt/mysql/home/ngb/mysql-5.0-ndb-bj
ndb/src/mgmclient/CommandInterpreter.cpp:
Auto merged
ndb/src/ndbapi/ndberror.c:
Auto merged
sql/ha_ndbcluster.cc:
Auto merged
sql/sql_base.cc:
Auto merged
sql/sql_view.cc:
Auto merged
into dev3-76.dev.cn.tlan:/home/dli/mysql/mysql-5.0/mysql-5.0-bug-21345
ndb/include/util/File.hpp:
Auto merged
ndb/src/common/util/File.cpp:
Auto merged
Fixed the cluster logfile rotation code, let the cluster log file be renamed correctly when the main log file exceeds the configured maximum size.
ndb/include/util/File.hpp:
Fix for bug #21345: Error in cluster logfile rotation.
ndb/src/common/logger/FileLogHandler.cpp:
Fix for bug #21345: Error in cluster logfile rotation.
ndb/src/common/util/File.cpp:
Fix for bug #21345: Error in cluster logfile rotation.