You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"INSERT INTO keyless VALUES ();", // unsupported syntax
321
+
"INSERT INTO keyless () VALUES ();", // unsupported syntax
322
+
"INSERT INTO mytable (s, i) VALUES ('x', '10.0');", // type mismatch
323
+
"INSERT INTO mytable (s, i) VALUES ('x', '64.6');", // type mismatch
324
+
"INSERT INTO mytable SET s = 'x', i = 999;", // unsupported syntax
325
+
"INSERT INTO mytable SET i = 999, s = 'x';", // unsupported syntax
326
+
`INSERT INTO mytable (i,s) SELECT i * 2, concat(s,s) from mytable order by 1 desc limit 1`, // type error
327
+
"INSERT INTO mytable VALUES (999, _binary 'x');", // unsupported syntax
328
+
"INSERT INTO mytable SET i = 999, s = _binary 'x';", // unsupported syntax
329
+
"INSERT INTO mytable (i,s) values (1,'hi') ON DUPLICATE KEY UPDATE s=VALUES(s)", // unsupported syntax
330
+
"INSERT INTO mytable (s,i) values ('dup',1) ON DUPLICATE KEY UPDATE s=CONCAT(VALUES(s), 'licate')", // unsupported syntax
331
+
"INSERT INTO mytable (i,s) values (1,'mar'), (2,'par') ON DUPLICATE KEY UPDATE s=CONCAT(VALUES(s), 'tial')", // bad translation
332
+
"INSERT INTO mytable (i,s) values (1,'maybe') ON DUPLICATE KEY UPDATE i=VALUES(i)+8000, s=VALUES(s)", // unsupported syntax
333
+
`insert into keyless (c0, c1) select a.c0, a.c1 from (select 1, 1) as a(c0, c1) join keyless on a.c0 = keyless.c0`, // missing result element, needs investigation
334
+
"with t (i,f) as (select 4,'fourth row' from dual) insert into mytable select i,f from t", // WITH unsupported syntax
335
+
"with recursive t (i,f) as (select 4,4 from dual union all select i + 1, i + 1 from t where i < 5) insert into mytable select i,f from t", // WITH unsupported syntax
336
+
"issue 6675: on duplicate rearranged getfield indexes from select source", // panic
337
+
"issue 4857: insert cte column alias with table alias qualify panic", // WITH unsupported syntax
338
+
"sql_mode=NO_auto_value_ON_ZERO", // unsupported
339
+
"explicit DEFAULT", // enum type unsupported
340
+
// "Try INSERT IGNORE with primary key, non null, and single row violations", // insert ignore not supported
341
+
"Insert on duplicate key references table in subquery", // bad translation?
342
+
"Insert on duplicate key references table in aliased subquery", // bad translation?
343
+
"Insert on duplicate key references table in cte", // CTE not supported
344
+
"insert on duplicate key with incorrect row alias", // column "c" could not be found in any table in scope
345
+
"insert on duplicate key update errors", // failing
346
+
"Insert on duplicate key references table in subquery with join", // untranslated
347
+
"INSERT INTO ... SELECT works properly with ENUM", // enum unsupported
348
+
"INSERT INTO ... SELECT works properly with SET", // set unsupported
349
+
"INSERT INTO ... SELECT with TEXT types", // typecasts needed
350
+
"check IN TUPLE constraint with duplicate key update", // error not being thrown
351
+
"INSERT IGNORE works with FK Violations", // ignore not supported
0 commit comments