aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRedMatrix <info@friendica.com>2014-11-14 13:06:07 +1100
committerRedMatrix <info@friendica.com>2014-11-14 13:06:07 +1100
commitf864e3d7d8199e70442cfb40cb244e12c7c3fad0 (patch)
tree039af2153609a6184c5527275baeb236de091ac3
parentd543652002669bc94c1307605ddc7de5a4e0b701 (diff)
parentee38bebbd6a641eb953eacf493c085053442d972 (diff)
downloadvolse-hubzilla-f864e3d7d8199e70442cfb40cb244e12c7c3fad0.tar.gz
volse-hubzilla-f864e3d7d8199e70442cfb40cb244e12c7c3fad0.tar.bz2
volse-hubzilla-f864e3d7d8199e70442cfb40cb244e12c7c3fad0.zip
Merge pull request #693 from habeascodice/master
Add bitwise xor to db_getfunc()
-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);