From 527da18d12fc32d48858acd51e934ef57ab294fb Mon Sep 17 00:00:00 2001 From: artem Date: Wed, 30 Jul 2008 12:40:42 +0000 Subject: - [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 --- frontends/php/include/db.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'frontends/php/include/db.inc.php') 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.'(':''; -- cgit