fixed indentations on rowCount
This commit is contained in:
parent
f3656481d5
commit
b8a162fa18
|
@ -2082,16 +2082,16 @@ namespace core {
|
||||||
|
|
||||||
r = ::SQLRowCount( stmt->handle(), &rows_affected );
|
r = ::SQLRowCount( stmt->handle(), &rows_affected );
|
||||||
|
|
||||||
// On Linux platform
|
// On Linux platform
|
||||||
// DriverName: libmsodbcsql-13.0.so.0.0
|
// DriverName: libmsodbcsql-13.0.so.0.0
|
||||||
// DriverODBCVer: 03.52
|
// DriverODBCVer: 03.52
|
||||||
// DriverVer: 13.00.0000
|
// DriverVer: 13.00.0000
|
||||||
// unixODBC: 2.3.1
|
// unixODBC: 2.3.1
|
||||||
// r = ::SQLRowCount( stmt->handle(), &rows_affected );
|
// r = ::SQLRowCount( stmt->handle(), &rows_affected );
|
||||||
// returns r=-1 for an empty result set.
|
// returns r=-1 for an empty result set.
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
if( r == -1 && rows_affected == -1 )
|
if( r == -1 && rows_affected == -1 )
|
||||||
return 0;
|
return 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
CHECK_SQL_ERROR_OR_WARNING( r, stmt ) {
|
CHECK_SQL_ERROR_OR_WARNING( r, stmt ) {
|
||||||
|
|
Loading…
Reference in a new issue