diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-11-10 18:02:27 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-11-10 18:02:27 +0000 |
commit | 47925b83cb1451ceb4fa37e70ee46eef064bd412 (patch) | |
tree | ed25cf14a6850e59403ada020a2eab0134bec200 /src/backend/access/gist/gist.c | |
parent | af9b481653240fe1ffd66f184026ea24928abcb2 (diff) | |
download | postgresql-47925b83cb1451ceb4fa37e70ee46eef064bd412.tar.gz postgresql-47925b83cb1451ceb4fa37e70ee46eef064bd412.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/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions