1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

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).
This commit is contained in:
Oleksandr Byelkin
2024-09-19 16:51:05 +02:00
parent 282b92f0a2
commit 20f57a8529

View File

@ -4176,6 +4176,7 @@ public:
is_slave_error= 0;
if (killed == KILL_BAD_DATA)
reset_killed();
my_errno= 0;
DBUG_VOID_RETURN;
}