mirror of
https://github.com/postgres/postgres.git
synced 2026-04-21 14:19:26 -04:00
Fix locale pointer use in WIN32 code path
Author: David Rowley <david.rowley@2ndquadrant.com>
This commit is contained in:
parent
e148009740
commit
066e3a68ae
1 changed files with 1 additions and 1 deletions
|
|
@ -1490,7 +1490,7 @@ varstr_cmp(char *arg1, int len1, char *arg2, int len2, Oid collid)
|
|||
errno = 0;
|
||||
#ifdef HAVE_LOCALE_T
|
||||
if (mylocale)
|
||||
result = wcscoll_l((LPWSTR) a1p, (LPWSTR) a2p, mylocale);
|
||||
result = wcscoll_l((LPWSTR) a1p, (LPWSTR) a2p, mylocale->info.lt);
|
||||
else
|
||||
#endif
|
||||
result = wcscoll((LPWSTR) a1p, (LPWSTR) a2p);
|
||||
|
|
|
|||
Loading…
Reference in a new issue