aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-11-13 18:51:42 -0800
committerfriendica <info@friendica.com>2014-11-13 18:51:42 -0800
commitad8668be9e26c914c9dbb2146e5c26c9ffda5d4c (patch)
tree79c32070ef8360cde480245c2d142b573f4e9079
parent3d55c9da861f892e53d4303f83da37de7d12996f (diff)
parentf864e3d7d8199e70442cfb40cb244e12c7c3fad0 (diff)
downloadvolse-hubzilla-ad8668be9e26c914c9dbb2146e5c26c9ffda5d4c.tar.gz
volse-hubzilla-ad8668be9e26c914c9dbb2146e5c26c9ffda5d4c.tar.bz2
volse-hubzilla-ad8668be9e26c914c9dbb2146e5c26c9ffda5d4c.zip
Merge https://github.com/friendica/red into pending_merge
-rwxr-xr-xinclude/dba/dba_driver.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/dba/dba_driver.php b/include/dba/dba_driver.php
index ddff80d7c..103dc8fcc 100755
--- a/include/dba/dba_driver.php
+++ b/include/dba/dba_driver.php
@@ -361,6 +361,10 @@ function db_getfunc($f) {
'regexp'=>array(
DBTYPE_MYSQL=>'REGEXP',
DBTYPE_POSTGRES=>'~'
+ ),
+ '^'=>array(
+ DBTYPE_MYSQL=>'^',
+ DBTYPE_POSTGRES=>'#'
)
);
$f = strtolower($f);