diff options
author | bell@sanja.is.com.ua <> | 2004-10-20 16:11:16 +0300 |
---|---|---|
committer | bell@sanja.is.com.ua <> | 2004-10-20 16:11:16 +0300 |
commit | 42d6d6765a907e049f496fb9b42dc22752ac329b (patch) | |
tree | b5b93396b554d77b8cadae7610977be000865b1d /sql/sql_lex.h | |
parent | 30947b7b0e0039742d7369d5cc44d1905a73ab2c (diff) | |
parent | d409547de420ae0f928dfb5f37f8a794efc05b7d (diff) | |
download | mariadb-git-42d6d6765a907e049f496fb9b42dc22752ac329b.tar.gz |
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0
into sanja.is.com.ua:/home/bell/mysql/bk/work-error-5.0
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r-- | sql/sql_lex.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h index af5b0896fa5..985a3182015 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -340,8 +340,8 @@ protected: TABLE *table; /* temporary table using for appending UNION results */ select_result *result; - int res; ulong found_rows_for_union; + bool res; bool prepared, // prepare phase already performed for UNION (unit) optimized, // optimize phase already performed for UNION (unit) executed, // already executed @@ -400,9 +400,9 @@ public: void exclude_tree(); /* UNION methods */ - int prepare(THD *thd, select_result *result, ulong additional_options); - int exec(); - int cleanup(); + bool prepare(THD *thd, select_result *result, ulong additional_options); + bool exec(); + bool cleanup(); inline void unclean() { cleaned= 0; } void reinit_exec_mechanism(); @@ -410,7 +410,7 @@ public: void print(String *str); ulong init_prepare_fake_select_lex(THD *thd); - int change_result(select_subselect *result, select_subselect *old_result); + bool change_result(select_subselect *result, select_subselect *old_result); void set_limit(st_select_lex *values, st_select_lex *sl); friend void mysql_init_query(THD *thd, uchar *buf, uint length, bool lexonly); |