Skip to content

Commit 469c667

Browse files
Fix query casing in GetStateItemExclusive for InMemory repositories. (#77)
1 parent 944f5ac commit 469c667

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/SqlSessionStateProviderAsync/SqlInMemoryTableSessionStateRepository.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,12 @@ DECLARE @Flags int
8484
8585
SELECT @LockedCheck = Locked, @Flags = Flags
8686
FROM [dbo].{0}
87-
WHERE SessionID = " + SqlParameterName.SessionId + @"
87+
WHERE SessionId = " + SqlParameterName.SessionId + @"
8888
IF @Flags&1 <> 0
8989
BEGIN
9090
SET " + SqlParameterName.ActionFlags + @" = 1
9191
UPDATE [dbo].{0}
92-
SET Flags = Flags & ~1 WHERE SessionID = " + SqlParameterName.SessionId + @"
92+
SET Flags = Flags & ~1 WHERE SessionId = " + SqlParameterName.SessionId + @"
9393
END
9494
ELSE
9595
SET " + SqlParameterName.ActionFlags + @" = 0

0 commit comments

Comments
 (0)