aboutsummaryrefslogtreecommitdiffstats
path: root/include/dba/dba_driver.php
diff options
context:
space:
mode:
authorHabeas Codice <habeascodice@federated.social>2014-11-13 17:57:21 -0800
committerHabeas Codice <habeascodice@federated.social>2014-11-13 17:57:21 -0800
commitee38bebbd6a641eb953eacf493c085053442d972 (patch)
treeea90f72d9d308f6cb061a528c1f8494106e70087 /include/dba/dba_driver.php
parenta2d9dd18821d4e7717438f4addb41ed310819b8b (diff)
downloadvolse-hubzilla-ee38bebbd6a641eb953eacf493c085053442d972.tar.gz
volse-hubzilla-ee38bebbd6a641eb953eacf493c085053442d972.tar.bz2
volse-hubzilla-ee38bebbd6a641eb953eacf493c085053442d972.zip
Add bitwise xor to db_getfunc()
Diffstat (limited to 'include/dba/dba_driver.php')
-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);