]> git.joonet.de Git - adminer.git/commitdiff
SimpleDB: Allow cloning
authorJakub Vrana <jakub@vrana.cz>
Sat, 10 Aug 2013 00:07:00 +0000 (17:07 -0700)
committerJakub Vrana <jakub@vrana.cz>
Sat, 10 Aug 2013 00:07:00 +0000 (17:07 -0700)
adminer/edit.inc.php

index 96de9ba0592dde8078b663d5903ba80eb1b4c307..ac47a0d63dac94f1fe8d81c717c30f41e53d8dbf 100644 (file)
@@ -109,7 +109,7 @@ if (!support("table") && !$fields) {
                        if (!$where) {
                                $row[$key] = null;
                        }
-                       $fields[$key] = array("field" => $key, "null" => ($key != "itemName()"));
+                       $fields[$key] = array("field" => $key, "null" => ($key != "itemName()"), "auto_increment" => ($key == "itemName()"));
                }
        }
 }