1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Parser, SQL: (0.4) TRANSACTION support in queries

Syntax extension: TIMESTAMP/TRANSACTION keyword can be used before FROM ... TO, BETWEEN ... AND.
Example:
    SELECT * FROM t1 FOR SYSTEM_TIME TIMESTAMP FROM '1-1-1' TO NOW();

Closes #27
This commit is contained in:
Aleksey Midenkov
2016-10-14 13:25:28 +00:00
parent a22cbc453f
commit 6d89a4a49b
6 changed files with 101 additions and 31 deletions

View File

@@ -33,9 +33,9 @@
#include "sql_signal.h"
void LEX::parse_error()
void LEX::parse_error(uint err_number)
{
thd->parse_error();
thd->parse_error(err_number);
}