Fixed potential race condition causing the update to fail
authorAlexander Ebert <ebert@woltlab.com>
Sun, 1 Mar 2015 22:28:32 +0000 (23:28 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Sun, 1 Mar 2015 22:28:32 +0000 (23:28 +0100)
com.woltlab.wcf/update_210.sql

index 4cf79cfb5f0456bdfc44901ef6f965e7cdc2225e..1a601d6d9c4b189d75eb84e6c74425afe9b62030 100644 (file)
@@ -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);