Commit 20f57a85 authored by Oleksandr Byelkin's avatar Oleksandr Byelkin

MDEV-33373 part 1: Unexpected ER_FILE_NOT_FOUND upon reading from logging...

MDEV-33373 part 1: Unexpected ER_FILE_NOT_FOUND upon reading from logging table after crash recovery

We have found that my_errno can be "passed" to the next commad in some cases.

It is practically impossible to check/fix all cases of my_errno in the server,
plugins and engines so we will reset it as we reset other errors.

The test case will be fixed by CSV engine fix so will be added with it
(see part2).
parent 282b92f0
......@@ -4176,6 +4176,7 @@ class THD: public THD_count, /* this must be first */
is_slave_error= 0;
if (killed == KILL_BAD_DATA)
reset_killed();
my_errno= 0;
DBUG_VOID_RETURN;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment