summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/db.inc.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-05-19 13:46:43 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-05-19 13:46:43 +0000
commitfd4edd75ec48f07a52452ad656d6c9c8c9ca5e6c (patch)
treeb6a6df5a22d915d09121da3b144b17cf278ac475 /frontends/php/include/db.inc.php
parent31d9e6b70ef05592fecb19ffdb4a0068c0ef0b05 (diff)
downloadzabbix-fd4edd75ec48f07a52452ad656d6c9c8c9ca5e6c.tar.gz
zabbix-fd4edd75ec48f07a52452ad656d6c9c8c9ca5e6c.tar.xz
zabbix-fd4edd75ec48f07a52452ad656d6c9c8c9ca5e6c.zip
- [LATV-6] Oracle limit fix (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5716 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/db.inc.php')
-rw-r--r--frontends/php/include/db.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/include/db.inc.php b/frontends/php/include/db.inc.php
index 2a6fbb47..ea537418 100644
--- a/frontends/php/include/db.inc.php
+++ b/frontends/php/include/db.inc.php
@@ -377,7 +377,7 @@
break;
case "ORACLE":
if(is_numeric($limit)){
- $query = 'select * from ('.$query.') where rownum<'.intval($limit);
+ $query = 'select * from ('.$query.') where rownum<='.intval($limit);
}
$result = DBexecute($query);
if(!$result){