diff options
author | RedMatrix <info@friendica.com> | 2014-11-14 13:06:07 +1100 |
---|---|---|
committer | RedMatrix <info@friendica.com> | 2014-11-14 13:06:07 +1100 |
commit | f864e3d7d8199e70442cfb40cb244e12c7c3fad0 (patch) | |
tree | 039af2153609a6184c5527275baeb236de091ac3 /include/dba/dba_driver.php | |
parent | d543652002669bc94c1307605ddc7de5a4e0b701 (diff) | |
parent | ee38bebbd6a641eb953eacf493c085053442d972 (diff) | |
download | volse-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()
Diffstat (limited to 'include/dba/dba_driver.php')
-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); |