SimpleDB: Allow cloning

This commit is contained in:
Jakub Vrana 2013-08-09 17:07:00 -07:00
parent 657191eed8
commit fb886bda4c

View 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()"));
}
}
}