Reenable LIMIT appending (bug #1318624).

This commit is contained in:
Michal Čihař
2005-10-08 20:01:12 +00:00
parent bdbe747f8f
commit fe380f039c
2 changed files with 3 additions and 2 deletions

View File

@@ -66,6 +66,7 @@ $Source$
user, it has to fail.
* libraries/import/sql.php: Fix query parsing when there is comment or
string at the end.
* import.php: Reenable LIMIT appending (bug #1318624).
2005-10-07 Marc Delisle <lem9@users.sourceforge.net>
* libraries/check_user_privileges.lib.php: bug #1313821, dbname containing a

View File

@@ -357,8 +357,8 @@ if (isset($my_die)) {
}
if ($go_sql) {
// cleanup some variables, otherwise we confuse sql.php
unset($pos);
// Set pos to zero to possibly append limit
$pos = 0;
require('./sql.php');
} else {
$active_page = $goto;