mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fixed bug #33841 (pdo sqlite driver forgets to update affected column count
on execution of prepared statments).
This commit is contained in:
parent
63d0774ed6
commit
66125c18a3
2 changed files with 3 additions and 0 deletions
|
@ -60,6 +60,7 @@ static int pdo_sqlite_stmt_execute(pdo_stmt_t *stmt TSRMLS_DC)
|
|||
|
||||
case SQLITE_DONE:
|
||||
stmt->column_count = sqlite3_column_count(S->stmt);
|
||||
stmt->row_count = sqlite3_changes(S->H->db);
|
||||
sqlite3_reset(S->stmt);
|
||||
S->done = 1;
|
||||
return 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue