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
commit13a2e39f2bbcfc5c28a95d608e3f10f3dfaf7acb (patch)
tree1ceae9dfe9d27b56b0c11d90a56443dfa37033ca /sql/table.cc
parentcddb976f28678bf27d198c68ce39ca80a69a728e (diff)
downloadmariadb-git-13a2e39f2bbcfc5c28a95d608e3f10f3dfaf7acb.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.