Commit 45e25e36 authored by Sergei Golubchik's avatar Sergei Golubchik

lp:893522 more problems found by PVS Studio

parents 296b450d 796ede64
...@@ -597,7 +597,7 @@ bool subquery_types_allow_materialization(Item_in_subselect *in_subs) ...@@ -597,7 +597,7 @@ bool subquery_types_allow_materialization(Item_in_subselect *in_subs)
break; break;
case TIME_RESULT: case TIME_RESULT:
if (mysql_type_to_time_type(outer->field_type()) != if (mysql_type_to_time_type(outer->field_type()) !=
mysql_type_to_time_type(outer->field_type())) mysql_type_to_time_type(inner->field_type()))
DBUG_RETURN(FALSE); DBUG_RETURN(FALSE);
default: default:
/* suitable for materialization */ /* suitable for materialization */
......
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