mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-16708: fix in test failures caused by missing warnings received in prepare response packet
This commit is contained in:
committed by
Sergei Golubchik
parent
b126c3f3fa
commit
ccb0504fb0
@@ -4,7 +4,9 @@
|
||||
CREATE TABLE t1 (a INT, b INT, c INT, vc INT AS (c), UNIQUE(a), UNIQUE(b)) WITH SYSTEM VERSIONING;
|
||||
INSERT IGNORE INTO t1 (a,b,c) VALUES (1,2,3);
|
||||
|
||||
--enable_prepare_warnings
|
||||
SELECT a, b, c FROM t1 INTO OUTFILE '15330.data';
|
||||
--disable_prepare_warnings
|
||||
LOAD DATA INFILE '15330.data' IGNORE INTO TABLE t1 (a,b,c);
|
||||
LOAD DATA INFILE '15330.data' REPLACE INTO TABLE t1 (a,b,c);
|
||||
|
||||
|
@@ -57,7 +57,9 @@ show global variables like 'system_versioning_asof';
|
||||
set global system_versioning_asof= '1900-01-01 00:00:00';
|
||||
show global variables like 'system_versioning_asof';
|
||||
|
||||
--enable_prepare_warnings
|
||||
set global system_versioning_asof= timestamp'1911-11-11 11:11:11.1111119';
|
||||
--disable_prepare_warnings
|
||||
show global variables like 'system_versioning_asof';
|
||||
|
||||
set @ts= timestamp'1900-01-01 00:00:00';
|
||||
@@ -74,7 +76,9 @@ show variables like 'system_versioning_asof';
|
||||
set system_versioning_asof= '1900-01-01 00:00:00';
|
||||
show variables like 'system_versioning_asof';
|
||||
|
||||
--enable_prepare_warnings
|
||||
set system_versioning_asof= timestamp'1911-11-11 11:11:11.1111119';
|
||||
--disable_prepare_warnings
|
||||
show variables like 'system_versioning_asof';
|
||||
|
||||
set @ts= timestamp'1900-01-01 00:00:00';
|
||||
@@ -134,7 +138,9 @@ drop tables t1, t2;
|
||||
--echo #
|
||||
|
||||
SET sql_mode=TIME_ROUND_FRACTIONAL;
|
||||
--enable_prepare_warnings
|
||||
SET @@global.system_versioning_asof= timestamp'2001-12-31 23:59:59.9999999';
|
||||
--disable_prepare_warnings
|
||||
SELECT @@global.system_versioning_asof;
|
||||
SET @@global.system_versioning_asof= DEFAULT;
|
||||
|
||||
|
Reference in New Issue
Block a user