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_gm_add.sql
Normal file
14
decomp/schema/RustyHearts_Auth/procs/up_gm_add.sql
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
CREATE procedure [dbo].[up_gm_add]
|
||||
@account nvarchar(16),
|
||||
@pass nvarchar(16)
|
||||
as
|
||||
set nocount on
|
||||
|
||||
declare @LastGMID bigint;
|
||||
select @LastGMID = [Value] from GlobalVariableTable with (nolock) where VarName = 'LastGMID'
|
||||
update GlobalVariableTable set [Value] = @LastGMID+1 where VarName = 'LastGMID'
|
||||
|
||||
insert into GMInfoTable values ( @LastGMID, @account , @pass, 100, GETDATE() )
|
||||
|
||||
return @@error
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue