From 7c4efbcad8817a42001f8636f1f467e8db1a8cd8 Mon Sep 17 00:00:00 2001 From: v-kaywon Date: Tue, 28 Mar 2017 09:29:57 -0700 Subject: [PATCH] Update core_sqlsrv.h --- source/shared/core_sqlsrv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/shared/core_sqlsrv.h b/source/shared/core_sqlsrv.h index 7a46ca70..af72ce7e 100644 --- a/source/shared/core_sqlsrv.h +++ b/source/shared/core_sqlsrv.h @@ -2048,7 +2048,7 @@ namespace core { // instead of throwing an exception, return 0 if the r=-1, stament has been executed, and has a HY010 error // (HY010 error should not return if stmt->execute is true) #ifndef _WIN32 - if ( r == -1 && stmt->execute && strcmp( reinterpret_cast( stmt->last_error()->sqlstate ), "HY010" ) == 0 ) + if ( r == -1 && stmt->executed && strcmp( reinterpret_cast( stmt->last_error()->sqlstate ), "HY010" ) == 0 ) return 0; #endif // !_WIN32