diff options
author | Ingela Anderton Andin <[email protected]> | 2011-08-17 14:43:58 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2011-09-02 09:44:41 +0200 |
commit | 6d28297e06abf065c150bd84dec6aa1d9d5b7efd (patch) | |
tree | b19caf64216c598e8a30f9e16508e4396963e79d /lib/odbc/c_src | |
parent | bb94e589c8495caf7c1fa6ebe808f6983ceaf44a (diff) | |
download | otp-6d28297e06abf065c150bd84dec6aa1d9d5b7efd.tar.gz otp-6d28297e06abf065c150bd84dec6aa1d9d5b7efd.tar.bz2 otp-6d28297e06abf065c150bd84dec6aa1d9d5b7efd.zip |
When using output parameters the internal odbc state was not correctly
cleaned causing the next call to param_query to missbehave.
Also corrected some test code
Diffstat (limited to 'lib/odbc/c_src')
-rw-r--r-- | lib/odbc/c_src/odbcserver.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/odbc/c_src/odbcserver.c b/lib/odbc/c_src/odbcserver.c index 11e311d72d..ab2d7fe210 100644 --- a/lib/odbc/c_src/odbcserver.c +++ b/lib/odbc/c_src/odbcserver.c @@ -772,6 +772,7 @@ static db_result_msg db_param_query(byte *buffer, db_state *state) } associated_result_set(state) = FALSE; param_query(state) = TRUE; + out_params(state) = FALSE; msg = encode_empty_message(); |