From 898ee94c1a8b5b5db09a1bf86d170956c32eb975 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Sun, 20 Nov 2005 23:58:29 +0000 Subject: [PATCH] Fix query splitting in some cases (reported by Marc). --- ChangeLog | 4 ++++ libraries/import/sql.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4bedf2662..576ea48f5 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,10 @@ phpMyAdmin - Changelog $Id$ $Source$ +2005-11-21 Michal Čihař + * libraries/import/sql.php: Fix query splitting in some cases (reported by + Marc). + 2005-11-20 Marc Delisle ### 2.7.0-rc1 released * many files: $dbh becomes $controllink for better contrast with $userlink diff --git a/libraries/import/sql.php b/libraries/import/sql.php index 3c1270685..62872d0bc 100644 --- a/libraries/import/sql.php +++ b/libraries/import/sql.php @@ -89,7 +89,7 @@ if (isset($import_list)) { if (!$endq) break; $i++; // Aren't we at the end? - if ($i == $len) { + if ($finished && $i == $len) { $i--; } else { continue;