mirror of
https://github.com/vrana/adminer.git
synced 2025-08-07 23:27:17 +02:00
Fix undefined variable in SQL export
This commit is contained in:
@@ -817,8 +817,9 @@ class Adminer {
|
||||
*/
|
||||
function dumpData($table, $style, $query) {
|
||||
global $connection, $jush;
|
||||
$max_packet = ($jush == "sqlite" ? 0 : 1048576); // default, minimum is 1024
|
||||
if ($style) {
|
||||
$max_packet = ($jush == "sqlite" ? 0 : 1048576); // default, minimum is 1024
|
||||
$fields = array();
|
||||
if ($_POST["format"] == "sql") {
|
||||
if ($style == "TRUNCATE+INSERT") {
|
||||
echo truncate_sql($table) . ";\n";
|
||||
|
Reference in New Issue
Block a user