Skip to content

Commit

Permalink
fix some tests
Browse files Browse the repository at this point in the history
Signed-off-by: Tanzeel Khan <[email protected]>
  • Loading branch information
tanscorpio7 committed Jan 13, 2025
1 parent 22137d0 commit 22d336b
Show file tree
Hide file tree
Showing 8 changed files with 45 additions and 45 deletions.
12 changes: 6 additions & 6 deletions test/JDBC/expected/BABEL-1444-vu-verify.out
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ SELECT current_setting('search_path');
GO
~~START~~
text
master_dbo, "$user", sys, pg_catalog
master_dbo, master_dbo, sys, pg_catalog
~~END~~

SELECT session_user, current_user, user;
Expand Down Expand Up @@ -77,7 +77,7 @@ SELECT current_setting('search_path');
GO
~~START~~
text
babel_1444_db1_dbo, "$user", sys, pg_catalog
babel_1444_db1_dbo, babel_1444_db1_dbo, sys, pg_catalog
~~END~~

SELECT session_user, current_user, user;
Expand Down Expand Up @@ -114,7 +114,7 @@ SELECT current_setting('search_path');
GO
~~START~~
text
babel_1444_db1_dbo, "$user", sys, pg_catalog
babel_1444_db1_dbo, babel_1444_db1_dbo, sys, pg_catalog
~~END~~

SELECT session_user, current_user, user;
Expand Down Expand Up @@ -147,7 +147,7 @@ SELECT current_setting('search_path');
GO
~~START~~
text
master_dbo, "$user", sys, pg_catalog
master_dbo, master_dbo, sys, pg_catalog
~~END~~

SELECT session_user, current_user, user;
Expand Down Expand Up @@ -179,7 +179,7 @@ SELECT current_setting('search_path');
GO
~~START~~
text
master_dbo, "$user", sys, pg_catalog
master_dbo, master_dbo, sys, pg_catalog
~~END~~

SELECT session_user, current_user, user;
Expand Down Expand Up @@ -212,7 +212,7 @@ SELECT current_setting('search_path');
GO
~~START~~
text
master_dbo, "$user", sys, pg_catalog
master_dbo, master_dbo, sys, pg_catalog
~~END~~

SELECT session_user, current_user, user;
Expand Down
24 changes: 12 additions & 12 deletions test/JDBC/expected/BABEL-1444.out
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ SELECT current_setting('search_path');
GO
~~START~~
text
master_dbo, "$user", sys, pg_catalog
master_dbo, master_dbo, sys, pg_catalog
~~END~~

SELECT session_user, current_user, user;
Expand Down Expand Up @@ -105,7 +105,7 @@ SELECT current_setting('search_path');
GO
~~START~~
text
db1_dbo, "$user", sys, pg_catalog
db1_dbo, db1_dbo, sys, pg_catalog
~~END~~

SELECT session_user, current_user, user;
Expand Down Expand Up @@ -142,7 +142,7 @@ SELECT current_setting('search_path');
GO
~~START~~
text
db1_dbo, "$user", sys, pg_catalog
db1_dbo, db1_dbo, sys, pg_catalog
~~END~~

SELECT session_user, current_user, user;
Expand Down Expand Up @@ -175,7 +175,7 @@ SELECT current_setting('search_path');
GO
~~START~~
text
master_dbo, "$user", sys, pg_catalog
master_dbo, master_dbo, sys, pg_catalog
~~END~~

SELECT session_user, current_user, user;
Expand Down Expand Up @@ -207,7 +207,7 @@ SELECT current_setting('search_path');
GO
~~START~~
text
master_dbo, "$user", sys, pg_catalog
master_dbo, master_dbo, sys, pg_catalog
~~END~~

SELECT session_user, current_user, user;
Expand Down Expand Up @@ -240,7 +240,7 @@ SELECT current_setting('search_path');
GO
~~START~~
text
master_dbo, "$user", sys, pg_catalog
master_dbo, master_dbo, sys, pg_catalog
~~END~~

SELECT session_user, current_user, user;
Expand Down Expand Up @@ -278,7 +278,7 @@ SELECT current_setting('search_path');
GO
~~START~~
text
master_dbo, "$user", sys, pg_catalog
master_dbo, master_dbo, sys, pg_catalog
~~END~~

SELECT session_user, current_user, user;
Expand Down Expand Up @@ -310,7 +310,7 @@ SELECT current_setting('search_path');
GO
~~START~~
text
db1_dbo, "$user", sys, pg_catalog
db1_dbo, db1_dbo, sys, pg_catalog
~~END~~

