diff options
author | Habeas Codice <habeascodice@federated.social> | 2014-11-13 17:57:21 -0800 |
---|---|---|
committer | Habeas Codice <habeascodice@federated.social> | 2014-11-13 17:57:21 -0800 |
commit | ee38bebbd6a641eb953eacf493c085053442d972 (patch) | |
tree | ea90f72d9d308f6cb061a528c1f8494106e70087 | |
parent | a2d9dd18821d4e7717438f4addb41ed310819b8b (diff) | |
download | volse-hubzilla-ee38bebbd6a641eb953eacf493c085053442d972.tar.gz volse-hubzilla-ee38bebbd6a641eb953eacf493c085053442d972.tar.bz2 volse-hubzilla-ee38bebbd6a641eb953eacf493c085053442d972.zip |
Add bitwise xor to db_getfunc()
-rwxr-xr-x | include/dba/dba_driver.php | 4 |
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); |