mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Merge branch 'bb-10.4-release' into bb-10.5-release
This commit is contained in:
@@ -154,7 +154,7 @@ CREATE TABLE t1 (a INT NOT NULL AUTO_INCREMENT PRIMARY KEY, b VARCHAR(20), c CHA
|
||||
SELECT COUNT(*) FROM t1;
|
||||
--sync_slave_with_master
|
||||
--replace_regex /\'.+\'/'FILE2'/
|
||||
--error 1148
|
||||
--error ER_LOAD_INFILE_CAPABILITY_DISABLED
|
||||
--eval LOAD DATA LOCAL INFILE '$MYSQLTEST_VARDIR/tmp/words2.dat' INTO TABLE t1 (b)
|
||||
SELECT COUNT(*) FROM t1;
|
||||
|
||||
@@ -260,10 +260,12 @@ DROP TABLE IF EXISTS t1,t2,t3;
|
||||
--echo * sql_mode *
|
||||
|
||||
--connection master
|
||||
SET @old_sql_mode_master= @@global.sql_mode;
|
||||
SET @@global.sql_mode=ANSI;
|
||||
SET @@session.sql_mode=ANSI;
|
||||
|
||||
--connection slave
|
||||
SET @old_sql_mode_slave= @@global.sql_mode;
|
||||
SET @@global.sql_mode=TRADITIONAL;
|
||||
SET @@session.sql_mode=TRADITIONAL;
|
||||
|
||||
@@ -292,14 +294,17 @@ DROP TABLE t1;
|
||||
SET @@global.character_set_database=@restore_master_character_set_database;
|
||||
SET @@global.collation_server=@restore_master_collation_server;
|
||||
SET @@global.default_storage_engine=@restore_master_storage_engine;
|
||||
SET @@global.sql_mode=@old_sql_mode_master;
|
||||
--sync_slave_with_master
|
||||
SET @@global.character_set_database=@restore_slave_character_set_database;
|
||||
SET @@global.collation_server=@restore_slave_collation_server;
|
||||
SET @@global.max_heap_table_size=@restore_slave_max_heap_table_size;
|
||||
SET @@global.default_storage_engine=@restore_slave_storage_engine;
|
||||
SET @@global.sql_mode=@old_sql_mode_slave;
|
||||
|
||||
# Put at the end since the test otherwise emptied the table.
|
||||
|
||||
remove_file $MYSQLTEST_VARDIR/tmp/words.dat;
|
||||
remove_file $MYSQLTEST_VARDIR/tmp/words2.dat;
|
||||
--echo
|
||||
call mtr.add_suppression("The table 't[12]' is full");
|
||||
|
||||
|
Reference in New Issue
Block a user