[PATCH 1/2] fdo#46198: NULL is a perfectly fine general_value

Lionel Elie Mamane lionel at mamane.lu
Thu Feb 16 22:03:52 PST 2012


---
 connectivity/source/parse/sqlbison.y |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/connectivity/source/parse/sqlbison.y b/connectivity/source/parse/sqlbison.y
index d77fb14..4b85d65 100755
--- a/connectivity/source/parse/sqlbison.y
+++ b/connectivity/source/parse/sqlbison.y
@@ -1830,7 +1830,7 @@ unsigned_value_spec:
 general_value_spec:
 		parameter
 	| SQL_TOKEN_USER
-	/*	  | SQL_TOKEN_NULL*/
+	| SQL_TOKEN_NULL
 	| SQL_TOKEN_FALSE
 	| SQL_TOKEN_TRUE
 	| SQL_TOKEN_VALUE
@@ -4046,7 +4046,6 @@ else_clause:
 	;
 result:
 		result_expression
-	|	SQL_TOKEN_NULL
 	;
 result_expression:
 	value_exp
-- 
1.7.7.3


--7AUc2qLy4jB3hD7Z
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="0002-fdo-46206-accept-an-arbitrary-query-for-INSERT.patch"



More information about the LibreOffice mailing list