diff options
| author | Michael Meskes <meskes@postgresql.org> | 2000-03-02 19:33:59 +0000 |
|---|---|---|
| committer | Michael Meskes <meskes@postgresql.org> | 2000-03-02 19:33:59 +0000 |
| commit | 85b2875a3a00c69a9ba194a93f731384a59015ca (patch) | |
| tree | 9830812a4dc76d4b468108b66eab71a7c5665827 /src/interfaces/ecpg/preproc | |
| parent | 9309eac1118acbfd14ac287eb1574963d097533f (diff) | |
*** empty log message ***
Diffstat (limited to 'src/interfaces/ecpg/preproc')
| -rw-r--r-- | src/interfaces/ecpg/preproc/preproc.y | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/interfaces/ecpg/preproc/preproc.y b/src/interfaces/ecpg/preproc/preproc.y index a65c822488c..d3abd002286 100644 --- a/src/interfaces/ecpg/preproc/preproc.y +++ b/src/interfaces/ecpg/preproc/preproc.y @@ -5033,6 +5033,9 @@ coutputvariable : cvariable indicator { } cinputvariable : cvariable indicator { + if ($2 != NULL && (find_variable($2))->type->typ == ECPGt_array) + mmerror(ET_ERROR, "arrays of indicators are not allowed on input"); + add_variable(&argsinsert, find_variable($1), ($2 == NULL) ? &no_indicator : find_variable($2)); } |
