mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 03:17:20 +02:00
MDEV-16188: Remove redundant !this ||
Fix clang warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true The only caller of TABLE::best_range_rowid_filter_for_partial_join() already seems to be assuming that s->table != NULL.
This commit is contained in:
parent
54ffc4996a
commit
2bd7f32980
1 changed files with 1 additions and 1 deletions
|
|
@ -434,7 +434,7 @@ TABLE::best_range_rowid_filter_for_partial_join(uint access_key_no,
|
|||
double records,
|
||||
double access_cost_factor)
|
||||
{
|
||||
if (!this || range_rowid_filter_cost_info_elems == 0 ||
|
||||
if (range_rowid_filter_cost_info_elems == 0 ||
|
||||
covering_keys.is_set(access_key_no))
|
||||
return 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue