summaryrefslogtreecommitdiff
path: root/sql/table.cc
diff options
context:
space:
mode:
authorgkodinov@mysql.com <>2006-05-26 11:57:56 +0300
committergkodinov@mysql.com <>2006-05-26 11:57:56 +0300
commitb6acee915aad7bebc93c37a7d1f42aa785e38d01 (patch)
tree85cd496f0198f594fac3a813ad6f0c4e96fca855 /sql/table.cc
parentf0f9c740ed629882fdb07c9d86076b2d4e29d645 (diff)
parent7552d8d9bae55d301c66900465950e50eae720f8 (diff)
downloadmariadb-git-b6acee915aad7bebc93c37a7d1f42aa785e38d01.tar.gz
Merge mysql.com:/home/kgeorge/mysql/5.0/clean
into mysql.com:/home/kgeorge/mysql/5.0/B18681
Diffstat (limited to 'sql/table.cc')
-rw-r--r--sql/table.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/table.cc b/sql/table.cc
index 4390c67c77d..cfdb9bd93aa 100644
--- a/sql/table.cc
+++ b/sql/table.cc
@@ -2068,7 +2068,8 @@ void st_table_list::hide_view_error(THD *thd)
if (thd->net.last_errno == ER_BAD_FIELD_ERROR ||
thd->net.last_errno == ER_SP_DOES_NOT_EXIST ||
thd->net.last_errno == ER_PROCACCESS_DENIED_ERROR ||
- thd->net.last_errno == ER_COLUMNACCESS_DENIED_ERROR)
+ thd->net.last_errno == ER_COLUMNACCESS_DENIED_ERROR ||
+ thd->net.last_errno == ER_TABLEACCESS_DENIED_ERROR)
{
TABLE_LIST *top= top_table();
thd->clear_error();