mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Removing clucking debug and tweak the reset call
This commit is contained in:
parent
e7a6eca69d
commit
69a91aae8e
1 changed files with 1 additions and 2 deletions
|
@ -51,7 +51,7 @@ static int pdo_sqlite_stmt_execute(pdo_stmt_t *stmt TSRMLS_DC)
|
|||
pdo_sqlite_db_handle *H = S->H;
|
||||
int i;
|
||||
|
||||
if (stmt->executed) {
|
||||
if (stmt->executed && !S->done) {
|
||||
sqlite3_reset(S->stmt);
|
||||
}
|
||||
|
||||
|
@ -149,7 +149,6 @@ static int pdo_sqlite_stmt_fetch(pdo_stmt_t *stmt TSRMLS_DC)
|
|||
return 0;
|
||||
|
||||
default:
|
||||
printf("cluck done=%d pre_fetched=%d executed=%d\n", S->done, S->pre_fetched, stmt->executed);
|
||||
pdo_sqlite_error_stmt(stmt);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue