1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Fix for the bug #801: create table t1 select x'41'; doesn't work

This commit is contained in:
ram@mysql.r18.ru
2003-07-11 14:17:18 +05:00
parent df0f59fcbd
commit 4ca9718375
3 changed files with 10 additions and 0 deletions

View File

@@ -3664,6 +3664,7 @@ Field *create_tmp_field(THD *thd, TABLE *table,Item *item, Item::Type type,
case Item::STRING_ITEM:
case Item::REF_ITEM:
case Item::NULL_ITEM:
case Item::VARBIN_ITEM:
{
bool maybe_null=item->maybe_null;
Field *new_field;