mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 17:44:07 +02:00
TODO
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@153 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -8,7 +8,7 @@ function dump_table($table, $data = true) {
|
||||
echo $mysql->result($result, 1) . ";\n";
|
||||
$result->free();
|
||||
if ($data) {
|
||||
$result = $mysql->query("SELECT * FROM " . idf_escape($table)); //! enum and set as numbers
|
||||
$result = $mysql->query("SELECT * FROM " . idf_escape($table)); //! enum and set as numbers, binary as _binary
|
||||
if ($result) {
|
||||
while ($row = $result->fetch_row()) {
|
||||
echo "INSERT INTO " . idf_escape($table) . " VALUES ('" . implode("', '", array_map(array($mysql, 'escape_string'), $row)) . "');\n";
|
||||
|
Reference in New Issue
Block a user