the "feature request":
<?
$db = sqlite_open(":memory:");
sqlite_exec($db, "SELECT column");
var_dump(sqlite_error_string(sqlite_last_error($db)));
?>
prints "SQL logic error or missing database", but you don't have a clue
of what error is.
with my patch, you can retrieve the error (in the additional variable)
you get in the Warning message ("no such column: column").
Aha, I see... that is indeed useful. +1
Ilia
I don't have php-src karma, so can you please commit the patch?
Thanks,
Nuno
P.S.:
http://mega.ist.utl.pt/~ncpl/php_sqlite.txt