]> git.joonet.de Git - adminer.git/commitdiff
MSSQL: Don't seek to top (bug #3610309)
authorJakub Vrana <jakub@vrana.cz>
Thu, 11 Apr 2013 15:46:37 +0000 (08:46 -0700)
committerJakub Vrana <jakub@vrana.cz>
Thu, 11 Apr 2013 16:37:55 +0000 (09:37 -0700)
adminer/select.inc.php

index 51c0aef5c73aedb927189e4e4315f1c9df5f9a2b..9a56c4ac1c0bf54ca1d3cf98b6d5fc7acde78b91 100644 (file)
@@ -260,7 +260,7 @@ if (!$columns) {
        if (!$result) {
                echo "<p class='error'>" . error() . "\n";
        } else {
-               if ($jush == "mssql") {
+               if ($jush == "mssql" && $page) {
                        $result->seek($limit * $page);
                }
                $email_fields = array();