- 04 Nov, 2008 1 commit
-
-
Sven Sandberg authored
-
- 03 Nov, 2008 1 commit
-
-
He Zhenxing authored
-
- 31 Oct, 2008 1 commit
-
-
He Zhenxing authored
According to documenation: http://dev.mysql.com/doc/refman/5.1/en/mysql-cluster-replication-issues.html When setting up circular replication for clusters with different SQL nodes in each cluster used as replication master and slave, SQL nodes must not start with --log-slave-updates option. This patch fixed the test case by remove log-slave-updates configuration from test case configuration file. mysql-test/suite/rpl_ndb/t/rpl_ndb_circular_2ch.cnf: remove option --log-slave-updates mysql-test/suite/rpl_ndb/t/rpl_ndb_circular_2ch.test: ndbcluster only supports mixed or row binlog format
-
- 30 Oct, 2008 1 commit
-
-
Mats Kindahl authored
-
- 29 Oct, 2008 4 commits
-
-
Mats Kindahl authored
-
Mats Kindahl authored
mysql-test/extra/rpl_tests/rpl_log.test: Using RESET MASTER in the middle of a sequence of statements cause a race condition between the dump thread sending the preceeding statements to the slave and the RESET MASTER. mysql-test/suite/federated/federated.test: Fixing include paths. mysql-test/suite/federated/federated_bug_25714.test: Removing extreneous lines added by merge. mysql-test/suite/rpl/t/rpl_circular_for_4_hosts.test: Correcting typo (the spaces following the connection name was included as part of the name). mysql-test/t/distinct.test: Correcting paths.
-
Sven Sandberg authored
Removed the flag that disables innodb on slave in the default configuration of replication tests. That made the explicit --innodb flag in -slave.opt files redundant, so lots of -slave.opt files could be removed. Also, -master.opt files containing reduntant --innodb flag were removed (those were redundant even without changing the default). Removing .opt files is good because .opt files cause server restarts and make tests less readable. Also fixed a bug where rpl_innodb_mixed_ddl unintentionally used myisam on slave. mysql-test/suite/rpl/r/rpl_innodb.result: updated result file mysql-test/suite/rpl/r/rpl_innodb_mixed_ddl.result: updated result file. this is how the test is supposed to be, it was a bug that it used myisam on the slave. mysql-test/suite/rpl/rpl_1slave_base.cnf: Removed flag to disable innodb on slave, and added explicit --loose-innodb flags on both master and slave. mysql-test/suite/rpl/t/rpl_innodb.test: Ensure that the slave uses myisam (this was previously done by not adding the --innodb flag on slave).
-
Mats Kindahl authored
-
- 24 Oct, 2008 1 commit
-
-
Mats Kindahl authored
-
- 23 Oct, 2008 2 commits
-
-
Mats Kindahl authored
-
Sven Sandberg authored
Problem: In the mysqltest language, it was not possible to set the current connection from a variable, and it was not possible to read the current connection. Fix: Allow setting the connection from a variable, like: connection $variable; and introduce the mysqltest language variable $CURRENT_CONNECTION, which holds the name of the current connection. client/mysqltest.cc: - Made select_connection use the common argument parser instead of its own home-rolled version. That allows variable expansion, for instance. - Made select_connection_name set the variable $CURRENT_CONNECTION, so that test scripts can use that. - Refactored a bit so that stuff that needs to be done when changing connection is located to one place. mysql-test/t/mysqltest.test: Added test case for $CURRENT_CONNECTION and "connection $variable"
-
- 21 Oct, 2008 1 commit
-
-
Kristofer Pettersson authored
Debug builds of MySQL 5.1, 6.0 with Sun Studio 12 broke because of use of gcc specific feature. The fix is to replace __FUNCTION__ with the corresponding character string
-
- 18 Oct, 2008 1 commit
-
-
Sven Sandberg authored
Problem 1: not_embedded_server runs SELECT FROM I_S.PROCESSLIST near the beginning. check_testcase executes a query to the server before that. There is a race here, because there is no guarantee that the thread executing check_testcase's query is finished. Problem 2: The SELECT FROM I_S.PROCESSLIST doens't seem very useful in the test. It's at least misplaced. Fix to both problems: Comment out SELECT FROM I_S.PROCESSLIST. mysql-test/t/not_embedded_server.test: Commented out failing / useless test.
-
- 13 Oct, 2008 2 commits
-
-
Sven Sandberg authored
Problem: during a refactoring of mtr, a pattern for suppressing a warning from lowercase_table3 was lost. Fix: re-introduce the suppression. Problem 2: suppression was misspelt as supression. Fixed by adding a p. mysql-test/include/mtr_warnings.sql: fixed spelling error mysql-test/suite/rpl/t/rpl_bug33931.test: fixed spelling error mysql-test/suite/rpl/t/rpl_idempotency.test: fixed spelling error mysql-test/suite/rpl/t/rpl_temporary.test: fixed spelling error mysql-test/suite/rpl/t/rpl_temporary_errors.test: fixed spelling error mysql-test/t/lowercase_table3.test: fixed spelling error
-
Sven Sandberg authored
Post-push fixes making it work on pushbuild's valgrind host, and clarifying the output. mysql-test/lib/My/CoreDump.pm: - Improved parsing of mtr output so that it works on pushbuild's "valgrind" host. - Added stack trace for the thread that coredumped, to make output more readable when there are many threads. - Added explanation of what the output consists of. - Added early removal of temp file.
-
- 11 Oct, 2008 3 commits
-
-
Magnus Svensson authored
-
Magnus Svensson authored
-
Magnus Svensson authored
-
- 10 Oct, 2008 3 commits
-
-
Magnus Svensson authored
BUG#39008 Additional fix after review, remove files that could potentially be set to path outside datadir
-
unknown authored
-
Magnus Svensson authored
-
- 09 Oct, 2008 4 commits
-
-
Gleb Shchepa authored
-
Gleb Shchepa authored
derived table cause crash When a multi-UPDATE command fails to lock some table, and subsequently succeeds, the tables need to be reopened if they were altered. But the reopening procedure failed for derived tables. Extra cleanup has been added. mysql-test/r/lock_multi.result: Added test case for bug #38499. mysql-test/t/lock_multi.test: Added test case for bug #38499. sql/sql_union.cc: Bug#38499: flush tables and multitable table update with derived table cause crash Obsolete assertion has been removed. sql/sql_update.cc: Bug#38499: flush tables and multitable table update with derived table cause crash Extra cleanup for derived tables has been added: 1) unit.cleanup(), 2) unit->reinit_exec_mechanism().
-
Georgi Kodinov authored
-
Georgi Kodinov authored
Fixed a compilation warning
-
- 08 Oct, 2008 15 commits
-
-
Magnus Svensson authored
-
Magnus Svensson authored
-
Magnus Svensson authored
-
Magnus Svensson authored
-
Magnus Svensson authored
-
Magnus Svensson authored
BUG#38559 Annoying cygwin problem fixed by resolving pid->winpid before kill instead of just after fork
-
Magnus Svensson authored
-
Magnus Svensson authored
-
Magnus Svensson authored
-
Georgi Kodinov authored
-
Georgi Kodinov authored
-
Ramil Kalimullin authored
upgrade from <=5.0.46 to >=5.0.48 Problem: 'check table .. for upgrade' doesn't detect incompatible collation changes made in 5.0.48. Fix: check for incompatible collation changes. sql/handler.cc: Fix for bug#39585: innodb and myisam corruption after binary upgrade from <=5.0.46 to >=5.0.48 - check for incompatible collation changes made in 5.0.48: bug #29461 latin7_general_ci latin7_general_cs latin7_estonian_cs latin2_hungarian_ci koi8u_general_ci cp1251_ukrainian_ci cp1250_general_ci bug #29499, bug #27562 ascii_general_ci
-
Mats Kindahl authored
-
Georgi Kodinov authored
-
Mats Kindahl authored
The failure was caused by executing a CREATE-SELECT statement that creates a table in another database than the current one. In row-based logging, the CREATE statement was written to the binary log without the database, hence creating the table in the wrong database, causing the following inserts to fail since the table didn't exist in the given database. Fixed the bug by adding a parameter to store_create_info() that will make the function print the database name before the table name and used that in the calls that write the CREATE statement to the binary log. The database name is only printed if it is different than the currently selected database. The output of SHOW CREATE TABLE has not changed and is still printed without the database name. mysql-test/suite/rpl/t/rpl_row_create_table.test: Added test to check that CREATE-SELECT into another database than the current one replicates. sql/sql_insert.cc: Adding parameter to calls to store_create_info(). sql/sql_show.cc: Adding parameter to calls to store_create_info(). Extending store_create_info() with parameter 'show_database' that will cause the database to be written before the table name. sql/sql_show.h: Adding parameter to call to store_create_info() to tell if the database should be shown or not. sql/sql_table.cc: Adding parameter to calls to store_create_info().
-