Fix export of queries with empty WHERE clause (bug #990330).

This commit is contained in:
Michal Čihař
2004-07-15 14:02:06 +00:00
parent f7c32ff0b9
commit 18fdcca38a
2 changed files with 5 additions and 1 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$
$Source$
2004-07-15 Michal Čihař <michal@cihar.com>
* tbl_properties_export.php: Fix export of queries with empty WHERE clause
(bug #990330).
2004-07-15 Marc Delisle <lem9@users.sourceforge.net>
* tbl_change.php: bug 990959, undefined index for DATETIME
field (problem in UTF-8 only!)

View File

@@ -42,7 +42,7 @@ if (isset($sql_query)) {
$sql_query .= $conj . '( ' . $key . ' ) ';
$conj = 'OR ';
}
} else {
} elseif (!empty($analyzed_sql[0]['where_clause'])) {
$sql_query .= ' WHERE ' . $analyzed_sql[0]['where_clause'];
}
if (!empty($analyzed_sql[0]['group_by_clause'])) {