summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2004-07-21 22:44:12 +0300
committerunknown <bell@sanja.is.com.ua>2004-07-21 22:44:12 +0300
commitff4aa03dc5e20501fbb3541dfef55f13cd7ca221 (patch)
tree10f2d2b4f13553227b0f0cc5c9801478bd1aca1b /sql/sql_lex.h
parentbf95f9195fe431841fe1e29e6b82c9f47ec52ad3 (diff)
downloadmariadb-git-ff4aa03dc5e20501fbb3541dfef55f13cd7ca221.tar.gz
LEX initialization fixed
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r--sql/sql_lex.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index 328df2f6bb9..5348d5e5646 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -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);