diff options
author | Alexey Kopytov <Alexey.Kopytov@sun.com> | 2009-02-19 11:49:35 +0300 |
---|---|---|
committer | Alexey Kopytov <Alexey.Kopytov@sun.com> | 2009-02-19 11:49:35 +0300 |
commit | c4f0c2d38cf4c741bcd22469ea135b72ae4a0bc4 (patch) | |
tree | 94cda2beb31f4bb9ff71ecc549731176e4d28583 /BUILD/compile-pentium-debug | |
parent | b615d8bcb436a97e8474aa219b25ae9a2c21a78b (diff) | |
download | mariadb-git-c4f0c2d38cf4c741bcd22469ea135b72ae4a0bc4.tar.gz |
Fix for bug #41078: With CURSOR_TYPE_READ_ONLY mysql_stmt_fetch()
returns short string value.
Multibyte character sets were not taken into account when
calculating max_length in Item_param::convert_str_value(). As a
result, string parameters of a prepared statement could be
truncated later when calculating string length in characters by
dividing length in bytes by the charset's mbmaxlen value (e.g. in
Field_varstring::store()).
Fixed by taking charset's mbmaxlen into account when calculating
max_length in Item_param::convert_str_value().
Diffstat (limited to 'BUILD/compile-pentium-debug')
0 files changed, 0 insertions, 0 deletions