*** empty log message ***
authorMichael Meskes
Thu, 2 Mar 2000 19:33:59 +0000 (19:33 +0000)
committerMichael Meskes
Thu, 2 Mar 2000 19:33:59 +0000 (19:33 +0000)
src/interfaces/ecpg/ChangeLog
src/interfaces/ecpg/preproc/preproc.y

index e6009b454ec7ae71debadf7a3dc64b7667abfc39..846aa8a158a9124e7370a6a2431b4fd6c60c671d 100644 (file)
@@ -843,5 +843,10 @@ Thu Mar  2 11:25:09 CET 2000
    - Fixed some parsing problems. A variable can now be a reserved
      SQL keyword.
    - Made sure double quotes in statements are correctly quoted.
+
+Thu Mar  2 17:42:16 CET 2000
+
+   - Print error message if an indicator array is given for input
+     variables.
    - Set library version to 3.1.0.
    - Set ecpg version to 2.7.0.
index a65c822488cabc5bfc753233964d7a9b0cf0562a..d3abd002286061b873483838992526a1b1ff211a 100644 (file)
@@ -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)); 
 }