diff options
author | Stanley Sufficool <ssufficool@php.net> | 2013-06-01 00:38:09 -0700 |
---|---|---|
committer | Stanley Sufficool <ssufficool@php.net> | 2013-06-01 00:38:09 -0700 |
commit | c34a2757db80ee2a2f35583a73899330397cb35c (patch) | |
tree | 66fef64c8bcf1e5f4cd14450fe3fec1082e7e968 | |
parent | d9be9e0231277b7baf457f9a59dc7616624f8e2e (diff) | |
download | php-git-c34a2757db80ee2a2f35583a73899330397cb35c.tar.gz |
FIX BUG #55647
PDO DBLIB was returning false if there were no results after a
statement was executed. This should be the fetch methods response
not the execute method response.
-rw-r--r-- | ext/pdo_dblib/dblib_stmt.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/pdo_dblib/dblib_stmt.c b/ext/pdo_dblib/dblib_stmt.c index d2b57367fc..c303045a3f 100644 --- a/ext/pdo_dblib/dblib_stmt.c +++ b/ext/pdo_dblib/dblib_stmt.c @@ -146,10 +146,6 @@ static int pdo_dblib_stmt_execute(pdo_stmt_t *stmt TSRMLS_DC) ret = pdo_dblib_stmt_next_rowset(stmt TSRMLS_CC); - if (ret == 0) { - return 0; - } - stmt->row_count = DBCOUNT(H->link); stmt->column_count = dbnumcols(H->link); |