aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/DB/AdapterOCI8.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/DB/AdapterOCI8.php')
-rw-r--r--lib/private/DB/AdapterOCI8.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/DB/AdapterOCI8.php b/lib/private/DB/AdapterOCI8.php
index 3eb50916aab..33a30b8348d 100644
--- a/lib/private/DB/AdapterOCI8.php
+++ b/lib/private/DB/AdapterOCI8.php
@@ -37,7 +37,7 @@ class AdapterOCI8 extends Adapter {
return $this->conn->realLastInsertId($table);
}
- const UNIX_TIMESTAMP_REPLACEMENT = "(cast(sys_extract_utc(systimestamp) as date) - date'1970-01-01') * 86400";
+ public const UNIX_TIMESTAMP_REPLACEMENT = "(cast(sys_extract_utc(systimestamp) as date) - date'1970-01-01') * 86400";
public function fixupStatement($statement) {
$statement = preg_replace('/`(\w+)` ILIKE \?/', 'REGEXP_LIKE(`$1`, \'^\' || REPLACE(?, \'%\', \'.*\') || \'$\', \'i\')', $statement);