Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit066e3a6

Browse files
committed
Fix locale pointer use in WIN32 code path
Author: David Rowley <david.rowley@2ndquadrant.com>
1 parente148009 commit066e3a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/utils/adt/varlena.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1490,7 +1490,7 @@ varstr_cmp(char *arg1, int len1, char *arg2, int len2, Oid collid)
14901490
errno=0;
14911491
#ifdefHAVE_LOCALE_T
14921492
if (mylocale)
1493-
result=wcscoll_l((LPWSTR)a1p, (LPWSTR)a2p,mylocale);
1493+
result=wcscoll_l((LPWSTR)a1p, (LPWSTR)a2p,mylocale->info.lt);
14941494
else
14951495
#endif
14961496
result=wcscoll((LPWSTR)a1p, (LPWSTR)a2p);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp