mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 17:44:07 +02:00
auto_increment - 1
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@126 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -69,7 +69,7 @@ if ($_POST) {
|
||||
array_splice($row["fields"], key($_POST["add"]), 0, array(array()));
|
||||
}
|
||||
if ($row["auto_increment"]) {
|
||||
$row["fields"][$row["auto_increment"]]["auto_increment"] = true;
|
||||
$row["fields"][$row["auto_increment"] - 1]["auto_increment"] = true;
|
||||
}
|
||||
} elseif (strlen($_GET["create"])) {
|
||||
$result = $mysql->query("SHOW TABLE STATUS LIKE '" . $mysql->escape_string($_GET["create"]) . "'");
|
||||
|
Reference in New Issue
Block a user