Update core_results.cpp
This commit is contained in:
parent
c1a1a06061
commit
d68300ff53
|
@ -911,6 +911,7 @@ SQLLEN sqlsrv_buffered_result_set::row_count( TSRMLS_D )
|
||||||
return zend_hash_num_elements( cache );
|
return zend_hash_num_elements( cache );
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
// returning -1 to represent getting the rowcount of an empty result set
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue