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:
Julien Fischer
2017-09-27 01:49:12 -04:00
parent f15520d4d8
commit ef110c14e9

View File

@@ -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++) {