mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-33281 Make BNL() hint enable hashed join buffers
Since BNL() hint does not specify which whether hashed or non-hashed join cache should be employed, allow usage of hashed ones where possible
This commit is contained in:
@@ -1885,11 +1885,7 @@ public:
|
||||
ulonglong curr_space,
|
||||
ulonglong needed_space);
|
||||
void set_allowed_join_cache_types();
|
||||
bool is_allowed_hash_join_access()
|
||||
{
|
||||
return MY_TEST(allowed_join_cache_types & JOIN_CACHE_HASHED_BIT) &&
|
||||
max_allowed_join_cache_level > JOIN_CACHE_HASHED_BIT;
|
||||
}
|
||||
bool is_allowed_hash_join_access(const TABLE *table);
|
||||
/*
|
||||
Check if we need to create a temporary table.
|
||||
This has to be done if all tables are not already read (const tables)
|
||||
|
Reference in New Issue
Block a user