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:
@@ -597,7 +597,7 @@ bool subquery_types_allow_materialization(Item_in_subselect *in_subs)
|
||||
break;
|
||||
case TIME_RESULT:
|
||||
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);
|
||||
default:
|
||||
/* suitable for materialization */
|
||||
|
Reference in New Issue
Block a user