summaryrefslogtreecommitdiff
path: root/program/lib/Roundcube/rcube_db.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-12-20 19:51:37 +0100
committerAleksander Machniak <alec@alec.pl>2012-12-20 19:51:37 +0100
commita61326c141816b5365613c206ef9ac350bfd9935 (patch)
tree35ca0c7ce85f34d305290adadd5387cbda5ce660 /program/lib/Roundcube/rcube_db.php
parenta079269166d120bcbcb33d34f4b1c8f60d102e32 (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.php4
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) {