diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-02-20 20:15:22 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-02-20 20:15:22 +0100 |
commit | fcc5f5a4f498d41f806607c06ac1a3e4a0997702 (patch) | |
tree | 5bdf228f48b140d47dcd2e98bbf7f9caab367edb /lib/private | |
parent | 3a6b11d018e693b61cf201232bf5566f1a540b77 (diff) | |
parent | 84a47645b9d6eef678be6a33eafff2e290e4a782 (diff) | |
download | nextcloud-server-fcc5f5a4f498d41f806607c06ac1a3e4a0997702.tar.gz nextcloud-server-fcc5f5a4f498d41f806607c06ac1a3e4a0997702.zip |
Merge pull request #13777 from owncloud/close-cursor
Close cursor for appframework and manipulation queries if applicable
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/db/statementwrapper.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/db/statementwrapper.php b/lib/private/db/statementwrapper.php index a85c0167e0b..2f833a27a61 100644 --- a/lib/private/db/statementwrapper.php +++ b/lib/private/db/statementwrapper.php @@ -69,6 +69,7 @@ class OC_DB_StatementWrapper { return false; } if ($this->isManipulation) { + $this->statement->closeCursor(); return $this->statement->rowCount(); } else { return $this; |