From fd3663f56385dbcbf09d908a1232766b211e602d Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Tue, 24 Feb 2015 12:58:36 +0100 Subject: [PATCH] Dont break code which relies on the cursor being open after insert/update/delete --- lib/private/db/statementwrapper.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/private/db/statementwrapper.php b/lib/private/db/statementwrapper.php index 14b68d60f4..30f4017210 100644 --- a/lib/private/db/statementwrapper.php +++ b/lib/private/db/statementwrapper.php @@ -80,7 +80,6 @@ class OC_DB_StatementWrapper { } if ($this->isManipulation) { $count = $this->statement->rowCount(); - $this->statement->closeCursor(); return $count; } else { return $this;