mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
WL#3700: Handler API change: all index search methods - that is,
index_read(), index_read_idx(), index_read_last(), and records_in_range() - instead of 'uint keylen' argument take 'ulonglong keypart_map', a bitmap showing which keyparts are present in the key value. Fallback method is provided for handlers that are lagging behind.
This commit is contained in:
@ -323,7 +323,7 @@ static int run_test(const char *filename)
|
||||
range.key= record+1;
|
||||
range.length= 1000; /* Big enough */
|
||||
range.flag= HA_READ_MBR_INTERSECT;
|
||||
hrows= mi_records_in_range(file,0, &range, (key_range*) 0);
|
||||
hrows= mi_records_in_range(file, 0, &range, (key_range*) 0);
|
||||
printf(" %ld rows\n", (long) hrows);
|
||||
|
||||
if (mi_close(file)) goto err;
|
||||
|
Reference in New Issue
Block a user