From: Alexander Ebert Date: Sun, 1 Mar 2015 22:28:32 +0000 (+0100) Subject: Fixed potential race condition causing the update to fail X-Git-Tag: 2.1.1~29 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6ccdddebd1387bd57837e52260f6d1483a79d780;p=GitHub%2FWoltLab%2FWCF.git Fixed potential race condition causing the update to fail --- 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);