summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authorkonstantin@mysql.com <>2006-06-27 00:52:56 +0400
committerkonstantin@mysql.com <>2006-06-27 00:52:56 +0400
commit4d25d2154c42425fa206f3f92bdbcac6df65fdcd (patch)
tree01243a7bebf93caf027de3eb8cf04f4d328e2f47 /sql/sql_lex.h
parent8f4582db27327a46f0306948b0c3158ddc1c9ffc (diff)
parent117b76a562431090ca9f0b29702f921872065970 (diff)
downloadmariadb-git-4d25d2154c42425fa206f3f92bdbcac6df65fdcd.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-5.0-runtime
into mysql.com:/opt/local/work/mysql-5.0-17199
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r--sql/sql_lex.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index c75aa8f31b9..d63c6ef9f20 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -758,6 +758,11 @@ public:
*this= *state;
}
+ /*
+ Direct addition to the list of query tables.
+ If you are using this function, you must ensure that the table
+ object, in particular table->db member, is initialized.
+ */
void add_to_query_tables(TABLE_LIST *table)
{
*(table->prev_global= query_tables_last)= table;