diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-11-10 18:02:20 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-11-10 18:02:20 +0000 |
commit | 5e11e73d37eb7e356899f307c7c2ba7212c5aac0 (patch) | |
tree | 5a190036854d206340c6a7a66da6b2598290bc54 /src/interfaces/ecpg/test/expected/sql-array.c | |
parent | 45d146a6dbc2cba9fcc7e1a0449eae347471f296 (diff) | |
download | postgresql-5e11e73d37eb7e356899f307c7c2ba7212c5aac0.tar.gz postgresql-5e11e73d37eb7e356899f307c7c2ba7212c5aac0.zip |
Fix bugs in sqlchar_to_unicode and unicode_to_sqlchar: both were measuring
the length of a UTF8 character with pg_mblen (wrong if DB encoding isn't
UTF8), and the latter was blithely assuming that a static buffer would somehow
revert to all zeroes for each use.
Diffstat (limited to 'src/interfaces/ecpg/test/expected/sql-array.c')
0 files changed, 0 insertions, 0 deletions