summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBernhard Posselt <Raydiation@users.noreply.github.com>2015-02-24 12:58:36 +0100
committerBernhard Posselt <Raydiation@users.noreply.github.com>2015-02-24 12:58:36 +0100
commitfd3663f56385dbcbf09d908a1232766b211e602d (patch)
treef2c90155e7b2e8cf5260a216a8f8b462128f5fa1 /lib
parente08ebe87dcd748deecba52714cf2711095671475 (diff)
downloadnextcloud-server-fd3663f56385dbcbf09d908a1232766b211e602d.tar.gz
nextcloud-server-fd3663f56385dbcbf09d908a1232766b211e602d.zip
Dont break code which relies on the cursor being open after insert/update/delete
Diffstat (limited to 'lib')
-rw-r--r--lib/private/db/statementwrapper.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/private/db/statementwrapper.php b/lib/private/db/statementwrapper.php
index 14b68d60f43..30f40172109 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;