mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-09-19 02:27:55 +08:00
Fixed bug in ODBC driver causing incomplete data on SQLGetData when doing SQLFetch and SQLGetData for one column in a loop if there was an incomplete fetch of some previous dataset
This commit is contained in:
@@ -1230,6 +1230,7 @@ SQLRETURN SQL_API SQLFetch(
|
||||
|
||||
if (mdb_fetch_row(env->sql->cur_table)) {
|
||||
stmt->rows_affected++;
|
||||
stmt->pos=0;
|
||||
return SQL_SUCCESS;
|
||||
} else {
|
||||
return SQL_NO_DATA_FOUND;
|
||||
|
Reference in New Issue
Block a user