Skip to content
Snippets Groups Projects
Commit 8bd3d555 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Merge pull request #14442 from owncloud/fix-oracle-ci-master

Close the cursor after the affected count has been extracted.
parents cdb4cfd9 5bdf42a9
No related branches found
No related tags found
No related merge requests found
......@@ -79,8 +79,9 @@ class OC_DB_StatementWrapper {
return false;
}
if ($this->isManipulation) {
$count = $this->statement->rowCount();
$this->statement->closeCursor();
return $this->statement->rowCount();
return $count;
} else {
return $this;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment