From df3e23af45f77dfa1a5b43500eeddd79b7b2bed5 Mon Sep 17 00:00:00 2001 From: v-kaywon Date: Tue, 4 Apr 2017 11:10:56 -0700 Subject: [PATCH] changed default execReturn to SQL_ERROR --- source/shared/core_stmt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/shared/core_stmt.cpp b/source/shared/core_stmt.cpp index d161c662..e44f3d6c 100644 --- a/source/shared/core_stmt.cpp +++ b/source/shared/core_stmt.cpp @@ -659,7 +659,7 @@ void core_sqlsrv_bind_param( sqlsrv_stmt* stmt, SQLUSMALLINT param_num, SQLSMALL SQLRETURN core_sqlsrv_execute( sqlsrv_stmt* stmt TSRMLS_DC, const char* sql, int sql_len ) { - SQLRETURN r = NULL; + SQLRETURN r = SQL_ERROR; try {