Fix for issue 223

This commit is contained in:
yitam 2017-02-09 10:44:33 -08:00
parent 451f84c416
commit 23510b21f1

View file

@ -776,6 +776,7 @@ bool core_sqlsrv_fetch( sqlsrv_stmt* stmt, SQLSMALLINT fetch_orientation, SQLULE
if( stmt->cursor_type == SQL_CURSOR_FORWARD_ONLY ) { if( stmt->cursor_type == SQL_CURSOR_FORWARD_ONLY ) {
stmt->past_fetch_end = true; stmt->past_fetch_end = true;
} }
stmt->fetch_called = false; // reset this flag
return false; return false;
} }