summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/preproc/variable.c
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2003-09-22 13:19:39 +0000
committerMichael Meskes <meskes@postgresql.org>2003-09-22 13:19:39 +0000
commit22c0b1f0f40799adc4cb25017da7c7d11598e5d7 (patch)
treeca845c6dacaa3a4e588eaaf9b2d11598a7ebe6a6 /src/interfaces/ecpg/preproc/variable.c
parent8839b85ed8ffea2250b3976225044e3cb90b2eed (diff)
- Fixed order mismatch in processing "using" arguments.
- Fixed some minor things in test cases. - Use defines for Informix error codes.
Diffstat (limited to 'src/interfaces/ecpg/preproc/variable.c')
-rw-r--r--src/interfaces/ecpg/preproc/variable.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/preproc/variable.c b/src/interfaces/ecpg/preproc/variable.c
index d13561ab0ca..7a3875832ab 100644
--- a/src/interfaces/ecpg/preproc/variable.c
+++ b/src/interfaces/ecpg/preproc/variable.c
@@ -345,7 +345,9 @@ reset_variables(void)
argsresult = NULL;
}
-/* Insert a new variable into our request list. */
+/* Insert a new variable into our request list.
+ * Note: The list is dumped from the end,
+ * so we have to add new entries at the beginning */
void
add_variable(struct arguments ** list, struct variable * var, struct variable * ind)
{