diff options
author | unknown <mhansson/martin@linux-st28.site> | 2007-12-20 10:58:21 +0100 |
---|---|---|
committer | unknown <mhansson/martin@linux-st28.site> | 2007-12-20 10:58:21 +0100 |
commit | a8d1b13f3e9f13efaf96039e51397b2fa67a982f (patch) | |
tree | 3f269908c875faf59340f4b2dc72d988317f0d32 /sql | |
parent | 94f75ffcce4daddfb709bd269fc90d1513833966 (diff) | |
download | mariadb-git-a8d1b13f3e9f13efaf96039e51397b2fa67a982f.tar.gz |
Bug#32848: Data type conversion bug in union subselects in MySQL 5.0.38
Warnings elimination
sql/sql_select.cc:
Bug#32848: Warnings elimination
Diffstat (limited to 'sql')
-rw-r--r-- | sql/sql_select.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc index 74db7770c6f..ed4b10e6221 100644 --- a/sql/sql_select.cc +++ b/sql/sql_select.cc @@ -8974,7 +8974,7 @@ static Field *create_tmp_field_from_item(THD *thd, Item *item, TABLE *table, *((*copy_func)++) = item; // Save for copy_funcs if (modify_item) item->set_result_field(new_field); - if (item->type() == MYSQL_TYPE_NULL) + if (item->type() == Item::NULL_ITEM) new_field->is_created_from_null_item= TRUE; return new_field; } |