summaryrefslogtreecommitdiff
path: root/sql/sql_show.cc
diff options
context:
space:
mode:
authorKonstantin Osipov <kostja@sun.com>2009-11-30 22:11:32 +0300
committerKonstantin Osipov <kostja@sun.com>2009-11-30 22:11:32 +0300
commit40d98edd220d1ec7a317d3c1cbcbf58c5748388b (patch)
treecb0f4c87110d9fd6443823f603e64f3dd5aa03cd /sql/sql_show.cc
parentaeebede1954d12b80f4c4aea016460501bfc2f5a (diff)
downloadmariadb-git-40d98edd220d1ec7a317d3c1cbcbf58c5748388b.tar.gz
Backport of:
------------------------------------------------------------ revno: 2630.6.1 committer: Konstantin Osipov <konstantin@mysql.com> branch nick: mysql-6.0-3726 timestamp: Tue 2008-05-27 13:45:34 +0400 message: Remove an unused argument from release_table_share(). Remove unused members from TABLE_SHARE struct. Review comments in scope of WL#3726 "DDL locking for all metadata objects" sql/mysql_priv.h: Update declaration. sql/sql_base.cc: Upate declaration and the comment (release_share()). sql/sql_plist.h: A cosmetic change, is_empty() is a const method. sql/sql_table.cc: Update to use the new declaration of release_table_share(). sql/sql_view.cc: Update to use the new declaration of release_table_share(). sql/table.cc: Update to use the new declaration of release_table_share(). Remove dead code. sql/table.h: Remove unused members of TABLE.
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r--sql/sql_show.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index c83a6981166..236bca76c7d 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -3206,7 +3206,7 @@ static int fill_schema_table_from_frm(THD *thd,TABLE *table,
}
err_share:
- release_table_share(share, RELEASE_NORMAL);
+ release_table_share(share);
err_unlock:
pthread_mutex_unlock(&LOCK_open);