Skip to content

Commit

Permalink
Revert "Test change"
Browse files Browse the repository at this point in the history
This reverts commit e4ef886.
  • Loading branch information
ahmed-shameem committed Dec 20, 2024
1 parent e4ef886 commit a5ac547
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 17 deletions.
12 changes: 0 additions & 12 deletions .github/configuration/upgrade-test-configuration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -272,17 +272,5 @@ upgrade-version: [{
}
],
babelfishpg_tsql_server_collation_name: chinese_prc_ci_as
},
{
upgrade-path: [
{
version: 15.7,
upgrade-type: null
},
{
version: target.latest,
upgrade-type: major
}
]
}
]
10 changes: 5 additions & 5 deletions contrib/babelfishpg_tsql/src/collation.c
Original file line number Diff line number Diff line change
Expand Up @@ -487,15 +487,15 @@ get_remove_accents_internal_oid()
return;

#ifdef USE_ICU
// if (U_ICU_VERSION_MAJOR_NUM == pltsql_remove_accent_map_icu_major_version && U_ICU_VERSION_MINOR_NUM == pltsql_remove_accent_map_icu_min_version)
// {
if (U_ICU_VERSION_MAJOR_NUM == pltsql_remove_accent_map_icu_major_version && U_ICU_VERSION_MINOR_NUM == pltsql_remove_accent_map_icu_min_version)
{
elog(LOG, "Using cached mappings to remove accents");
remove_accents_internal_oid = LookupFuncName(list_make2(makeString("sys"), makeString("remove_accents_internal_using_cache")), -1, funcargtypes, true);
return;
// }
}
#endif
// elog(LOG, "Using ICU function to remove accents");
// remove_accents_internal_oid = LookupFuncName(list_make2(makeString("sys"), makeString("remove_accents_internal")), -1, funcargtypes, true);
elog(LOG, "Using ICU function to remove accents");
remove_accents_internal_oid = LookupFuncName(list_make2(makeString("sys"), makeString("remove_accents_internal")), -1, funcargtypes, true);
}

/*
Expand Down

0 comments on commit a5ac547

Please sign in to comment.