From 690571d41d09f453d21298f3ec8115fc76c60414 Mon Sep 17 00:00:00 2001 From: v-dareck Date: Wed, 8 Feb 2017 17:16:02 -0800 Subject: [PATCH] Change tab to spaces. --- source/pdo_sqlsrv/pdo_stmt.cpp | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/source/pdo_sqlsrv/pdo_stmt.cpp b/source/pdo_sqlsrv/pdo_stmt.cpp index 0f29f0b2..06a2cbca 100644 --- a/source/pdo_sqlsrv/pdo_stmt.cpp +++ b/source/pdo_sqlsrv/pdo_stmt.cpp @@ -401,14 +401,13 @@ int pdo_sqlsrv_stmt_close_cursor(pdo_stmt_t *stmt TSRMLS_DC) // to "close the cursor" means we make the statement ready for execution again. To do this, we // skip all the result sets on the current statement. - // If the statement has not been executed there are no next results to iterate over. - if ( driver_stmt->executed == true ) - { - while( driver_stmt->past_next_result_end == false ) { - - core_sqlsrv_next_result( driver_stmt TSRMLS_CC ); - } - } + // If the statement has not been executed there are no next results to iterate over. + if ( driver_stmt->executed == true ) + { + while( driver_stmt->past_next_result_end == false ) { + core_sqlsrv_next_result( driver_stmt TSRMLS_CC ); + } + } } catch( core::CoreException& ) {