1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

LEX initialization fixed

This commit is contained in:
bell@sanja.is.com.ua
2004-07-21 22:44:12 +03:00
parent 84d9b862f6
commit a1b6f6db0e
6 changed files with 18 additions and 20 deletions

View File

@ -375,7 +375,7 @@ public:
ulong init_prepare_fake_select_lex(THD *thd);
int change_result(select_subselect *result, select_subselect *old_result);
friend void mysql_init_query(THD *thd);
friend void mysql_init_query(THD *thd, uchar *buf, uint length);
friend int subselect_union_engine::exec();
private:
bool create_total_list_n_last_return(THD *thd, st_lex *lex,
@ -514,7 +514,7 @@ public:
bool test_limit();
friend void mysql_init_query(THD *thd);
friend void mysql_init_query(THD *thd, uchar *buf, uint length);
st_select_lex() {}
void make_empty_select()
{
@ -664,7 +664,7 @@ typedef struct st_lex
void lex_init(void);
void lex_free(void);
LEX *lex_start(THD *thd, uchar *buf,uint length);
void lex_start(THD *thd, uchar *buf,uint length);
void lex_end(LEX *lex);
extern pthread_key(LEX*,THR_LEX);