diff options
author | ram@gw.mysql.r18.ru <> | 2004-12-17 18:06:05 +0400 |
---|---|---|
committer | ram@gw.mysql.r18.ru <> | 2004-12-17 18:06:05 +0400 |
commit | 92f89369ae3491b09caf0f647fd3b61df34c3b3b (patch) | |
tree | 2e6c553f1097aea129caca8a5d200ff4f446a230 /sql/field_conv.cc | |
parent | 3afd1939f73c95e7c53f9c927223f615aee7c9f4 (diff) | |
download | mariadb-git-92f89369ae3491b09caf0f647fd3b61df34c3b3b.tar.gz |
bit type
Diffstat (limited to 'sql/field_conv.cc')
-rw-r--r-- | sql/field_conv.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/field_conv.cc b/sql/field_conv.cc index f6cc851639a..f0887d8343a 100644 --- a/sql/field_conv.cc +++ b/sql/field_conv.cc @@ -485,6 +485,9 @@ void (*Copy_field::get_copy_func(Field *to,Field *from))(Copy_field*) } else { + if (to->real_type() == FIELD_TYPE_BIT || + from->real_type() == FIELD_TYPE_BIT) + return do_field_int; // Check if identical fields if (from->result_type() == STRING_RESULT) { |