mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
556a40dce0
This patch was suggested by Sergei Golubchik.
It reverts the second patch from the PR:
commit fa5eeb4931
Fixed ALTER TABLE NOCOPY keyword failure
and adds NOCOPY_SYM into keyword_func_sp_var_and_label.
The price is one extra shift/recuce conflict in yy_oracle.yy.
This should to tolerable.
16 lines
448 B
SQL
16 lines
448 B
SQL
eval CREATE TABLE $keyword (a INT);
|
|
eval DROP TABLE $keyword;
|
|
|
|
eval CREATE TABLE t1 ($keyword int);
|
|
eval SELECT $keyword AS $keyword FROM t1 AS $keyword;
|
|
eval DROP TABLE t1;
|
|
|
|
|
|
eval CREATE TABLE $keyword ($keyword INT);
|
|
eval CREATE TRIGGER $keyword AFTER INSERT ON $keyword FOR EACH ROW BEGIN END;
|
|
eval DROP TRIGGER $keyword;
|
|
eval DROP TABLE $keyword;
|
|
|
|
eval PREPARE $keyword FROM 'select 1';
|
|
eval EXECUTE $keyword;
|
|
eval DEALLOCATE PREPARE $keyword;
|