summaryrefslogtreecommitdiff
path: root/sql/lex.h
diff options
context:
space:
mode:
authorNikita Malyavin <nikitamalyavin@gmail.com>2019-02-04 09:37:58 +1000
committerSergei Golubchik <serg@mariadb.org>2019-02-21 14:48:04 +0100
commit47e28a94d547a60673dd9bd9bbae56bbc23284f7 (patch)
tree94593b809c9734dd7aba56779aaba8b229185ce4 /sql/lex.h
parent073c93b194d9035482a531eeff5da129f792ad70 (diff)
downloadmariadb-git-47e28a94d547a60673dd9bd9bbae56bbc23284f7.tar.gz
MDEV-16973 Application-time periods: DELETE
* inject portion of time updates into mysql_delete main loop * triggered case emits delete+insert, no updates * PORTION OF `SYSTEM_TIME` is forbidden * `DELETE HISTORY .. FOR PORTION OF ...` is forbidden as well
Diffstat (limited to 'sql/lex.h')
-rw-r--r--sql/lex.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/lex.h b/sql/lex.h
index bcb085279b3..044e21a81f3 100644
--- a/sql/lex.h
+++ b/sql/lex.h
@@ -477,6 +477,7 @@ static SYMBOL symbols[] = {
{ "POINT", SYM(POINT_SYM)},
{ "POLYGON", SYM(POLYGON)},
{ "PORT", SYM(PORT_SYM)},
+ { "PORTION", SYM(PORTION_SYM)},
{ "PRECEDES", SYM(PRECEDES_SYM)},
{ "PRECEDING", SYM(PRECEDING_SYM)},
{ "PRECISION", SYM(PRECISION)},