mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-35194 non-BNL join fails on assertion
with streaming implemened mhnsw no longer needs to know the LIMIT in advance. let's just cap it to avoid allocating too much memory for the one step result set
This commit is contained in:
@@ -25150,7 +25150,6 @@ join_read_first(JOIN_TAB *tab)
|
||||
DBUG_ASSERT(tab->sorted);
|
||||
DBUG_ASSERT(tab->join->order);
|
||||
DBUG_ASSERT(tab->join->order->next == NULL);
|
||||
DBUG_ASSERT(tab->join->select_limit < HA_POS_ERROR);
|
||||
tab->read_record.read_record_func= join_hlindex_read_next;
|
||||
error= tab->table->hlindex_read_first(tab->index, *tab->join->order->item,
|
||||
tab->join->select_limit);
|
||||
|
Reference in New Issue
Block a user