mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fixed crash in is_stat_table() when using hash joins.
Other usage if persistent statistics is checking 'stats_is_read' in caller, which is why this was not noticed earlier. Other things: - Simplified no_stat_values_provided
This commit is contained in:
@ -445,9 +445,7 @@ public:
|
||||
*/
|
||||
bool no_stat_values_provided()
|
||||
{
|
||||
if (column_stat_nulls == no_values_provided_bitmap())
|
||||
return true;
|
||||
return false;
|
||||
return (column_stat_nulls == no_values_provided_bitmap());
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user