diff options
author | evgen@moonbone.local <> | 2007-01-09 22:35:30 +0300 |
---|---|---|
committer | evgen@moonbone.local <> | 2007-01-09 22:35:30 +0300 |
commit | ac48c8bae1159e8a24a7695e86f19d9f9a89d796 (patch) | |
tree | b2b5d4b30464556f41818cbd86897eeb615b12f2 /sql/item_func.cc | |
parent | fe30a0959cae0401c376f06dfc258045a3903877 (diff) | |
download | mariadb-git-ac48c8bae1159e8a24a7695e86f19d9f9a89d796.tar.gz |
Bug#14171: Wrong internal default value for a BINARY field.
A BINARY field is represented by the Field_string class. The space character
is used as the filler for unused characters in such a field. But a BINARY field
should use \x00 instead.
Field_string:reset() now detects whether the current field is a BINARY one
and if so uses the \x00 character as a default value filler.
Diffstat (limited to 'sql/item_func.cc')
0 files changed, 0 insertions, 0 deletions