Commit 2c4527fb authored by Kosov Eugene's avatar Kosov Eugene Committed by Aleksey Midenkov

Tests: added tests for versioned tables with implicitly added fields

parent 6ccae736
......@@ -915,3 +915,17 @@ No A B C D
drop table t1;
drop table t2;
drop procedure verify_vtq;
CREATE TABLE t1(
id BIGINT PRIMARY KEY,
A INT,
B INT
) WITH SYSTEM VERSIONING;
INSERT INTO t1 VALUES(1, 1, 1);
DROP TABLE t1;
CREATE TABLE t1(
id BIGINT PRIMARY KEY,
A INT,
B INT
) WITH SYSTEM VERSIONING ENGINE=INNODB;
INSERT INTO t1 VALUES(1, 1, 1);
DROP TABLE t1;
......@@ -737,4 +737,22 @@ call verify_vtq;
drop table t1;
drop table t2;
drop procedure verify_vtq;
\ No newline at end of file
drop procedure verify_vtq;
# Check whether it is possible to insert rows in a versioned table
# with implicit fields without crash.
CREATE TABLE t1(
id BIGINT PRIMARY KEY,
A INT,
B INT
) WITH SYSTEM VERSIONING;
INSERT INTO t1 VALUES(1, 1, 1);
DROP TABLE t1;
CREATE TABLE t1(
id BIGINT PRIMARY KEY,
A INT,
B INT
) WITH SYSTEM VERSIONING ENGINE=INNODB;
INSERT INTO t1 VALUES(1, 1, 1);
DROP TABLE t1;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment