summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/db.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/include/db.inc.php')
-rw-r--r--frontends/php/include/db.inc.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/frontends/php/include/db.inc.php b/frontends/php/include/db.inc.php
index 89adc68c..02eb76b6 100644
--- a/frontends/php/include/db.inc.php
+++ b/frontends/php/include/db.inc.php
@@ -437,7 +437,13 @@ if(isset($DB_TYPE) && $DB_TYPE == "ORACLE") {
{
global $DB_TYPE;
- if(isset($DB_TYPE) && $DB_TYPE == "SQLITE3") $odiv = '/'; else $odiv = 'div';
+ switch($DB_TYPE)
+ {
+ case "MYSQL":
+ $odiv = 'div';
+ default:
+ $odiv = '/';
+ }
return '('.$id_name.' '.$odiv.' 100000000000000)';
}