Fixed orphaned sessions issue when game id is changed

This commit is contained in:
MikeMaximus
2018-03-04 09:43:49 -06:00
parent b76a7dd6ab
commit 2e5fa70f58
2 changed files with 5 additions and 4 deletions
+1
View File
@@ -152,6 +152,7 @@ Public Class mgrMonitorList
sSQL &= "Hours=@Hours, Version=@Version, Company=@Company, Enabled=@Enabled, MonitorOnly=@MonitorOnly, BackupLimit=@BackupLimit, "
sSQL &= "CleanFolder=@CleanFolder, Parameter=@Parameter, Comments=@Comments, IsRegEx=@IsRegEx WHERE MonitorID=@QueryID;"
sSQL &= "UPDATE gametags SET MonitorID=@ID WHERE MonitorID=@QueryID;"
sSQL &= "UPDATE sessions SET MonitorID=@ID WHERE MonitorID=@QueryID;"
'Parameters
hshParams = SetCoreParameters(oGame)