summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel <mail@danielkesselberg.de>2023-05-03 23:06:59 +0200
committerGitHub <noreply@github.com>2023-05-03 23:06:59 +0200
commitdb73534e09781d0b98d7bb698cc00cba58aac483 (patch)
tree3a1b04b13073f593c56f8a6d91f049efb1472e8f
parente5ba7eb3d574198b096fa8ed098b7838b208a32b (diff)
parenteecdb62e92ec1ccb9d1675ecd402d10c3576f4f7 (diff)
downloadnextcloud-server-db73534e09781d0b98d7bb698cc00cba58aac483.tar.gz
nextcloud-server-db73534e09781d0b98d7bb698cc00cba58aac483.zip
Merge pull request #38016 from nextcloud/oracle-limit-workaround
fix: add workaround for oci and limit queries
-rw-r--r--lib/public/AppFramework/Db/QBMapper.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/public/AppFramework/Db/QBMapper.php b/lib/public/AppFramework/Db/QBMapper.php
index cbe3d39d4d7..57b996b2c0f 100644
--- a/lib/public/AppFramework/Db/QBMapper.php
+++ b/lib/public/AppFramework/Db/QBMapper.php
@@ -317,6 +317,7 @@ abstract class QBMapper {
* @since 14.0.0
*/
protected function mapRowToEntity(array $row): Entity {
+ unset($row['DOCTRINE_ROWNUM']); // remove doctrine/dbal helper column
return \call_user_func($this->entityClass .'::fromRow', $row);
}