From b370fb56a0a66f9dc46b377aed465b52cd07b792 Mon Sep 17 00:00:00 2001 From: Shalini Lohia Date: Tue, 20 Aug 2024 05:38:18 +0000 Subject: [PATCH] FIx a test --- test/JDBC/expected/restrict_drop_user_role.out | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/test/JDBC/expected/restrict_drop_user_role.out b/test/JDBC/expected/restrict_drop_user_role.out index f3d8f79a97..0099e70c72 100644 --- a/test/JDBC/expected/restrict_drop_user_role.out +++ b/test/JDBC/expected/restrict_drop_user_role.out @@ -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 @@ -301,7 +309,6 @@ WHERE sys.suser_name(usesysid) = 'no_priv_login2' AND backend_type = 'client bac go ~~START~~ bool -t ~~END~~