summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--ext/pdo_sqlite/sqlite_statement.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index ea75f7e624..b8ddd15e29 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,8 @@
PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? 2005, PHP 5.1
+- Fixed bug #33841 (pdo sqlite driver forgets to update affected column count
+ on execution of prepared statments).
- Fixed bug #33802 (throw Exception in error handler causes crash). (Dmitry)
- Fixed bug #33710 (ArrayAccess objects doen't initialize $this). (Dmitry)
- Fixed bug #33578 (strtotime() problem with "Oct17" format). (Derick)
diff --git a/ext/pdo_sqlite/sqlite_statement.c b/ext/pdo_sqlite/sqlite_statement.c
index 100a388b5b..823a490281 100644
--- a/ext/pdo_sqlite/sqlite_statement.c
+++ b/ext/pdo_sqlite/sqlite_statement.c
@@ -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;