summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/handler.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/handler.cc b/sql/handler.cc
index 1e5e4b18366..2763cd5c442 100644
--- a/sql/handler.cc
+++ b/sql/handler.cc
@@ -3979,6 +3979,7 @@ void handler::print_error(int error, myf errflag)
break;
case HA_ERR_PARTITION_LIST:
my_error(ER_VERS_NOT_ALLOWED, errflag, table->s->db.str, table->s->table_name.str);
+ DBUG_VOID_RETURN;
default:
{
/* The error was "unknown" to this function.