diff options
| author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-05-19 13:46:43 +0000 |
|---|---|---|
| committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-05-19 13:46:43 +0000 |
| commit | fd4edd75ec48f07a52452ad656d6c9c8c9ca5e6c (patch) | |
| tree | b6a6df5a22d915d09121da3b144b17cf278ac475 /frontends/php/include/db.inc.php | |
| parent | 31d9e6b70ef05592fecb19ffdb4a0068c0ef0b05 (diff) | |
| download | zabbix-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.php | 2 |
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){ |
