Commit acd39d3e authored by Alexander Butenko's avatar Alexander Butenko

Fix for a onDuplicate testcase

parent bd30f30d
...@@ -191,6 +191,7 @@ $user = Array ('login' => 'user3', ...@@ -191,6 +191,7 @@ $user = Array ('login' => 'user3',
); );
$updateColumns = Array ("updatedAt"); $updateColumns = Array ("updatedAt");
$insertLastId = "id"; $insertLastId = "id";
sleep(1);
$db->onDuplicate($updateColumns, "id"); $db->onDuplicate($updateColumns, "id");
$db->insert("users", $user); $db->insert("users", $user);
$nUser = $db->where('login','user3')->get('users'); $nUser = $db->where('login','user3')->get('users');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment