mirror of
https://github.com/MariaDB/server.git
synced 2026-04-30 04:05:32 +02:00
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.
This commit is contained in:
parent
aeebede195
commit
40d98edd22
8 changed files with 26 additions and 48 deletions
|
|
@ -62,7 +62,7 @@ class I_P_List
|
|||
public:
|
||||
I_P_List() : first(NULL) { };
|
||||
inline void empty() { first= NULL; }
|
||||
inline bool is_empty() { return (first == NULL); }
|
||||
inline bool is_empty() const { return (first == NULL); }
|
||||
inline void push_front(T* a)
|
||||
{
|
||||
*B::next_ptr(a)= first;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue