Fix export of queries with empty WHERE clause (bug #990330).
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$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>
|
2004-07-15 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* tbl_change.php: bug 990959, undefined index for DATETIME
|
* tbl_change.php: bug 990959, undefined index for DATETIME
|
||||||
field (problem in UTF-8 only!)
|
field (problem in UTF-8 only!)
|
||||||
|
@@ -42,7 +42,7 @@ if (isset($sql_query)) {
|
|||||||
$sql_query .= $conj . '( ' . $key . ' ) ';
|
$sql_query .= $conj . '( ' . $key . ' ) ';
|
||||||
$conj = 'OR ';
|
$conj = 'OR ';
|
||||||
}
|
}
|
||||||
} else {
|
} elseif (!empty($analyzed_sql[0]['where_clause'])) {
|
||||||
$sql_query .= ' WHERE ' . $analyzed_sql[0]['where_clause'];
|
$sql_query .= ' WHERE ' . $analyzed_sql[0]['where_clause'];
|
||||||
}
|
}
|
||||||
if (!empty($analyzed_sql[0]['group_by_clause'])) {
|
if (!empty($analyzed_sql[0]['group_by_clause'])) {
|
||||||
|
Reference in New Issue
Block a user