mirror of
https://github.com/postgres/postgres.git
synced 2025-11-24 00:23:06 +03:00
Fix some multibyte related bugs.
Psqlodbc is 7.01.0007 now. Hiroshi Inoue
This commit is contained in:
@@ -616,7 +616,14 @@ in_expr = TRUE;
|
||||
|
||||
/* lower case table name */
|
||||
for (ptr = ti[stmt->ntab]->name; *ptr; ptr++)
|
||||
{
|
||||
#ifdef MULTIBYTE
|
||||
if ((unsigned char) *ptr >= 0x80)
|
||||
ptr++;
|
||||
else
|
||||
#endif /* MULTIBYTE */
|
||||
*ptr = tolower((unsigned char) *ptr);
|
||||
}
|
||||
}
|
||||
mylog("got table = '%s'\n", ti[stmt->ntab]->name);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user