diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2004-05-19 20:44:28 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2004-05-19 20:44:28 +0000 |
commit | 862247693f6fd026e00ccc388807c41ac561c1b5 (patch) | |
tree | d24faf718cbee4036b8c81d7d1634e7c7e4dee03 /ext/pdo_mysql/mysql_statement.c | |
parent | c98a99c2632ae4fd601d06eb372d828d7bb349bf (diff) | |
download | php-git-862247693f6fd026e00ccc388807c41ac561c1b5.tar.gz |
Row count cannot be calculated in MySQL without buffering the query.
Diffstat (limited to 'ext/pdo_mysql/mysql_statement.c')
-rwxr-xr-x | ext/pdo_mysql/mysql_statement.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/pdo_mysql/mysql_statement.c b/ext/pdo_mysql/mysql_statement.c index f8e1b3d097..842e9b27a3 100755 --- a/ext/pdo_mysql/mysql_statement.c +++ b/ext/pdo_mysql/mysql_statement.c @@ -76,7 +76,6 @@ static int mysql_stmt_execute(pdo_stmt_t *stmt TSRMLS_DC) stmt->column_count = (int) mysql_num_fields(S->result); S->cols = ecalloc(stmt->column_count, sizeof(pdo_mysql_column)); } - stmt->row_count = (long)mysql_num_rows(S->result); return 1; } |