summaryrefslogtreecommitdiff
path: root/sql/mysql_priv.h
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2003-01-29 19:42:39 +0200
committerbell@sanja.is.com.ua <>2003-01-29 19:42:39 +0200
commit214036a7f6c87eb2768002ea2b278764c4ddc05d (patch)
tree185b3adb213d5a97368591628a459b65b72ea537 /sql/mysql_priv.h
parentfd2e31756beaa00a98083b6c10e8e64d3f45a4e5 (diff)
downloadmariadb-git-214036a7f6c87eb2768002ea2b278764c4ddc05d.tar.gz
improving of fields list creation in derived tables and unions
fixed length of fields created in fubselect fixed resolving fields of reduced in derived table subselect
Diffstat (limited to 'sql/mysql_priv.h')
-rw-r--r--sql/mysql_priv.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sql/mysql_priv.h b/sql/mysql_priv.h
index 978678fa975..026c521adb5 100644
--- a/sql/mysql_priv.h
+++ b/sql/mysql_priv.h
@@ -403,7 +403,8 @@ int mysql_select(THD *thd, Item ***rref_pointer_array,
COND *conds, uint og_num, ORDER *order, ORDER *group,
Item *having, ORDER *proc_param, ulong select_type,
select_result *result, SELECT_LEX_UNIT *unit,
- SELECT_LEX *select_lex, bool fake_select_lex);
+ SELECT_LEX *select_lex, bool fake_select_lex,
+ bool tables_OK);
void free_ulderlayed_joins(THD *thd, SELECT_LEX *select);
void fix_tables_pointers(SELECT_LEX *select_lex);
void fix_tables_pointers(SELECT_LEX_UNIT *select_lex);
@@ -411,7 +412,8 @@ int mysql_explain_union(THD *thd, SELECT_LEX_UNIT *unit,
select_result *result);
int mysql_explain_select(THD *thd, SELECT_LEX *sl, char const *type,
select_result *result);
-int mysql_union(THD *thd, LEX *lex,select_result *result,SELECT_LEX_UNIT *unit);
+int mysql_union(THD *thd, LEX *lex, select_result *result,
+ SELECT_LEX_UNIT *unit, bool tables_OK);
int mysql_derived(THD *thd, LEX *lex, SELECT_LEX_UNIT *s, TABLE_LIST *t);
Field *create_tmp_field(THD *thd, TABLE *table,Item *item, Item::Type type,
Item_result_field ***copy_func, Field **from_field,