mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-15245: Assertion `false' failed in myrocks::ha_rocksdb::position
Don't call handler->position() if the last call to read a row did not succeed.
This commit is contained in:
@ -18724,7 +18724,7 @@ sub_select(JOIN *join,JOIN_TAB *join_tab,bool end_of_records)
|
||||
skip_over= FALSE;
|
||||
}
|
||||
|
||||
if (join_tab->keep_current_rowid)
|
||||
if (join_tab->keep_current_rowid && !error)
|
||||
join_tab->table->file->position(join_tab->table->record[0]);
|
||||
|
||||
rc= evaluate_join_record(join, join_tab, error);
|
||||
|
Reference in New Issue
Block a user