From 23510b21f10a6555fef888936f2f01c425bee4a7 Mon Sep 17 00:00:00 2001 From: yitam Date: Thu, 9 Feb 2017 10:44:33 -0800 Subject: [PATCH] Fix for issue 223 --- source/shared/core_stmt.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/shared/core_stmt.cpp b/source/shared/core_stmt.cpp index faa0c523..052884ee 100644 --- a/source/shared/core_stmt.cpp +++ b/source/shared/core_stmt.cpp @@ -776,6 +776,7 @@ bool core_sqlsrv_fetch( sqlsrv_stmt* stmt, SQLSMALLINT fetch_orientation, SQLULE if( stmt->cursor_type == SQL_CURSOR_FORWARD_ONLY ) { stmt->past_fetch_end = true; } + stmt->fetch_called = false; // reset this flag return false; }