projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b88353
)
Added SQL to list of allowed variable names.
author
Michael Meskes
<
[email protected]
>
Wed, 4 Jun 2008 12:27:30 +0000
(12:27 +0000)
committer
Michael Meskes
<
[email protected]
>
Wed, 4 Jun 2008 12:27:30 +0000
(12:27 +0000)
src/interfaces/ecpg/preproc/preproc.y
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/ecpg/preproc/preproc.y
b/src/interfaces/ecpg/preproc/preproc.y
index f341ad558c757a22485826ebcba3f31e536c54d5..84d4f72502cd4d318bb8123bb6e5fcdc70bd1e17 100644
(file)
--- a/
src/interfaces/ecpg/preproc/preproc.y
+++ b/
src/interfaces/ecpg/preproc/preproc.y
@@
-6078,6
+6078,7
@@
ECPGKeywords_vanames: SQL_BREAK { $$ = make_str("break"); }
| SQL_RETURNED_OCTET_LENGTH { $$ = make_str("returned_octet_length"); }
| SQL_SCALE { $$ = make_str("scale"); }
| SQL_SECTION { $$ = make_str("section"); }
+ | SQL_SQL { $$ = make_str("sql"); }
| SQL_SQLERROR { $$ = make_str("sqlerror"); }
| SQL_SQLPRINT { $$ = make_str("sqlprint"); }
| SQL_SQLWARNING { $$ = make_str("sqlwarning"); }