diff options
author | alex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-12-21 17:37:35 +0000 |
---|---|---|
committer | alex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-12-21 17:37:35 +0000 |
commit | 1c3e9ba0451c850530e2c31479297e9eb086d9af (patch) | |
tree | d79cbc405572f0819e2edf5e21e46df997d51b78 /frontends | |
parent | bbde600decc1970f1507828fce5ba22c0948519b (diff) | |
download | zabbix-1c3e9ba0451c850530e2c31479297e9eb086d9af.tar.gz zabbix-1c3e9ba0451c850530e2c31479297e9eb086d9af.tar.xz zabbix-1c3e9ba0451c850530e2c31479297e9eb086d9af.zip |
Minor changes.
git-svn-id: svn://svn.zabbix.com/trunk@3626 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends')
-rw-r--r-- | frontends/php/include/db.inc.php | 8 |
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)'; } |