Commit 271eb258 authored by unknown's avatar unknown

Coding style fixes

parent 06c845ee
......@@ -756,8 +756,7 @@ bool Item_param::set_from_user_var(THD *thd, const user_var_entry *entry)
if (entry && entry->value)
{
item_result_type= entry->type;
switch (entry->type)
{
switch (entry->type) {
case REAL_RESULT:
set_double(*(double*)entry->value);
break;
......@@ -788,8 +787,8 @@ bool Item_param::set_from_user_var(THD *thd, const user_var_entry *entry)
if (set_str((const char *)entry->value, entry->length))
DBUG_RETURN(1);
}
break;
}
default:
DBUG_ASSERT(0);
set_null();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment