Skip to content

Commit a7e1b09

Browse files
midenokCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 0cae39c commit a7e1b09

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sql/sql_table.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13353,6 +13353,8 @@ bool TABLE::vers_get_history_range(THD *thd, my_timespec_t &min_ts,
1335313353
}
1335413354

1335513355
file->ha_index_end();
13356+
if (error == HA_ERR_END_OF_FILE || error == HA_ERR_KEY_NOT_FOUND)
13357+
error= 0;
1335613358
if (error)
1335713359
goto end_unlock;
1335813360

0 commit comments

Comments
 (0)