aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/DB/ConnectionAdapter.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-07-19 12:54:40 +0200
committerJoas Schilling <coding@schilljs.com>2024-07-19 14:13:56 +0200
commitb656edc47c50376140971e11d1325147cb1e49c9 (patch)
treec6ed85e0619d3eabfcf00fa0ae281ed4b40d2f8b /lib/private/DB/ConnectionAdapter.php
parent817ca0045a4271af6737884a3424587ba29948cb (diff)
downloadnextcloud-server-b656edc47c50376140971e11d1325147cb1e49c9.tar.gz
nextcloud-server-b656edc47c50376140971e11d1325147cb1e49c9.zip
fix(db): Fix md5 for oracle >= 20
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/DB/ConnectionAdapter.php')
-rw-r--r--lib/private/DB/ConnectionAdapter.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/private/DB/ConnectionAdapter.php b/lib/private/DB/ConnectionAdapter.php
index 8a919696eaa..b7225169e4c 100644
--- a/lib/private/DB/ConnectionAdapter.php
+++ b/lib/private/DB/ConnectionAdapter.php
@@ -232,4 +232,12 @@ class ConnectionAdapter implements IDBConnection {
public function getDatabaseProvider(): string {
return $this->inner->getDatabaseProvider();
}
+
+ /**
+ * @internal Should only be used inside the QueryBuilder, ExpressionBuilder and FunctionBuilder
+ * All apps and API code should not need this and instead use provided functionality from the above.
+ */
+ public function getServerVersion(): string {
+ return $this->inner->getServerVersion();
+ }
}