Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temp changes #3182

Open
wants to merge 2 commits into
base: BABEL_4_X_DEV
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 71 additions & 0 deletions test/JDBC/expected/collation_version_test.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
select * from pg_collation where collname like 'chinese%';
GO
~~START~~
int#!#varchar#!#int#!#int#!#varchar#!#bit#!#int#!#text#!#text#!#text#!#text#!#text
16910#!#chinese_prc_ci_ai#!#16398#!#10#!#i#!#0#!#-1#!#<NULL>#!#<NULL>#!#zh-CN-u-ks-level1#!#<NULL>#!#58.0.0.50
16909#!#chinese_prc_ci_as#!#16398#!#10#!#i#!#0#!#-1#!#<NULL>#!#<NULL>#!#zh-CN-u-ks-level2#!#<NULL>#!#58.0.0.50
16908#!#chinese_prc_cs_as#!#16398#!#10#!#i#!#1#!#-1#!#<NULL>#!#<NULL>#!#zh-CN#!#<NULL>#!#58.0.0.50
~~END~~

select * from pg_collation where collname like 'bbf_%';
GO
~~START~~
int#!#varchar#!#int#!#int#!#varchar#!#bit#!#int#!#text#!#text#!#text#!#text#!#text
16852#!#bbf_unicode_bin2#!#16398#!#10#!#c#!#1#!#-1#!#C#!#C#!#<NULL>#!#<NULL>#!#<NULL>
16864#!#bbf_unicode_cp1250_ci_ai#!#16398#!#10#!#i#!#0#!#-1#!#<NULL>#!#<NULL>#!#und-u-ks-level1#!#<NULL>#!#58.0.6.50
16863#!#bbf_unicode_cp1250_ci_as#!#16398#!#10#!#i#!#0#!#-1#!#<NULL>#!#<NULL>#!#und-u-ks-level2#!#<NULL>#!#58.0.6.50
16865#!#bbf_unicode_cp1250_cs_ai#!#16398#!#10#!#i#!#0#!#-1#!#<NULL>#!#<NULL>#!#und-u-kc-true-kf-upper-ks-level1#!#<NULL>#!#58.0.6.50
16866#!#bbf_unicode_cp1250_cs_as#!#16398#!#10#!#i#!#1#!#-1#!#<NULL>#!#<NULL>#!#und-u-ks-level3#!#<NULL>#!#58.0.6.50
16869#!#bbf_unicode_cp1251_ci_ai#!#16398#!#10#!#i#!#0#!#-1#!#<NULL>#!#<NULL>#!#und-u-ks-level1#!#<NULL>#!#58.0.6.50
16868#!#bbf_unicode_cp1251_ci_as#!#16398#!#10#!#i#!#0#!#-1#!#<NULL>#!#<NULL>#!#und-u-ks-level2#!#<NULL>#!#58.0.6.50
16870#!#bbf_unicode_cp1251_cs_ai#!#16398#!#10#!#i#!#0#!#-1#!#<NULL>#!#<NULL>#!#und-u-kc-true-kf-upper-ks-level1#!#<NULL>#!#58.0.6.50
16871#!#bbf_unicode_cp1251_cs_as#!#16398#!#10#!#i#!#1#!#-1#!#<NULL>#!#<NULL>#!#und-u-ks-level3#!#<NULL>#!#58.0.6.50
16874#!#bbf_unicode_cp1253_ci_ai#!#16398#!#10#!#i#!#0#!#-1#!#<NULL>#!#<NULL>#!#und-u-ks-level1#!#<NULL>#!#58.0.6.50
16873#!#bbf_unicode_cp1253_ci_as#!#16398#!#10#!#i#!#0#!#-1#!#<NULL>#!#<NULL>#!#und-u-ks-level2#!#<NULL>#!#58.0.6.50
16875#!#bbf_unicode_cp1253_cs_ai#!#16398#!#10#!#i#!#0#!#-1#!#<NULL>#!#<NULL>#!#und-u-kc-true-kf-upper-ks-level1#!#<NULL>#!#58.0.6.50
16876#!#bbf_unicode_cp1253_cs_as#!#16398#!#10#!#i#!#1#!#-1#!#<NULL>#!#<NULL>#!#und-u-ks-level3#!#<NULL>#!#58.0.6.50
16879#!#bbf_unicode_cp1254_ci_ai#!#16398#!#10#!#i#!#0#!#-1#!#<NULL>#!#<NULL>#!#und-u-ks-level1#!#<NULL>#!#58.0.6.50
16878#!#bbf_unicode_cp1254_ci_as#!#16398#!#10#!#i#!#0#!#-1#!#<NULL>#!#<NULL>#!#und-u-ks-level2#!#<NULL>#!#58.0.6.50
16880#!#bbf_unicode_cp1254_cs_ai#!#16398#!#10#!#i#!#0#!#-1#!#<NULL>#!#<NULL>#!#und-u-kc-true-kf-upper-ks-level1#!#<NULL>#!#58.0.6.50
16881#!#bbf_unicode_cp1254_cs_as#!#16398#!#10#!#i#!#1#!#-1#!#<NULL>#!#<NULL>#!#und-u-ks-level3#!#<NULL>#!#58.0.6.50
16884#!#bbf_unicode_cp1255_ci_ai#!#16398#!#10#!#i#!#0#!#-1#!#<NULL>#!#<NULL>#!#und-u-ks-level1#!#<NULL>#!#58.0.6.50
16883#!#bbf_unicode_cp1255_ci_as#!#16398#!#10#!#i#!#0#!#-1#!#<NULL>#!#<NULL>#!#und-u-ks-level2#!#<NULL>#!#58.0.6.50
16885#!#bbf_unicode_cp1255_cs_ai#!#16398#!#10#!#i#!#0#!#-1#!#<NULL>#!#<NULL>#!#und-u-kc-true-kf-upper-ks-level1#!#<NULL>#!#58.0.6.50
16886#!#bbf_unicode_cp1255_cs_as#!#16398#!#10#!#i#!#1#!#-1#!#<NULL>#!#<NULL>#!#und-u-ks-level3#!#<NULL>#!#58.0.6.50
16889#!#bbf_unicode_cp1256_ci_ai#!#16398#!#10#!#i#!#0#!#-1#!#<NULL>#!#<NULL>#!#und-u-ks-level1#!#<NULL>#!#58.0.6.50
16888#!#bbf_unicode_cp1256_ci_as#!#16398#!#10#!#i#!#0#!#-1#!#<NULL>#!#<NULL>#!#und-u-ks-level2#!#<NULL>#!#58.0.6.50
16890#!#bbf_unicode_cp1256_cs_ai#!#16398#!#10#!#i#!#0#!#-1#!#<NULL>#!#<NULL>#!#und-u-kc-true-kf-upper-ks-level1#!#<NULL>#!#58.0.6.50
16891#!#bbf_unicode_cp1256_cs_as#!#16398#!#10#!#i#!#1#!#-1#!#<NULL>#!#<NULL>#!#und-u-ks-level3#!#<NULL>#!#58.0.6.50
16894#!#bbf_unicode_cp1257_ci_ai#!#16398#!#10#!#i#!#0#!#-1#!#<NULL>#!#<NULL>#!#und-u-ks-level1#!#<NULL>#!#58.0.6.50
16893#!#bbf_unicode_cp1257_ci_as#!#16398#!#10#!#i#!#0#!#-1#!#<NULL>#!#<NULL>#!#und-u-ks-level2#!#<NULL>#!#58.0.6.50
16895#!#bbf_unicode_cp1257_cs_ai#!#16398#!#10#!#i#!#0#!#-1#!#<NULL>#!#<NULL>#!#und-u-kc-true-kf-upper-ks-level1#!#<NULL>#!#58.0.6.50
16896#!#bbf_unicode_cp1257_cs_as#!#16398#!#10#!#i#!#1#!#-1#!#<NULL>#!#<NULL>#!#und-u-ks-level3#!#<NULL>#!#58.0.6.50
16899#!#bbf_unicode_cp1258_ci_ai#!#16398#!#10#!#i#!#0#!#-1#!#<NULL>#!#<NULL>#!#und-u-ks-level1#!#<NULL>#!#58.0.6.50
16898#!#bbf_unicode_cp1258_ci_as#!#16398#!#10#!#i#!#0#!#-1#!#<NULL>#!#<NULL>#!#und-u-ks-level2#!#<NULL>#!#58.0.6.50
16900#!#bbf_unicode_cp1258_cs_ai#!#16398#!#10#!#i#!#0#!#-1#!#<NULL>#!#<NULL>#!#und-u-kc-true-kf-upper-ks-level1#!#<NULL>#!#58.0.6.50
16901#!#bbf_unicode_cp1258_cs_as#!#16398#!#10#!#i#!#1#!#-1#!#<NULL>#!#<NULL>#!#und-u-ks-level3#!#<NULL>#!#58.0.6.50
16859#!#bbf_unicode_cp1_ci_ai#!#16398#!#10#!#i#!#0#!#-1#!#<NULL>#!#<NULL>#!#und-u-ks-level1#!#<NULL>#!#58.0.6.50
16858#!#bbf_unicode_cp1_ci_as#!#16398#!#10#!#i#!#0#!#-1#!#<NULL>#!#<NULL>#!#und-u-ks-level2#!#<NULL>#!#58.0.6.50
16860#!#bbf_unicode_cp1_cs_ai#!#16398#!#10#!#i#!#0#!#-1#!#<NULL>#!#<NULL>#!#und-u-kc-true-kf-upper-ks-level1#!#<NULL>#!#58.0.6.50
16861#!#bbf_unicode_cp1_cs_as#!#16398#!#10#!#i#!#1#!#-1#!#<NULL>#!#<NULL>#!#und-u-ks-level3#!#<NULL>#!#58.0.6.50
16904#!#bbf_unicode_cp874_ci_ai#!#16398#!#10#!#i#!#0#!#-1#!#<NULL>#!#<NULL>#!#und-u-ks-level1#!#<NULL>#!#58.0.6.50
16903#!#bbf_unicode_cp874_ci_as#!#16398#!#10#!#i#!#0#!#-1#!#<NULL>#!#<NULL>#!#und-u-ks-level2#!#<NULL>#!#58.0.6.50
16905#!#bbf_unicode_cp874_cs_ai#!#16398#!#10#!#i#!#0#!#-1#!#<NULL>#!#<NULL>#!#und-u-kc-true-kf-upper-ks-level1#!#<NULL>#!#58.0.6.50
16906#!#bbf_unicode_cp874_cs_as#!#16398#!#10#!#i#!#1#!#-1#!#<NULL>#!#<NULL>#!#und-u-ks-level3#!#<NULL>#!#58.0.6.50
16854#!#bbf_unicode_general_ci_ai#!#16398#!#10#!#i#!#0#!#-1#!#<NULL>#!#<NULL>#!#und-u-ks-level1#!#<NULL>#!#58.0.6.50
16853#!#bbf_unicode_general_ci_as#!#16398#!#10#!#i#!#0#!#-1#!#<NULL>#!#<NULL>#!#und-u-ks-level2#!#<NULL>#!#58.0.6.50
16855#!#bbf_unicode_general_cs_ai#!#16398#!#10#!#i#!#0#!#-1#!#<NULL>#!#<NULL>#!#und-u-kc-true-kf-upper-ks-level1#!#<NULL>#!#58.0.6.50
16856#!#bbf_unicode_general_cs_as#!#16398#!#10#!#i#!#1#!#-1#!#<NULL>#!#<NULL>#!#und-u-ks-level3#!#<NULL>#!#58.0.6.50
16857#!#bbf_unicode_general_pref_cs_as#!#16398#!#10#!#i#!#1#!#-1#!#<NULL>#!#<NULL>#!#und-u-kf-upper-ks-level3#!#<NULL>#!#58.0.6.50
16867#!#bbf_unicode_pref_cp1250_cs_as#!#16398#!#10#!#i#!#1#!#-1#!#<NULL>#!#<NULL>#!#und-u-kf-upper-ks-level3#!#<NULL>#!#58.0.6.50
16872#!#bbf_unicode_pref_cp1251_cs_as#!#16398#!#10#!#i#!#1#!#-1#!#<NULL>#!#<NULL>#!#und-u-kf-upper-ks-level3#!#<NULL>#!#58.0.6.50
16877#!#bbf_unicode_pref_cp1253_cs_as#!#16398#!#10#!#i#!#1#!#-1#!#<NULL>#!#<NULL>#!#und-u-kf-upper-ks-level3#!#<NULL>#!#58.0.6.50
16882#!#bbf_unicode_pref_cp1254_cs_as#!#16398#!#10#!#i#!#1#!#-1#!#<NULL>#!#<NULL>#!#und-u-kf-upper-ks-level3#!#<NULL>#!#58.0.6.50
16887#!#bbf_unicode_pref_cp1255_cs_as#!#16398#!#10#!#i#!#1#!#-1#!#<NULL>#!#<NULL>#!#und-u-kf-upper-ks-level3#!#<NULL>#!#58.0.6.50
16892#!#bbf_unicode_pref_cp1256_cs_as#!#16398#!#10#!#i#!#1#!#-1#!#<NULL>#!#<NULL>#!#und-u-kf-upper-ks-level3#!#<NULL>#!#58.0.6.50
16897#!#bbf_unicode_pref_cp1257_cs_as#!#16398#!#10#!#i#!#1#!#-1#!#<NULL>#!#<NULL>#!#und-u-kf-upper-ks-level3#!#<NULL>#!#58.0.6.50
16902#!#bbf_unicode_pref_cp1258_cs_as#!#16398#!#10#!#i#!#1#!#-1#!#<NULL>#!#<NULL>#!#und-u-kf-upper-ks-level3#!#<NULL>#!#58.0.6.50
16862#!#bbf_unicode_pref_cp1_cs_as#!#16398#!#10#!#i#!#1#!#-1#!#<NULL>#!#<NULL>#!#und-u-kf-upper-ks-level3#!#<NULL>#!#58.0.6.50
16907#!#bbf_unicode_pref_cp874_cs_as#!#16398#!#10#!#i#!#1#!#-1#!#<NULL>#!#<NULL>#!#und-u-kf-upper-ks-level3#!#<NULL>#!#58.0.6.50
~~END~~

15 changes: 15 additions & 0 deletions test/JDBC/input/collation_version_test.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
select * from pg_collation where collname like 'chinese%';
GO
create table testing5(c1 varchar(20) COLLATE SQL_Latin1_General_CP1_CS_AS);
GO
TRUNCATE TABLE testing5
GO
insert into testing5 values ('JONES');
insert into testing5 values ('JoneS');
insert into testing5 values ('abcD');
insert into testing5 values ('äbĆD');
GO
SELECT * FROM testing5 where c1 COLLATE Chinese_PRC_CI_AS like 'jo%' ;
GO
select * from pg_collation where collname like 'bbf_%';
GO
3 changes: 2 additions & 1 deletion test/JDBC/jdbc_schedule
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
# new line
# 6. If you want the framework to not run certain files, use: ignore#!#<test name>

all
# all
collation_version_test

ignore#!#BABEL-1435
ignore#!#BABEL-1446
Expand Down
Loading