From a92ca267e0c3d73dbe43f339721312044e3eec47 Mon Sep 17 00:00:00 2001 From: Alexander Nozdrin Date: Tue, 31 Aug 2010 13:49:48 +0400 Subject: Fix TABLE::init() comment. --- sql/table.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sql/table.cc b/sql/table.cc index 5cdc0ce9042..e84991912a4 100644 --- a/sql/table.cc +++ b/sql/table.cc @@ -3224,9 +3224,11 @@ bool TABLE_SHARE::wait_for_old_version(THD *thd, struct timespec *abstime, /** - Initialize TABLE instance and prepare it to be used further. - Set the 'alias' attribute from the specified TABLE_LIST element. - Remember the TABLE_LIST element in the 'pos_in_table_list' member. + Initialize TABLE instance (newly created, or coming either from table + cache or THD::temporary_tables list) and prepare it for further use + during statement execution. Set the 'alias' attribute from the specified + TABLE_LIST element. Remember the TABLE_LIST element in the + TABLE::pos_in_table_list member. @param thd Thread context. @param tl TABLE_LIST element. -- cgit v1.2.1