From 6ccdddebd1387bd57837e52260f6d1483a79d780 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sun, 1 Mar 2015 23:28:32 +0100 Subject: [PATCH] Fixed potential race condition causing the update to fail --- com.woltlab.wcf/update_210.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/com.woltlab.wcf/update_210.sql b/com.woltlab.wcf/update_210.sql index 4cf79cfb5f..1a601d6d9c 100644 --- a/com.woltlab.wcf/update_210.sql +++ b/com.woltlab.wcf/update_210.sql @@ -202,6 +202,7 @@ ALTER TABLE wcf1_page_menu_item ADD originIsSystem TINYINT(1) NOT NULL DEFAULT 0 /* truncate table to ensure consistency */ DELETE FROM wcf1_session; +DELETE FROM wcf1_session_virtual; ALTER TABLE wcf1_session ADD UNIQUE KEY uniqueUserID (userID); -- 2.20.1