summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authorkonstantin@bodhi.netgear <>2006-07-06 22:55:48 +0400
committerkonstantin@bodhi.netgear <>2006-07-06 22:55:48 +0400
commit01bc761690738a857540f22389d0328c91492be7 (patch)
treea054d3ff659c59af94637b315fc1234edc00dbcf /sql/sql_lex.h
parentf22a50a93b5a094554176499e489631b9cab0fe2 (diff)
parente29ea3f2efc660c30e1ec4102be11689045b7930 (diff)
downloadmariadb-git-01bc761690738a857540f22389d0328c91492be7.tar.gz
Merge bodhi.netgear:/opt/local/work/tmp_merge
into bodhi.netgear:/opt/local/work/mysql-5.1-runtime-merge-with-5.0
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 a46aaa0bab7..c889c2c5f94 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -808,6 +808,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;