mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Fix for LP#702786 "Two handler read f1 next gives different errors"
mysql-test/suite/handler/heap.result: New test case mysql-test/suite/handler/heap.test: New test case sql/sql_handler.cc: If we get a fatal error in handler read, end table/index scan as it's likely it was wrongly used (for example not supported feature for index)
This commit is contained in:
@@ -819,6 +819,7 @@ retry:
|
||||
"table '%s'",
|
||||
error, tables->table_name);
|
||||
table->file->print_error(error,MYF(0));
|
||||
table->file->ha_index_or_rnd_end();
|
||||
goto err;
|
||||
}
|
||||
goto ok;
|
||||
|
Reference in New Issue
Block a user