diff options
| author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-07-30 12:40:42 +0000 |
|---|---|---|
| committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-07-30 12:40:42 +0000 |
| commit | 527da18d12fc32d48858acd51e934ef57ab294fb (patch) | |
| tree | 118903541cb2a0ae3bdf5f30b927d1c3ae203782 /frontends/php/include/db.inc.php | |
| parent | 936ff51ecc479199146600c12f5ef3a1e6977c35 (diff) | |
- [DEV-191] fixes to inline update in "Latest Data" screen (Artem)
- [DEV-137] improvements in HTML validation (Artem)
- [DEV-137] fixes in SQL constructions for MySQL (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5853 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/db.inc.php')
| -rw-r--r-- | frontends/php/include/db.inc.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/frontends/php/include/db.inc.php b/frontends/php/include/db.inc.php index f46ffb93..92456cc6 100644 --- a/frontends/php/include/db.inc.php +++ b/frontends/php/include/db.inc.php @@ -735,8 +735,9 @@ else { $concat = $notin?' AND ':' OR '; switch($DB['TYPE']) { + case 'MYSQL': case 'ORACLE': - $items = array_chunk($array, 1000); + $items = array_chunk($array, 999); foreach($items as $id => $value){ if($notin) $condition.=!empty($condition)?')'.$concat.$fieldname.$in.'(':''; |
