cosmocode/sqlite

PDO possible problem

Closed this issue · 0 comments

https://github.com/cosmocode/sqlite/blob/pdo/classes/adapter_pdosqlite.php#L104

I may be wrong, but it looks like $this->data is never cleared, which would make it do the wrong thing when called more than once. This is also relevant to res2count.

Setting it to null in executeQuery should do it.