1) Make sure not to read uninitialized data in unique index code
harmless (atleast before dynattr)
2) Dont update p_latest_trans_gci
for dirty unique index lookup
storage/ndb/src/kernel/blocks/dbtup/DbtupTrigger.cpp:
Make sure not to read uninitialized data in unique index code
harmless (atleast before dynattr)
storage/ndb/src/ndbapi/NdbTransaction.cpp:
Dont update p_latest_trans_gci
for dirty unique index lookup
Make sure LCP scan record is correct initialized
storage/ndb/src/kernel/blocks/dbtup/DbtupGen.cpp:
Init ScanOp
storage/ndb/src/kernel/blocks/dbtup/DbtupScan.cpp:
And set correct pointers...
into perch.ndb.mysql.com:/home/jonas/src/51-work
storage/ndb/src/kernel/blocks/ERROR_codes.txt:
Auto merged
storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
Auto merged
storage/ndb/test/run-test/daily-basic-tests.txt:
Auto merged
storage/ndb/test/ndbapi/testScan.cpp:
merge
into perch.ndb.mysql.com:/home/jonas/src/51-work
storage/ndb/src/common/util/socket_io.cpp:
Auto merged
storage/ndb/src/common/util/InputStream.cpp:
merge
- Disconnect from transporter before starting to delete objects
storage/ndb/src/ndbapi/Ndbinit.cpp:
Make sure to disconnect from transporter to stop signals from coming in
before starting to delete the objects that would recieve the signals
- Disconnect from transporter before starting to delete objects
storage/ndb/src/ndbapi/Ndbinit.cpp:
Make sure to diconnect from transporter to stop signals from coming in before
starting to delete the objects that would recieve the signals
into orca.ndb.mysql.com:/export/home/space/pekka/ndb/version/my51-misc
storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
Auto merged
storage/ndb/test/ndbapi/testDict.cpp:
Auto merged
storage/ndb/test/run-test/daily-basic-tests.txt:
Auto merged
storage/ndb/src/kernel/blocks/dbacc/DbaccInit.cpp:
if malloc failed, it will show the parameter's name
storage/ndb/src/kernel/blocks/dbtup/DbtupGen.cpp:
if malloc failed, it will show the parameter's name
storage/ndb/src/kernel/vm/ArrayPool.hpp:
reduce err message, or else some of it will be cut
storage/ndb/src/kernel/vm/SimulatedBlock.cpp:
add the feature which it can display the parameter's name if malloc failed
storage/ndb/src/kernel/vm/SimulatedBlock.hpp:
add an input argument which is the ID of a parameter
into mysql.com:/windows/Linux_space/MySQL/mysql-5.1-new-ndb
client/mysqldump.c:
Auto merged
sql/ha_ndbcluster.cc:
Auto merged
sql/sql_show.cc:
Auto merged
storage/ndb/src/ndbapi/NdbTransaction.cpp:
Auto merged
sql/sql_class.h:
Fixed indentation
If we have the XFS headers (at build time) we can use XFS specific ioctls
(once testing the file is on XFS) to better allocate space.
This dramatically improves performance of mysql-test-run cases as well:
e.g.
number of extents for ndb_dd_basic tablespaces and log files
BEFORE this patch: 57, 13, 212, 95, 17, 113
WITH this patch : ALL 1 or 2 extents
(results are consistent over multiple runs. BEFORE always has several files
with lots of extents).
As for timing of test run:
BEFORE
ndb_dd_basic [ pass ] 107727
real 3m2.683s
user 0m1.360s
sys 0m1.192s
AFTER
ndb_dd_basic [ pass ] 70060
real 2m30.822s
user 0m1.220s
sys 0m1.404s
(results are again consistent over various runs)
similar for other tests (BEFORE and AFTER):
ndb_dd_alter [ pass ] 245360
ndb_dd_alter [ pass ] 211632
configure.in:
Check for XFS headers
storage/ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp:
If the XFS headers are installed, use the xfsctl(XFS_IOC_RESVSP64) call (a
wrapper around ioctl) to tell the xfs file system how much space to reserve
for this file.
Make sure index scan does not commitDelete
mysql-test/r/ndb_index_ordered.result:
testcase
mysql-test/t/ndb_index_ordered.test:
testcase
storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
Make sure index scan does not commitDelete
into perch.ndb.mysql.com:/home/jonas/src/51-work
storage/ndb/src/ndbapi/NdbTransaction.cpp:
Auto merged
storage/ndb/src/common/util/socket_io.cpp:
merge
nicer error message to user, along with error code to help track down the problem.
storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
Report error when creating table (restartCreateTab_dihComplete)
to user in a nicer way.
BUG#22305 SysLogHandler not thread safe
BUG#22313 can get duplicate log messages in cluster log
Fix all these problems with one patch. Make Logger, hence EventLogger (with a
bit more) thread safe.
storage/ndb/include/debugger/EventLogger.hpp:
remove m_text to make thread safe
storage/ndb/include/logger/Logger.hpp:
Use mutex to protect member variables for multithreaded use.
storage/ndb/src/common/debugger/EventLogger.cpp:
use a string on the stack instead of member variable to make class thread safe
storage/ndb/src/common/logger/Logger.cpp:
use mutexes to Guard member variables. makes class therad safe
into willster.(none):/home/stewart/Documents/MySQL/5.1/ndb-mgm-work
storage/ndb/include/logger/FileLogHandler.hpp:
Auto merged
storage/ndb/include/util/File.hpp:
Auto merged
storage/ndb/src/common/logger/FileLogHandler.cpp:
Auto merged
storage/ndb/src/common/util/File.cpp:
Auto merged
into bodhi.local:/opt/local/work/mysql-5.1-runtime-merge
include/mysql.h:
Auto merged
libmysqld/lib_sql.cc:
Auto merged
mysql-test/include/mix1.inc:
Auto merged
mysql-test/r/ctype_utf8.result:
Auto merged
BitKeeper/deleted/.del-make_win_bin_dist:
Auto merged
mysql-test/r/innodb_mysql.result:
Auto merged
mysql-test/r/ndb_update.result:
Auto merged
mysql-test/r/ps.result:
Auto merged
mysql-test/r/view.result:
Auto merged
mysql-test/t/ctype_utf8.test:
Auto merged
mysql-test/t/func_gconcat.test:
Auto merged
mysql-test/t/ps.test:
Auto merged
sql/ha_ndbcluster.cc:
Auto merged
sql/item_func.cc:
Auto merged
sql/item_func.h:
Auto merged
sql/item_sum.cc:
Auto merged
sql/log_event.cc:
Auto merged
sql/mysql_priv.h:
Auto merged
sql/mysqld.cc:
Auto merged
sql/set_var.cc:
Auto merged
sql/sql_base.cc:
Auto merged
sql/sql_class.h:
Auto merged
sql/sql_delete.cc:
Auto merged
sql/sql_insert.cc:
Auto merged
sql/sql_lex.cc:
Auto merged
sql/sql_lex.h:
Auto merged
sql/sql_parse.cc:
Auto merged
sql/sql_select.cc:
Auto merged
sql/sql_update.cc:
Auto merged
sql/sql_view.cc:
Auto merged
sql/table.cc:
Auto merged
storage/myisammrg/ha_myisammrg.cc:
Auto merged
storage/ndb/src/common/util/SimpleProperties.cpp:
Auto merged
storage/ndb/src/mgmsrv/Services.cpp:
Auto merged
storage/ndb/src/ndbapi/NdbTransaction.cpp:
Auto merged
storage/ndb/tools/ndb_size.pl:
Auto merged
storage/ndb/tools/ndb_size.tmpl:
Auto merged
sql/sql_table.cc:
SCCS merged
into trift2.:/MySQL/M51/push-5.1
configure.in:
Auto merged
sql/sql_yacc.yy:
Auto merged
storage/ndb/src/mgmsrv/Services.cpp:
Auto merged
storage/ndb/src/ndbapi/NdbScanOperation.cpp:
Auto merged
into dev3-138.dev.cn.tlan:/home/zhl/mysql/mysql-5.1/bug21052
storage/ndb/include/ndbapi/ndberror.h:
Auto merged
storage/ndb/src/mgmsrv/Services.cpp:
Auto merged
storage/ndb/src/ndbapi/ndberror.c:
Auto merged
into ymer.(none):/usr/local/mysql/mysql-5.1-new-ndb
storage/ndb/include/util/UtilBuffer.hpp:
Auto merged
storage/ndb/src/common/util/SimpleProperties.cpp:
Auto merged
revert fix bug#21052 as it's wrong, and induces bus-error on node crashes
storage/ndb/src/mgmsrv/Services.cpp:
revert fix bug#21052 as it's wrong, and induces bus-error on node crashes
into perch.ndb.mysql.com:/home/jonas/src/51-work
storage/ndb/include/kernel/ndb_limits.h:
Auto merged
storage/ndb/src/kernel/blocks/backup/Backup.cpp:
Auto merged
storage/ndb/src/kernel/blocks/backup/Backup.hpp:
merge
storage/ndb/src/common/util/File.cpp:
Avoid memory leak when EINTR error returns. Even though a close error happens, a ERROR message in out-file is given, and this shouldn't affect the normally running.
added check in ndb_mgmd so that the sum of MaxNoOfTables, MaxNoOfOrderedIndexes, MaxNoOfUniqueHashIndexes and the number of System Tables must not overflow the max Uint32 number.
storage/ndb/src/mgmsrv/ConfigInfo.cpp:
the sum of MaxNoOfTables, MaxNoOfOrderedIndexes, MaxNoOfUniqueHashIndexes and the number of System Tables must not overflow the max value of Uint32.
and use it for testOperations/testTransactions
storage/ndb/test/include/NDBT_Test.hpp:
Add support for temporary tables in hugo
storage/ndb/test/ndbapi/testOperations.cpp:
Make testOperations use temporary tables
storage/ndb/test/ndbapi/testTransactions.cpp:
Make testTransactions use temporary tables
storage/ndb/test/src/NDBT_Tables.cpp:
Add support for temporary tables in hugo
storage/ndb/test/src/NDBT_Test.cpp:
Add support for temporary tables in hugo