summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2012-02-17 07:26:29 +0100
committerPetr Mladek <pmladek@suse.cz>2012-02-21 15:16:30 +0100
commit02dc763291630f7cb4cd9342e8937f3abb92dbc2 (patch)
tree776e63dee746b9dc5a6e1b6043bd4076c9e8dddb
parent3a61c9f1c51893b242ccf5bb20163b72721a2bf0 (diff)
fdo#46206 accept an arbitrary query for INSERT
Signed-off-by: Petr Mladek <pmladek@suse.cz>
-rwxr-xr-xconnectivity/source/parse/sqlbison.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/parse/sqlbison.y b/connectivity/source/parse/sqlbison.y
index 742b9cfba258..eb6467e75ca2 100755
--- a/connectivity/source/parse/sqlbison.y
+++ b/connectivity/source/parse/sqlbison.y
@@ -770,7 +770,7 @@ fetch_statement:
;
insert_statement:
- SQL_TOKEN_INSERT SQL_TOKEN_INTO table_node opt_column_commalist values_or_query_spec
+ SQL_TOKEN_INSERT SQL_TOKEN_INTO table_node opt_column_commalist query_exp
{$$ = SQL_NEW_RULE;
$$->append($1);
$$->append($2);