mirror of
https://github.com/MariaDB/server.git
synced 2025-07-21 21:22:27 +03:00
This patch adds for "--ps-protocol" second execution of queries "SELECT". Also in this patch it is added ability to disable/enable (--disable_ps2_protocol/--enable_ps2_protocol) second execution for "--ps-prototocol" in testcases.
15 lines
493 B
Plaintext
15 lines
493 B
Plaintext
#
|
|
# MDEV-15330 Server crash or assertion `table->insert_values' failure in write_record upon LOAD DATA
|
|
#
|
|
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);
|
|
|
|
--disable_ps2_protocol
|
|
SELECT a, b, c FROM t1 INTO OUTFILE '15330.data';
|
|
--enable_ps2_protocol
|
|
LOAD DATA INFILE '15330.data' IGNORE INTO TABLE t1 (a,b,c);
|
|
LOAD DATA INFILE '15330.data' REPLACE INTO TABLE t1 (a,b,c);
|
|
|
|
# Cleanup
|
|
DROP TABLE t1;
|