diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-12-20 19:51:37 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-12-20 19:51:37 +0100 |
commit | a61326c141816b5365613c206ef9ac350bfd9935 (patch) | |
tree | 35ca0c7ce85f34d305290adadd5387cbda5ce660 /program/lib/Roundcube/rcube_db.php | |
parent | a079269166d120bcbcb33d34f4b1c8f60d102e32 (diff) |
Fix locking issue in SQLite driver (#1488874)
Diffstat (limited to 'program/lib/Roundcube/rcube_db.php')
-rw-r--r-- | program/lib/Roundcube/rcube_db.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/program/lib/Roundcube/rcube_db.php b/program/lib/Roundcube/rcube_db.php index 47ddc81a6..9283bb0d4 100644 --- a/program/lib/Roundcube/rcube_db.php +++ b/program/lib/Roundcube/rcube_db.php @@ -400,6 +400,10 @@ class rcube_db $this->debug($query); + // destroy reference to previous result, required for SQLite driver (#1488874) + $this->last_result = null; + + // send query $query = $this->dbh->query($query); if ($query === false) { |