summaryrefslogtreecommitdiff
path: root/sql/sp.cc
diff options
context:
space:
mode:
authorArun Kuruvila <arun.kuruvila@oracle.com>2016-11-28 11:55:36 +0530
committerArun Kuruvila <arun.kuruvila@oracle.com>2016-11-28 11:55:36 +0530
commit3a37745ca048e7b1faf726a15929ae944d7e25ed (patch)
tree8c1f3e6ee90424bb210f6b63a5938e2a95bada20 /sql/sp.cc
parent07fb5cffb035c622927c59188f0f062595eb2847 (diff)
downloadmariadb-git-3a37745ca048e7b1faf726a15929ae944d7e25ed.tar.gz
Diffstat (limited to 'sql/sp.cc')
-rw-r--r--sql/sp.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sp.cc b/sql/sp.cc
index a514ca10a68..56a439481f5 100644
--- a/sql/sp.cc
+++ b/sql/sp.cc
@@ -1,5 +1,5 @@
/*
- Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved.
+ Copyright (c) 2002, 2016, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -372,7 +372,7 @@ void Proc_table_intact::report_error(uint code, const char *fmt, ...)
my_vsnprintf(buf, sizeof(buf), fmt, args);
va_end(args);
- if (code)
+ if (code == ER_COL_COUNT_DOESNT_MATCH_CORRUPTED)
my_message(code, buf, MYF(0));
else
my_error(ER_CANNOT_LOAD_FROM_TABLE, MYF(0), "proc");