1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

lp:893522 more problems found by PVS Studio

This commit is contained in:
Sergei Golubchik
2012-01-12 20:23:02 +01:00

View File

@@ -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 */