diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-01-12 13:57:46 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-01-12 16:28:11 +0100 |
commit | 1d2bef0a0116eefdd81221ba7502497845f0747b (patch) | |
tree | deebc29175af5d851fc79cd6a373384b1baf7c00 /lib/private/db/oraclemigrator.php | |
parent | ddf81c2ed988ddce244fd60c2a3a08027e9c228e (diff) | |
download | nextcloud-server-1d2bef0a0116eefdd81221ba7502497845f0747b.tar.gz nextcloud-server-1d2bef0a0116eefdd81221ba7502497845f0747b.zip |
Use a special filter expression for Oracle to filter the prefix - fixes #13220
Diffstat (limited to 'lib/private/db/oraclemigrator.php')
-rw-r--r-- | lib/private/db/oraclemigrator.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/private/db/oraclemigrator.php b/lib/private/db/oraclemigrator.php index b80295cbd60..9ae35023838 100644 --- a/lib/private/db/oraclemigrator.php +++ b/lib/private/db/oraclemigrator.php @@ -51,4 +51,9 @@ class OracleMigrator extends NoCheckMigrator { $script .= PHP_EOL; return $script; } + + protected function getFilterExpression() { + return '/^"' . preg_quote($this->config->getSystemValue('dbtableprefix', 'oc_')) . '/'; + } + } |