-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Performance Improvement of create login in BBF
Signed-off-by: ANJU BHARTI <[email protected]>
- Loading branch information
ANJU BHARTI
committed
Dec 20, 2024
1 parent
f8026c7
commit 4ae0999
Showing
14 changed files
with
1,174 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
91 changes: 91 additions & 0 deletions
91
test/JDBC/expected/test_windows_login_before-16_6-vu-cleanup.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
-- tsql | ||
DROP LOGIN PassWordUser; | ||
GO | ||
|
||
-- test for drop login with upn format | ||
DROP LOGIN [aduser@AD]; | ||
GO | ||
~~ERROR (Code: 33557097)~~ | ||
|
||
~~ERROR (Message: Cannot drop the login 'aduser@ad', because it does not exist or you do not have permission.)~~ | ||
|
||
|
||
DROP LOGIN [ad\adUSer]; | ||
GO | ||
|
||
DROP LOGIN [ad\aduserDB]; | ||
GO | ||
|
||
DROP LOGIN [ad\Aduserlanguage]; | ||
GO | ||
~~ERROR (Code: 33557097)~~ | ||
|
||
~~ERROR (Message: Cannot drop the login 'aduserlanguage@AD', because it does not exist or you do not have permission.)~~ | ||
|
||
|
||
DROP LOGIN [ad\Aduserdblanguage]; | ||
GO | ||
~~ERROR (Code: 33557097)~~ | ||
|
||
~~ERROR (Message: Cannot drop the login 'aduserdblanguage@AD', because it does not exist or you do not have permission.)~~ | ||
|
||
|
||
DROP LOGIN [ad\AduserdbEnglish]; | ||
GO | ||
|
||
DROP LOGIN [ad\Aduseroption]; | ||
GO | ||
~~ERROR (Code: 33557097)~~ | ||
|
||
~~ERROR (Message: Cannot drop the login 'aduseroption@AD', because it does not exist or you do not have permission.)~~ | ||
|
||
|
||
DROP LOGIN [babel\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] | ||
GO | ||
~~ERROR (Code: 33557097)~~ | ||
|
||
~~ERROR (Message: Cannot drop the login 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa@BABEL', because it does not exist or you do not have permission.)~~ | ||
|
||
|
||
DROP LOGIN [ba.bel\username]; | ||
GO | ||
|
||
-- test for non-existent login | ||
DROP LOGIN [babel\non_existent_login] | ||
GO | ||
~~ERROR (Code: 33557097)~~ | ||
|
||
~~ERROR (Message: Cannot drop the login 'non_existent_login@BABEL', because it does not exist or you do not have permission.)~~ | ||
|
||
|
||
-- drop login with different casing | ||
DROP LOGIN UserPassword; | ||
GO | ||
|
||
DROP LOGIN [BabeL\DupLicate]; | ||
GO | ||
|
||
DROP LOGIN [Babel\DuplicateDefaultDB]; | ||
GO | ||
|
||
-- test drop logins for logins with different language names | ||
-- Arabic | ||
DROP LOGIN [babel\كلب]; | ||
GO | ||
|
||
-- Mongolian | ||
DROP LOGIN [babel\өглөө]; | ||
GO | ||
|
||
-- Greek | ||
DROP LOGIN [babel\ελπίδα]; | ||
GO | ||
|
||
-- Chinese | ||
DROP LOGIN [babel\爱]; | ||
GO | ||
|
||
DROP DATABASE ad_db; | ||
GO | ||
|
||
|
Oops, something went wrong.