Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
weblate committed Dec 30, 2013
2 parents 372ccba + ecf1801 commit e441e09
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
1 change: 0 additions & 1 deletion export.php
Expand Up @@ -394,7 +394,6 @@
$export_plugin->exportRoutines($db);
}

$i = 0;
$views = array();

// $tables contains the choices from the user (via $table_select)
Expand Down
14 changes: 7 additions & 7 deletions libraries/export.lib.php
Expand Up @@ -476,10 +476,10 @@ function PMA_exportServer(
&& strpos(' ' . $tmp_select, '|' . $current_db . '|')
) {
if (! $export_plugin->exportDBHeader($current_db)) {
break 2;
break 1;
}
if (! $export_plugin->exportDBCreate($current_db)) {
break 2;
break 1;
}
if (method_exists($export_plugin, 'exportRoutines')
&& strpos($whatStrucOrData, 'structure') !== false
Expand Down Expand Up @@ -507,7 +507,7 @@ function PMA_exportServer(
$is_view ? 'stand_in' : 'create_table', $export_type,
$do_relation, $do_comments, $do_mime, $do_dates
)) {
break 3;
break 2;
}
}
// if this is a view or a merge table, don't export data
Expand All @@ -521,7 +521,7 @@ function PMA_exportServer(
if (! $export_plugin->exportData(
$current_db, $table, $crlf, $err_url, $local_query
)) {
break 3;
break 2;
}
}
// now export the triggers (needs to be done after the data
Expand All @@ -534,7 +534,7 @@ function PMA_exportServer(
'triggers', $export_type,
$do_relation, $do_comments, $do_mime, $do_dates
)) {
break 2;
break 1;
}
}
}
Expand All @@ -548,12 +548,12 @@ function PMA_exportServer(
'create_view', $export_type,
$do_relation, $do_comments, $do_mime, $do_dates
)) {
break 3;
break 2;
}
}
}
if (! $export_plugin->exportDBFooter($current_db)) {
break 2;
break 1;
}
}
} // end foreach database
Expand Down

0 comments on commit e441e09

Please sign in to comment.