summaryrefslogtreecommitdiff
path: root/sql/sql_handler.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-04-14 00:09:11 +0200
committerSergei Golubchik <serg@mariadb.org>2018-05-12 10:16:45 +0200
commit0f956a0676849bdd9c98bc45867b1965909f24f3 (patch)
tree6bd2e8bc586918c2344973a5b4a961552c140259 /sql/sql_handler.cc
parent5441bbd3b1f9e4d0232f8df83a79c51638e51a58 (diff)
downloadmariadb-git-0f956a0676849bdd9c98bc45867b1965909f24f3.tar.gz
cleanup: hide HA_ERR_RECORD_DELETED in ha_rnd_next()
it's internal storage engine error, don't let it leak into the upper layer.
Diffstat (limited to 'sql/sql_handler.cc')
-rw-r--r--sql/sql_handler.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/sql_handler.cc b/sql/sql_handler.cc
index 09883d8a0bd..187a7462c87 100644
--- a/sql/sql_handler.cc
+++ b/sql/sql_handler.cc
@@ -941,8 +941,6 @@ retry:
if (unlikely(error))
{
- if (error == HA_ERR_RECORD_DELETED)
- continue;
if (error != HA_ERR_KEY_NOT_FOUND && error != HA_ERR_END_OF_FILE)
{
/* Don't give error in the log file for some expected problems */