mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 09:23:44 +00:00
Fix a problem in the ODBC binding.
Reported by Keri Harris.
extras/odbc/odbc.m:
s/stat/statement/ in a spot.
This commit is contained in:
@@ -1693,7 +1693,7 @@ odbc_do_cleanup_statement(MODBC_Statement *statement)
|
||||
int i;
|
||||
SQLRETURN rc;
|
||||
|
||||
if (stat != NULL) {
|
||||
if (statement != NULL) {
|
||||
MR_DEBUG(printf(""cleaning up statement\\n""));
|
||||
if (statement->row != NULL) {
|
||||
for (i = 1; i <= statement->num_columns; i++) {
|
||||
|
||||
Reference in New Issue
Block a user