[PATCH 2/2] fdo#46206 accept an arbitrary query for INSERT
Lionel Elie Mamane
lionel at mamane.lu
Thu Feb 16 22:26:29 PST 2012
---
connectivity/source/parse/sqlbison.y | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/connectivity/source/parse/sqlbison.y b/connectivity/source/parse/sqlbison.y
index 4b85d65..c9d92a9 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);
--
1.7.7.3
--7AUc2qLy4jB3hD7Z--
More information about the LibreOffice
mailing list