- 30 Mar, 2006 3 commits
- 29 Mar, 2006 11 commits
-
-
unknown authored
Bug #17705 "FT Index corruption occurs with UTF8 data..." (Actually, the bug had nothing to do with FT index but with general key compression) myisam/mi_search.c: Fix error in prefix compression of keys in MyISAM when key length changed from 254 -> 255 mysql-test/r/ctype_utf8.result: Test of fix for key compression bug mysql-test/t/ctype_utf8.test: Test of fix for key compression bug
-
unknown authored
Check that port range is valid, bug#16807 mysql-test/mysql-test-run.pl: Check that port range is valid, bug#16807
-
unknown authored
Added --help option, bug#16392 acinclude.m4: Use "$shrext_cmds" when testing if shared library exists, bug#16332 acinclude.m4: Use "$shrext_cmds" when testing if shared library exists, bug#16332 scripts/mysqld_safe.sh: Added --help option, bug#16392
-
unknown authored
into mysql.com:/Users/kent/mysql/bk/mysql-4.1-new
-
unknown authored
Use "dist_bin_SCRIPTS" to get a script distributed ndb/tools/Makefile.am: Use "dist_bin_SCRIPTS" to get a script distributed
-
unknown authored
The GROUP_CONCAT uses its own temporary table. When ROLLUP is present it creates the second copy of Item_func_group_concat. This copy receives the same list of arguments that original group_concat does. When the copy is set up the result_fields of functions from the argument list are reset to the temporary table of this copy. As a result of this action data from functions flow directly to the ROLLUP copy and the original group_concat functions shows wrong result. Since queries with COUNT(DISTINCT ...) use temporary tables to store the results the COUNT function they are also affected by this bug. The idea of the fix is to copy content of the result_field for the function under GROUP_CONCAT/COUNT from the first temporary table to the second one, rather than setting result_field to point to the second temporary table. To achieve this goal force_copy_fields flag is added to Item_func_group_concat and Item_sum_count_distinct classes. This flag is initialized to 0 and set to 1 into the make_unique() member function of both classes. To the TMP_TABLE_PARAM structure is modified to include the similar flag as well. The create_tmp_table() function passes that flag to create_tmp_field(). When the flag is set the create_tmp_field() function will set result_field as a source field and will not reset that result field to newly created field for Item_func_result_field and its descendants. Due to this there will be created copy func to copy data from old result_field to newly created field. mysql-test/t/func_gconcat.test: Added test for bug#15560: GROUP_CONCAT wasn't ready for WITH ROLLUP queries mysql-test/r/func_gconcat.result: Added test for bug#15560: GROUP_CONCAT wasn't ready for WITH ROLLUP queries sql/sql_table.cc: Fixed bug#15560: GROUP_CONCAT wasn't ready for WITH ROLLUP queries Added 0 as a last parameter to create_tmp_field() to force old behaviour. sql/sql_select.cc: Fixed bug#15560: GROUP_CONCAT wasn't ready for WITH ROLLUP queries Added the flag 'make_copy_field' to create_tmp_field(), so that for Item_result_field descendants create_tmp_field() sets the item's result field as a source field and deny resetting that result field to a new value. sql/sql_class.h: Fixed bug#15560: GROUP_CONCAT wasn't ready for WITH ROLLUP queries Added the flag 'force_copy_fields' to the structure TMP_TABLE_PARAM in order to make create_tmp_field() force the creation of 'copy_field' objects. sql/mysql_priv.h: Fixed bug#15560: GROUP_CONCAT wasn't ready for WITH ROLLUP queries Added the bool parameter 'make_copy_field' to create_tmp_field(). sql/item_sum.cc: Fixed bug#15560: GROUP_CONCAT wasn't ready for WITH ROLLUP queries Added initialization of the force_copy_fields flag and passing it to create_tmp_table() through TMP_TBLE_PARAM in the Item_func_group_concat and Item_sum_count_distinct member functions. sql/item_sum.h: Fixed bug#15560: GROUP_CONCAT wasn't ready for WITH ROLLUP queries Added the flag 'force_copy_fields' to the Item_func_group_concat and Item_sum_count_distinct classes.
-
unknown authored
into mysql.com:/home/gluh/MySQL/Merge/4.1
-
unknown authored
disallow the use of comma in SET members mysql-test/r/create.result: Fix for bug#15316 SET value having comma not correctly handled test case mysql-test/t/create.test: Fix for bug#15316 SET value having comma not correctly handled test case
-
unknown authored
If installed, search built in lib path first, bug#13158 scripts/mysql_config.sh: If installed, search built in lib path first, bug#13158
-
unknown authored
into mysql.com:/Users/kent/mysql/bk/mysql-4.1-new
-
unknown authored
Install "ndb_size.pl" script and template, bug#18421 ndb/tools/Makefile.am: Install "ndb_size.pl" script and template, bug#18421
-
- 28 Mar, 2006 1 commit
-
-
unknown authored
into mysql.com:/usr/home/bar/mysql-4.1.b15098 sql/field.cc: Auto merged
-
- 27 Mar, 2006 4 commits
-
-
unknown authored
Remove Solaris -xc99=none C option as C++ compiler can't handle it scripts/mysql_config.sh: Remove Solaris -xc99=none C option as C++ compiler can't handle it
-
unknown authored
We are not to control what malloc package others are to use, remove -lmtmalloc from --libs(_r), bug#18322 scripts/mysql_config.sh: We are not to control what malloc package others are to use, remove -lmtmalloc from --libs(_r), bug#18322
-
unknown authored
into perch.ndb.mysql.com:/home/jonas/src/mysql-4.1
-
unknown authored
Change semantic on DumpStateOrd::CmvmiSetRestartOnErrorInsert() Called wo/ args it resets to value in configuration (previously it set to 1 if called wo/ args) ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp: Change semantic on DumpStateOrd::CmvmiSetRestartOnErrorInsert Called wo/ args it resets to value in configuration (previously it set to 1 if called wo/ args) ndb/test/ndbapi/testNodeRestart.cpp: Change semantic on DumpStateOrd::CmvmiSetRestartOnErrorInsert Called wo/ args it resets to value in configuration (previously it set to 1 if called wo/ args) ndb/test/src/NdbBackup.cpp: Change semantic on DumpStateOrd::CmvmiSetRestartOnErrorInsert Called wo/ args it resets to value in configuration (previously it set to 1 if called wo/ args) ndb/test/src/NdbRestarts.cpp: Change semantic on DumpStateOrd::CmvmiSetRestartOnErrorInsert Called wo/ args it resets to value in configuration (previously it set to 1 if called wo/ args)
-
- 23 Mar, 2006 5 commits
-
-
unknown authored
If CYBOZU defined, set character sets etc include/config-win.h: If CYBOZU defined, set character sets etc
-
unknown authored
remove bug#18385 from autotest as it only works on 2 node clusters ndb/test/run-test/daily-basic-tests.txt: remove bug#18385 as it only works on 2 node clusters
-
unknown authored
minor fixes in test programs ndb/src/kernel/blocks/ERROR_codes.txt: Fix conflicting error codes ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: Fix conflicting error codes ndb/test/ndbapi/testNodeRestart.cpp: Fix test program
-
unknown authored
into mysql.com:/usr/home/bar/mysql-4.1.b15376 include/m_ctype.h: Auto merged strings/ctype-bin.c: Auto merged strings/ctype-euc_kr.c: Auto merged strings/ctype-gb2312.c: Auto merged strings/ctype-ucs2.c: Auto merged
-
unknown authored
into mysql.com:/usr/home/bar/mysql-4.1.b17374
-
- 22 Mar, 2006 5 commits
-
-
unknown authored
Add per partition info (optionally to ndb_desc) ndb/tools/desc.cpp: Add per partition info (optionally to ndb_desc)
-
unknown authored
Update makefile for removed files ndb/test/run-test/Makefile.am: Update makefile for removed files
-
unknown authored
some more ndb-autotest updates (previously uncommitted...but in use) ndb/test/run-test/ndb-autotest.sh: More autotest updates
-
unknown authored
minor update to ndb-autotest.sh and config files ndb/test/run-test/conf-daily-devel-ndbmaster.txt: Add SendBufferMemory to remove rare overruns ndb/test/run-test/conf-dl145a.txt: Add SendBufferMemory to remove rare overruns ndb/test/run-test/conf-ndbmaster.txt: Add SendBufferMemory to remove rare overruns ndb/test/run-test/conf-shark.txt: Add SendBufferMemory to remove rare overruns ndb/test/run-test/ndb-autotest.sh: Add support for conf per host
-
unknown authored
Fix timeout during ABORT when ZABORT_TIMEOUT_BREAK is outstanding ndb/src/kernel/blocks/ERROR_codes.txt: New error code ndb/src/kernel/blocks/dbdih/DbdihMain.cpp: remove dumping of LCP info during NF ndb/src/kernel/blocks/dbtc/DbtcMain.cpp: Fix timeout during ABORT when ZABORT_TIMEOUT_BREAK is outstanding ndb/test/ndbapi/testNodeRestart.cpp: Add testcase for bug18414 ndb/test/ndbapi/testTimeout.cpp: Fix error code checking ndb/test/run-test/daily-basic-tests.txt: Add testcase for bug18414
-
- 21 Mar, 2006 2 commits
-
-
unknown authored
timeslice DUMP(7015) ndb/include/kernel/signaldata/DumpStateOrd.hpp: doc... ndb/src/kernel/blocks/dbdih/DbdihMain.cpp: timeslice DUMP(7015)
-
unknown authored
Partial system restart, can not try to start with higher GCI that own even if knowing about a higher number ndb/include/kernel/signaldata/DumpStateOrd.hpp: Add new dump for setting time between gcp ndb/include/kernel/signaldata/StartPerm.hpp: Move error codes into StartPerm + Add new error code ndb/src/kernel/blocks/ERROR_codes.txt: Add new error insert ndb/src/kernel/blocks/dbdih/Dbdih.hpp: Move error codes into StartPerm + Add new error code ndb/src/kernel/blocks/dbdih/DbdihMain.cpp: Fix so that we don't try to restart to a too new GCI when doing a partial start Add new error code when this node later tries to join ndb/test/include/NdbRestarter.hpp: Add new method for selecting random node ndb/test/ndbapi/testSystemRestart.cpp: Add new testcase for bug#18385 ndb/test/run-test/daily-basic-tests.txt: Run test in daily-basic ndb/test/src/NdbRestarter.cpp: Add new method for selecting random node
-
- 20 Mar, 2006 7 commits
-
-
unknown authored
into perch.ndb.mysql.com:/home/jonas/src/41-work
-
unknown authored
remove debug prinout
-
unknown authored
Remove useless and tricky state fiddleing in TC to syncronize NF_CompleteRep as code is already present in DIH aswell Keep broadcast of TAKEOVER_TCCONF for online upgrade ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: Add clever dump for showing active operations ndb/src/kernel/blocks/dbtc/Dbtc.hpp: Remove useless and tricky state fiddleing in TC to syncronize NF_CompleteRep as code is already present in DIH aswell Keep broadcast of TAKEOVER_TCCONF for online upgrade ndb/src/kernel/blocks/dbtc/DbtcMain.cpp: Remove useless and tricky state fiddleing in TC to syncronize NF_CompleteRep as code is already present in DIH aswell Keep broadcast of TAKEOVER_TCCONF for online upgrade
-
unknown authored
Use variable waitfor_response_timeout (depending on TransactionDeadLockTimeout) When getting 4012, set NeedAbort and ReleaseOnClose ndb/src/ndbapi/NdbConnection.cpp: Use variable for WAITFOR_RESPONSE_TIMEOUT ndb/src/ndbapi/Ndbif.cpp: Use variable timeout for waitfor, when receiving 4012, set NeedAbort and ReleaseOnClose ndb/src/ndbapi/TransporterFacade.cpp: Init wait_for_response_timoue as max TRANSACTION_DEADLOCK_TIMEOUT ndb/src/ndbapi/TransporterFacade.hpp: Init wait_for_response_timoue as max TRANSACTION_DEADLOCK_TIMEOUT ndb/test/ndbapi/testTimeout.cpp: Add testcase for 4012 ndb/test/run-test/daily-basic-tests.txt: Add testcase for 4012
-
unknown authored
Fixed that LIKE worked case insensitively for latin2_czech_cs, which was wrong for a case sensitive collation. include/m_ctype.h: Making my_wildcmp_bin public instead of static strings/ctype-bin.c: Making my_wildcmp_bin public instead of static strings/ctype-czech.c: Use my_wildcmp_bin instead of case insensitive my_wildcmp_8bit mysql-test/include/have_latin2_ch.inc: New BitKeeper file ``mysql-test/include/have_latin2_ch.inc'' mysql-test/r/ctype_latin2_ch.result: New BitKeeper file ``mysql-test/r/ctype_latin2_ch.result'' mysql-test/r/have_latin2_ch.require: New BitKeeper file ``mysql-test/r/have_latin2_ch.require'' mysql-test/t/ctype_latin2_ch.test: New BitKeeper file ``mysql-test/t/ctype_latin2_ch.test''
-
unknown authored
table.cc: Fixing to use system_charset_info instead of default_charset_info. Crash happened because the "ctype" array is empty in UCS2, and thus cannot be used with my_isspace(). The reason why UCS2 appeared in this context was because of of default_charset_info variable incorrectly substituted to my_isspace(). As functions check_db_name(), check_table_name() and check_column_name() always get values in utf8, system_charset_info must be used instead. ctype_ucs2_def.test, ctype_ucs2_def-master.opt, ctype_ucs2_def.result: new file sql/table.cc: Bug#18004 Connecting crashes server when default charset is UCS2 Use of default_charset_info was wrong. Functions check_db_name, check_table_name and check_column_name get values of system_charset_info character set (utf8).
-
unknown authored
Activly abort transactions (that's affected) during NF This removes a lot of bugs that can occur otherwise is using high value for TransactionDeadLockTimout ndb/include/kernel/signaldata/TcContinueB.hpp: New continueb for active transaction abort on nf ndb/src/kernel/blocks/dbtc/Dbtc.hpp: Add bitmask of participating nodes to transaction record Add bitmask of node fail steps, so that NF_CompleteRep is not sent until all steps has completed ndb/src/kernel/blocks/dbtc/DbtcMain.cpp: Active transaction baortion
-
- 17 Mar, 2006 2 commits
-
-
unknown authored
dont't allow node to join cluster until all nodes has completed failure handling ndb/src/kernel/blocks/qmgr/QmgrMain.cpp: When getting CM_ADD for node that I haven't completed failure handling for do _not_ just override. But instead set state...and send CM_ACK_ADD on execCONNECT_REP (much...later) ndb/test/ndbapi/testNodeRestart.cpp: testcase for bug#16772 ndb/test/run-test/daily-basic-tests.txt: Run test in basic suite
-
unknown authored
to binlog too much. When InnoDB has to rollback a transaction because the lock table has filled up, it also needs to inform the upper layer that the transaction was rolled back so that the cached transaction is not written to the binary log. sql/ha_innodb.cc: When InnoDB rolls back a transaction in HA_ERR_LOCK_TABLE_FULL, it needs to inform the upper layer to rollback the transaction also.
-