mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Bug#28373 mysqltest test case fails with binlog disabled
- Update tests to be independent how the mysqld was started mysql-test/r/mysqltest.result: Update result file mysql-test/t/mysqltest.test: The purpose of these three test is to check that "sync_with_master" detects illegal parameters, the parameter checking is done before sending any command to the server and the "save_master_pos" can be removed in two cases to make the tests independent of mysqld. The thirs test is removed since it's a syntax check that is done after the command has been executed and is done for all comands in mysqltest - it's tested elsewhere and is not specific to "sync_with_master"
This commit is contained in:
@@ -410,7 +410,6 @@ mysqltest: At line 1: Wrong column number to replace_column in 'replace_column a
|
|||||||
mysqltest: At line 1: Wrong column number to replace_column in 'replace_column a 1'
|
mysqltest: At line 1: Wrong column number to replace_column in 'replace_column a 1'
|
||||||
mysqltest: At line 1: Wrong column number to replace_column in 'replace_column 1 b c '
|
mysqltest: At line 1: Wrong column number to replace_column in 'replace_column 1 b c '
|
||||||
mysqltest: At line 1: Invalid integer argument "10!"
|
mysqltest: At line 1: Invalid integer argument "10!"
|
||||||
mysqltest: At line 1: End of line junk detected: "!"
|
|
||||||
mysqltest: At line 1: Invalid integer argument "a"
|
mysqltest: At line 1: Invalid integer argument "a"
|
||||||
mysqltest: At line 1: Missing required argument 'connection name' to command 'connect'
|
mysqltest: At line 1: Missing required argument 'connection name' to command 'connect'
|
||||||
mysqltest: At line 1: Missing required argument 'connection name' to command 'connect'
|
mysqltest: At line 1: Missing required argument 'connection name' to command 'connect'
|
||||||
|
@@ -1227,11 +1227,9 @@ select "a" as col1, "c" as col2;
|
|||||||
# Test sync_with_master
|
# Test sync_with_master
|
||||||
# ----------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------
|
||||||
--error 1
|
--error 1
|
||||||
--exec echo "save_master_pos; sync_with_master 10!;" | $MYSQL_TEST 2>&1
|
--exec echo "sync_with_master 10!;" | $MYSQL_TEST 2>&1
|
||||||
--error 1
|
--error 1
|
||||||
--exec echo "save_master_pos; sync_with_master 10 !;" | $MYSQL_TEST 2>&1
|
--exec echo "sync_with_master a;" | $MYSQL_TEST 2>&1
|
||||||
--error 1
|
|
||||||
--exec echo "save_master_pos; sync_with_master a;" | $MYSQL_TEST 2>&1
|
|
||||||
|
|
||||||
# ----------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------
|
||||||
# Test connect
|
# Test connect
|
||||||
|
Reference in New Issue
Block a user