summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/preproc/preproc_extern.h
diff options
context:
space:
mode:
authorMichael Meskes2019-01-30 12:58:25 +0000
committerMichael Meskes2019-01-30 13:35:52 +0000
commit7ea38f045dad6bbb7fbe807f2486df7370bc0b0f (patch)
tree4245ff47ee0353ac7cdaddeaae171e1af79c1565 /src/interfaces/ecpg/preproc/preproc_extern.h
parente2f731cdba9b7a79cddc64325990a8f51818877b (diff)
Change error handling of out of scope variables in ecpg.
The function called can result in an out of memory error that subsequently was disregarded. Instead it should set the appropriate SQL error variables and be checked by whatever whenever statement is defined.
Diffstat (limited to 'src/interfaces/ecpg/preproc/preproc_extern.h')
-rw-r--r--src/interfaces/ecpg/preproc/preproc_extern.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/preproc/preproc_extern.h b/src/interfaces/ecpg/preproc/preproc_extern.h
index 97467800dc9..3cdbdabaa36 100644
--- a/src/interfaces/ecpg/preproc/preproc_extern.h
+++ b/src/interfaces/ecpg/preproc/preproc_extern.h
@@ -69,7 +69,7 @@ extern void output_line_number(void);
extern void output_statement(char *, int, enum ECPG_statement_type);
extern void output_prepare_statement(char *, char *);
extern void output_deallocate_prepare_statement(char *);
-extern void output_simple_statement(char *);
+extern void output_simple_statement(char *, int);
extern char *hashline_number(void);
extern int base_yyparse(void);
extern int base_yylex(void);