SELECT session_user, current_user, user;
Expand Down Expand Up @@ -347,7 +347,7 @@ SELECT current_setting('search_path');
GO
~~START~~
text
db1_dbo, "$user", sys, pg_catalog
db1_dbo, db1_dbo, sys, pg_catalog
~~END~~

SELECT session_user, current_user, user;
Expand Down Expand Up @@ -380,7 +380,7 @@ SELECT current_setting('search_path');
GO
~~START~~
text
master_dbo, "$user", sys, pg_catalog
master_dbo, master_dbo, sys, pg_catalog
~~END~~

SELECT session_user, current_user, user;
Expand Down Expand Up @@ -412,7 +412,7 @@ SELECT current_setting('search_path');
GO
~~START~~
text
master_dbo, "$user", sys, pg_catalog
master_dbo, master_dbo, sys, pg_catalog
~~END~~

SELECT session_user, current_user, user;
Expand Down Expand Up @@ -445,7 +445,7 @@ SELECT current_setting('search_path');
GO
~~START~~
text
master_dbo, "$user", sys, pg_catalog
master_dbo, master_dbo, sys, pg_catalog
~~END~~

SELECT session_user, current_user, user;
Expand Down
4 changes: 2 additions & 2 deletions test/JDBC/expected/BABEL-LOGIN-USER-EXT.out
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ SELECT current_setting('search_path');
go
~~START~~
text
master_dbo, "$user", sys, pg_catalog
master_dbo, master_dbo, sys, pg_catalog
~~END~~


Expand Down Expand Up @@ -182,7 +182,7 @@ SELECT current_setting('search_path');
go
~~START~~
text
master_sch2, "$user", sys, pg_catalog
master_sch2, master_dbo, sys, pg_catalog
~~END~~


Expand Down
4 changes: 2 additions & 2 deletions test/JDBC/expected/BABEL-LOGIN-vu-verify.out
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ SELECT current_setting('search_path');
go
~~START~~
text
master_dbo, "$user", sys, pg_catalog
master_dbo, master_dbo, sys, pg_catalog
~~END~~


Expand Down Expand Up @@ -117,7 +117,7 @@ SELECT current_setting('search_path');
go
~~START~~
text
master_babel_login_vu_prepare_sch, "$user", sys, pg_catalog
master_babel_login_vu_prepare_sch, master_babel_login_vu_prepare_dbo, sys, pg_catalog
~~END~~


Expand Down
16 changes: 8 additions & 8 deletions test/JDBC/expected/BABEL_4442.out
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,15 @@ SELECT babel_4442_f(), current_setting('search_path'), babel_4442_s1.babel_4442_
GO
~~START~~
int#!#text#!#int#!#text#!#int#!#int#!#text#!#int
1#!#master_dbo, "$user", sys, pg_catalog#!#2#!#master_dbo, "$user", sys, pg_catalog#!#3#!#1#!#master_dbo, "$user", sys, pg_catalog#!#1
1#!#master_dbo, master_dbo, sys, pg_catalog#!#2#!#master_dbo, master_dbo, sys, pg_catalog#!#3#!#1#!#master_dbo, master_dbo, sys, pg_catalog#!#1
~~END~~


SELECT current_setting('search_path')
GO
~~START~~
text
master_dbo, "$user", sys, pg_catalog
master_dbo, master_dbo, sys, pg_catalog
~~END~~


Expand All @@ -98,7 +98,7 @@ SELECT current_setting('search_path')
GO
~~START~~
text
master_dbo, "$user", sys, pg_catalog
master_dbo, master_dbo, sys, pg_catalog
~~END~~

SELECT babel_4442_s1.babel_4442_f(), babel_4442_s2.babel_4442_f(), * FROM babel_4442_t
Expand All @@ -112,7 +112,7 @@ SELECT current_setting('search_path')
GO
~~START~~
text
master_dbo, "$user", sys, pg_catalog
master_dbo, master_dbo, sys, pg_catalog
~~END~~

SELECT babel_4442_s1.babel_4442_f(), babel_4442_s2.babel_4442_f(), * FROM babel_4442_t
Expand All @@ -129,7 +129,7 @@ SELECT current_setting('search_path')
GO
~~START~~
text
master_dbo, "$user", sys, pg_catalog
master_dbo, master_dbo, sys, pg_catalog
~~END~~


Expand All @@ -139,7 +139,7 @@ SELECT current_setting('search_path')
GO
~~START~~
text
master_dbo, "$user", sys, pg_catalog
master_dbo, master_dbo, sys, pg_catalog
~~END~~

