From d039cf66a7244476145186d2432c3cafe2f5acc8 Mon Sep 17 00:00:00 2001 From: David Puglielli Date: Wed, 27 Sep 2017 17:18:38 -0700 Subject: [PATCH] Fixed typos --- source/sqlsrv/stmt.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/sqlsrv/stmt.cpp b/source/sqlsrv/stmt.cpp index 4404bf41..70f93e2c 100644 --- a/source/sqlsrv/stmt.cpp +++ b/source/sqlsrv/stmt.cpp @@ -572,10 +572,10 @@ PHP_FUNCTION( sqlsrv_next_result ) throw core::CoreException(); } - bool has_result = core_sqlsrv_has_any_result( driver_stmt ); + bool has_result = core_sqlsrv_has_any_result( stmt ); - if(!driver_stmt->fetch_called){ - CHECK_CUSTOM_ERROR( !has_result, driver_stmt, SQLSRV_ERROR_NO_FIELDS ) { + if(!stmt->fetch_called){ + CHECK_CUSTOM_ERROR( !has_result, stmt, SQLSRV_ERROR_NO_FIELDS ) { throw core::CoreException(); } }