QC: Exclude statement that qc_sqlite does not parse

This commit is contained in:
Johan Wikman
2017-01-17 12:47:13 +02:00
parent f9440a6b35
commit 20034b6fd6
2 changed files with 13 additions and 6 deletions

View File

@ -831,12 +831,13 @@ DROP TABLE t1;
CREATE TABLE t1 (f1 int);
CREATE TABLE t2 (f1 int);
INSERT INTO t2 VALUES (1);
CREATE VIEW v1 AS SELECT * FROM t2;
#MXS INSERT INTO t2 VALUES (1);
#MXS CREATE VIEW v1 AS SELECT * FROM t2;
PREPARE stmt FROM 'UPDATE t2 AS A NATURAL JOIN v1 B SET B.f1 = 1';
EXECUTE stmt;
EXECUTE stmt;
#qc_sqlite.c does not parse this completely.
#MXS PREPARE stmt FROM 'UPDATE t2 AS A NATURAL JOIN v1 B SET B.f1 = 1';
#MXS EXECUTE stmt;
#MXS EXECUTE stmt;
DEALLOCATE PREPARE stmt;