1
0
mirror of https://github.com/MariaDB/server.git synced 2026-10-23 18:49:29 +03:00

To squash with previous: add an assertion.

This commit is contained in:
Sergei Petrunia
2026-10-20 13:16:54 +03:00
parent 3e2225b252
commit 7d3f605807

View File

@@ -8209,6 +8209,11 @@ int ha_partition::handle_ordered_index_scan(uchar *buf, bool reverse_order)
/* Caller has specified reverse_order */
break;
case partition_index_first:
/*
We don't call read_with_icp() here as full index scans are not done
with ICP.
*/
DBUG_ASSERT(!pushed_idx_cond);
error= file->ha_index_first(rec_buf_ptr);
reverse_order= FALSE;
break;