summaryrefslogtreecommitdiff
path: root/sql/mysql_priv.h
diff options
context:
space:
mode:
authorkonstantin@oak.local <>2003-12-19 20:52:13 +0300
committerkonstantin@oak.local <>2003-12-19 20:52:13 +0300
commitd37da004f6ffb32d170ce4cb9d93ba166de5b6b0 (patch)
treea4c72a1d62170f1e5637ed34fd09ada369f1c764 /sql/mysql_priv.h
parentc49773237d2bb807e10ffb66c321f87a20f1e1c6 (diff)
downloadmariadb-git-d37da004f6ffb32d170ce4cb9d93ba166de5b6b0.tar.gz
THD::lex now points to THD::main_lex like in 5.0
All tests pass (client_test included)
Diffstat (limited to 'sql/mysql_priv.h')
-rw-r--r--sql/mysql_priv.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/mysql_priv.h b/sql/mysql_priv.h
index b7a2d1a74b9..863c1bdd419 100644
--- a/sql/mysql_priv.h
+++ b/sql/mysql_priv.h
@@ -1036,22 +1036,22 @@ SQL_CRYPT *get_crypt_for_frm(void);
inline bool add_item_to_list(THD *thd, Item *item)
{
- return thd->lex.current_select->add_item_to_list(thd, item);
+ return thd->lex->current_select->add_item_to_list(thd, item);
}
inline bool add_value_to_list(THD *thd, Item *value)
{
- return thd->lex.value_list.push_back(value);
+ return thd->lex->value_list.push_back(value);
}
inline bool add_order_to_list(THD *thd, Item *item, bool asc)
{
- return thd->lex.current_select->add_order_to_list(thd, item, asc);
+ return thd->lex->current_select->add_order_to_list(thd, item, asc);
}
inline bool add_group_to_list(THD *thd, Item *item, bool asc)
{
- return thd->lex.current_select->add_group_to_list(thd, item, asc);
+ return thd->lex->current_select->add_group_to_list(thd, item, asc);
}
inline void mark_as_null_row(TABLE *table)