summaryrefslogtreecommitdiff
path: root/BUILD/compile-pentium-debug
diff options
context:
space:
mode:
authorAlexey Kopytov <Alexey.Kopytov@sun.com>2009-02-19 11:49:35 +0300
committerAlexey Kopytov <Alexey.Kopytov@sun.com>2009-02-19 11:49:35 +0300
commitc4f0c2d38cf4c741bcd22469ea135b72ae4a0bc4 (patch)
tree94cda2beb31f4bb9ff71ecc549731176e4d28583 /BUILD/compile-pentium-debug
parentb615d8bcb436a97e8474aa219b25ae9a2c21a78b (diff)
downloadmariadb-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