summaryrefslogtreecommitdiff
path: root/sql/table.cc
diff options
context:
space:
mode:
authorAlexander Nozdrin <alik@sun.com>2010-08-31 13:49:48 +0400
committerAlexander Nozdrin <alik@sun.com>2010-08-31 13:49:48 +0400
commita92ca267e0c3d73dbe43f339721312044e3eec47 (patch)
tree1ceae9dfe9d27b56b0c11d90a56443dfa37033ca /sql/table.cc
parent26bc3b34d5c50599bd6f9856b19c9c4e4c58d819 (diff)
downloadmariadb-git-a92ca267e0c3d73dbe43f339721312044e3eec47.tar.gz
Fix TABLE::init() comment.
Diffstat (limited to 'sql/table.cc')
-rw-r--r--sql/table.cc8
1 files 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.