aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/test/expected/preproc-array_of_struct.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-11-10 18:02:20 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-11-10 18:02:20 +0000
commit5e11e73d37eb7e356899f307c7c2ba7212c5aac0 (patch)
tree5a190036854d206340c6a7a66da6b2598290bc54 /src/interfaces/ecpg/test/expected/preproc-array_of_struct.c
parent45d146a6dbc2cba9fcc7e1a0449eae347471f296 (diff)
downloadpostgresql-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/preproc-array_of_struct.c')
0 files changed, 0 insertions, 0 deletions