diff options
author | Wez Furlong <wez@php.net> | 2004-12-26 18:13:52 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2004-12-26 18:13:52 +0000 |
commit | 823d48bd37e4ca2c053f85e2ce4825f5d987fde6 (patch) | |
tree | 1ce9b697a04bc494c36c30cacb938dfb4e30226c /ext/pdo_sqlite/sqlite_driver.c | |
parent | c2ef1ad438255a8ee70d77a4adb11fc840782d00 (diff) | |
download | php-git-823d48bd37e4ca2c053f85e2ce4825f5d987fde6.tar.gz |
hmmmmm. Bound params *were* working this way before, but now it seems that
I have to bind them as text.
Diffstat (limited to 'ext/pdo_sqlite/sqlite_driver.c')
-rw-r--r-- | ext/pdo_sqlite/sqlite_driver.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/pdo_sqlite/sqlite_driver.c b/ext/pdo_sqlite/sqlite_driver.c index 7be1dab798..b77c231caa 100644 --- a/ext/pdo_sqlite/sqlite_driver.c +++ b/ext/pdo_sqlite/sqlite_driver.c @@ -127,8 +127,9 @@ static int sqlite_handle_preparer(pdo_dbh_t *dbh, const char *sql, long sql_len, stmt->methods = &sqlite_stmt_methods; i = sqlite3_prepare(H->db, sql, sql_len, &S->stmt, &tail); - if (i == SQLITE_OK) + if (i == SQLITE_OK) { return 1; + } pdo_sqlite_error(dbh); |