From b8a162fa1858cfce821a64b42d088a155ef463c6 Mon Sep 17 00:00:00 2001 From: Hadis Kakanejadi Fard Date: Thu, 26 Jan 2017 14:43:15 -0800 Subject: [PATCH] fixed indentations on rowCount --- source/shared/core_sqlsrv.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/source/shared/core_sqlsrv.h b/source/shared/core_sqlsrv.h index 8d0adf7a..f51e0f14 100644 --- a/source/shared/core_sqlsrv.h +++ b/source/shared/core_sqlsrv.h @@ -2082,16 +2082,16 @@ namespace core { r = ::SQLRowCount( stmt->handle(), &rows_affected ); - // On Linux platform - // DriverName: libmsodbcsql-13.0.so.0.0 - // DriverODBCVer: 03.52 - // DriverVer: 13.00.0000 - // unixODBC: 2.3.1 - // r = ::SQLRowCount( stmt->handle(), &rows_affected ); - // returns r=-1 for an empty result set. + // On Linux platform + // DriverName: libmsodbcsql-13.0.so.0.0 + // DriverODBCVer: 03.52 + // DriverVer: 13.00.0000 + // unixODBC: 2.3.1 + // r = ::SQLRowCount( stmt->handle(), &rows_affected ); + // returns r=-1 for an empty result set. #ifdef __linux__ - if( r == -1 && rows_affected == -1 ) - return 0; + if( r == -1 && rows_affected == -1 ) + return 0; #endif CHECK_SQL_ERROR_OR_WARNING( r, stmt ) {