SELECT babel_4442_s1.babel_4442_f(), babel_4442_s2.babel_4442_f(), * FROM babel_4442_t
Expand All @@ -153,7 +153,7 @@ SELECT current_setting('search_path')
GO
~~START~~
text
master_dbo, "$user", sys, pg_catalog
master_dbo, master_dbo, sys, pg_catalog
~~END~~

SELECT babel_4442_s1.babel_4442_f(), babel_4442_s2.babel_4442_f(), * FROM babel_4442_t
Expand All @@ -170,7 +170,7 @@ SELECT current_setting('search_path')
GO
~~START~~
text
master_dbo, "$user", sys, pg_catalog
master_dbo, master_dbo, sys, pg_catalog
~~END~~


Expand Down
2 changes: 1 addition & 1 deletion test/JDBC/expected/babel_219.out
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ select set_config('search_path', current_setting('search_path') + ', pg_catalog'
GO
~~START~~
text
master_dbo, "$user", sys, pg_catalog, pg_catalog
master_dbo, master_dbo, sys, pg_catalog, pg_catalog
~~END~~

-- Set tsql dialet so the fix for BABEL-219 can kick in
Expand Down
24 changes: 12 additions & 12 deletions test/JDBC/expected/single_db/BABEL-1444.out
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ SELECT current_setting('search_path');
GO
~~START~~
text
master_dbo, "$user", sys, pg_catalog
master_dbo, master_dbo, sys, pg_catalog
~~END~~

SELECT session_user, current_user, user;
Expand Down Expand Up @@ -105,7 +105,7 @@ SELECT current_setting('search_path');
GO
~~START~~
text
dbo, "$user", sys, pg_catalog
dbo, dbo, sys, pg_catalog
~~END~~

SELECT session_user, current_user, user;
Expand Down Expand Up @@ -142,7 +142,7 @@ SELECT current_setting('search_path');
GO
~~START~~
text
dbo, "$user", sys, pg_catalog
dbo, dbo, sys, pg_catalog
~~END~~

SELECT session_user, current_user, user;
Expand Down Expand Up @@ -175,7 +175,7 @@ SELECT current_setting('search_path');
GO
~~START~~
text
master_dbo, "$user", sys, pg_catalog
master_dbo, master_dbo, sys, pg_catalog
~~END~~

SELECT session_user, current_user, user;
Expand Down Expand Up @@ -207,7 +207,7 @@ SELECT current_setting('search_path');
GO
~~START~~
text
master_dbo, "$user", sys, pg_catalog
master_dbo, master_dbo, sys, pg_catalog
~~END~~

SELECT session_user, current_user, user;
Expand Down Expand Up @@ -240,7 +240,7 @@ SELECT current_setting('search_path');
GO
~~START~~
text
master_dbo, "$user", sys, pg_catalog
master_dbo, master_dbo, sys, pg_catalog
~~END~~

SELECT session_user, current_user, user;
Expand Down Expand Up @@ -278,7 +278,7 @@ SELECT current_setting('search_path');
GO
~~START~~
text
master_dbo, "$user", sys, pg_catalog
master_dbo, master_dbo, sys, pg_catalog
~~END~~

SELECT session_user, current_user, user;
Expand Down Expand Up @@ -310,7 +310,7 @@ SELECT current_setting('search_path');
GO
~~START~~
text
dbo, "$user", sys, pg_catalog
dbo, master_dbo, sys, pg_catalog
~~END~~

SELECT session_user, current_user, user;
Expand Down Expand Up @@ -347,7 +347,7 @@ SELECT current_setting('search_path');
GO
~~START~~
text
dbo, "$user", sys, pg_catalog
dbo, master_dbo, sys, pg_catalog
~~END~~

SELECT session_user, current_user, user;
Expand Down Expand Up @@ -380,7 +380,7 @@ SELECT current_setting('search_path');
GO
~~START~~
text
master_dbo, "$user", sys, pg_catalog
master_dbo, master_dbo, sys, pg_catalog
~~END~~

SELECT session_user, current_user, user;
Expand Down Expand Up @@ -412,7 +412,7 @@ SELECT current_setting('search_path');
GO
~~START~~
text
master_dbo, "$user", sys, pg_catalog
master_dbo, master_dbo, sys, pg_catalog
~~END~~

SELECT session_user, current_user, user;
Expand Down Expand Up @@ -445,7 +445,7 @@ SELECT current_setting('search_path');
GO
~~START~~
text
master_dbo, "$user", sys, pg_catalog
master_dbo, master_dbo, sys, pg_catalog
~~END~~

SELECT session_user, current_user, user;
Expand Down
Loading

0 comments on commit 22d336b

Please sign in to comment.