decomp DBCServer_Release and inspect/document database
This commit is contained in:
parent
4b267cbe05
commit
7834b98bf0
28222 changed files with 843300 additions and 144 deletions
14
decomp/schema/RustyHearts_Auth/procs/up_save_logout.sql
Normal file
14
decomp/schema/RustyHearts_Auth/procs/up_save_logout.sql
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
CREATE procedure [dbo].[up_save_logout]
|
||||
@auth_id uniqueidentifier
|
||||
|
||||
as begin
|
||||
set nocount on
|
||||
|
||||
declare @last_time datetime
|
||||
select @last_time = BTime from AuthTable where AuthID = @auth_id
|
||||
|
||||
update AuthTable set world_id=0, [online] = '0', [BTime] = GETDATE(), [LTime] = @last_time from AuthTable where AuthID = @auth_id
|
||||
|
||||
end
|
||||
return @@error
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue