MDL-17491 oracle dml: problem notes

This commit is contained in:
skodak
2008-12-09 09:03:37 +00:00
parent 841c1b2329
commit 418b74993d
+3 -1
View File
@@ -1118,11 +1118,13 @@ class oci_native_moodle_database extends moodle_database {
}
public function sql_bitor($int1, $int2) {
// TODO: this can not work because the number of params does not match
return '((' . $int1 . ') + (' . $int2 . ') - ' . $this->sql_bitand($int1, $int2) . ')';
}
public function sql_bitxor($int1, $int2) {
return '((' . $int1 . ') # (' . $int2 . '))';
// TODO: this can not work because the number of params does not match
return '(' . sql_bitor($int1, $int2) . ' - ' . $this->sql_bitand($int1, $int2) . ')';
}
/**