DB-650 set error in join_read_first from prepare_index_scan