Skip to content

Commit

Permalink
FIx a test
Browse files Browse the repository at this point in the history
  • Loading branch information
lohia-shalini committed Aug 20, 2024
1 parent 54bdf5b commit b370fb5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion test/JDBC/expected/restrict_drop_user_role.out
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,16 @@ go
-- 3.1 - when login is database owner
Alter authorization on database::restrict_user_db1 to no_priv_login2
go
~~ERROR (Code: 33557097)~~

~~ERROR (Message: 'ALTER AUTHORIZATION ON' is not currently supported in Babelfish)~~


-- tsql user=no_priv_login2 password=12345678 database=restrict_user_db1
~~ERROR (Code: 33557097)~~

~~ERROR (Message: Cannot open database "restrict_user_db1" requested by the login. The login failed )~~

-- allowed
select current_user
go
Expand Down Expand Up @@ -301,7 +309,6 @@ WHERE sys.suser_name(usesysid) = 'no_priv_login2' AND backend_type = 'client bac
go
~~START~~
bool
t
~~END~~


Expand Down

0 comments on commit b370fb5

Please sign in to comment.