Add master table only if it's not empty

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
Madhura Jayaratne 2015-06-12 18:31:02 +05:30
parent 8dacdd198e
commit 393aa8e694

View File

@ -1621,8 +1621,10 @@ class PMA_DbQbe
// Will incldue master tables and all tables that can be combined into
// a cluster by their relation
$finalized = array();
// Add master tables
$finalized[$master] = '';
if (mb_strlen($master) > 0) {
// Add master tables
$finalized[$master] = '';
}
while (true) {
$added = false;