From 7546b1912a3cf4383be85398f2113265df75a319 Mon Sep 17 00:00:00 2001 From: Michael Meskes Date: Fri, 10 Oct 2008 12:19:18 +0000 Subject: [PATCH] Optional argument should be optional. --- src/interfaces/ecpg/preproc/preproc.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interfaces/ecpg/preproc/preproc.y b/src/interfaces/ecpg/preproc/preproc.y index 3b022c7ff9..cfb1a0fb82 100644 --- a/src/interfaces/ecpg/preproc/preproc.y +++ b/src/interfaces/ecpg/preproc/preproc.y @@ -893,7 +893,7 @@ stmt: AlterDatabaseSetStmt { output_statement($1, 0, connection); } *****************************************************************************/ CreateUserStmt: CREATE USER UserId opt_with OptUserList - { $$ = cat_str(4, make_str("create user"), $3, make_str("with"), $5); } + { $$ = cat_str(4, make_str("create user"), $3, $4, $5); } ; opt_with: WITH { $$ = make_str("with"); } -- 2.39.5