Merge pull request #693 from habeascodice/master

Add bitwise xor to db_getfunc()
This commit is contained in:
RedMatrix
2014-11-14 13:06:07 +11:00

View File

@@ -361,6 +361,10 @@ function db_getfunc($f) {
'regexp'=>array(
DBTYPE_MYSQL=>'REGEXP',
DBTYPE_POSTGRES=>'~'
),
'^'=>array(
DBTYPE_MYSQL=>'^',
DBTYPE_POSTGRES=>'#'
)
);
$f = strtolower($f);