1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-12 01:24:17 +02:00

Pagination support in Oracle (bug #3306828)

This commit is contained in:
Jakub Vrana
2011-05-24 15:20:13 +02:00
parent baf21724cf
commit 6a491373c2
3 changed files with 9 additions and 1 deletions

View File

@@ -230,6 +230,9 @@ if (!$columns) {
echo "<form action='' method='post' enctype='multipart/form-data'>\n";
$rows = array();
while ($row = $result->fetch_assoc()) {
if ($page && $jush == "oracle") {
unset($row["RNUM"]);
}
$rows[] = $row;
}
// use count($rows) without LIMIT, COUNT(*) without grouping, FOUND_ROWS otherwise (slowest)