Merge pull request #14442 from owncloud/fix-oracle-ci-master
Close the cursor after the affected count has been extracted.
This commit is contained in:
commit
8bd3d55517
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue