summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2003-11-23 21:26:43 +0200
committerunknown <bell@sanja.is.com.ua>2003-11-23 21:26:43 +0200
commit381a8db6a63aa70ddb49c3145bcff36d628da176 (patch)
treefc26a723bc704982f8240c2041552c93c9488f90 /sql/sql_lex.h
parent105087127ed6f05c03b34f79402341cebfb8b71a (diff)
downloadmariadb-git-381a8db6a63aa70ddb49c3145bcff36d628da176.tar.gz
after review fixes
mysql-test/r/union.result: new tests, more correct results for old one mysql-test/t/union.test: new tests, more correct results for old one sql/field.cc: new way to make field types csting sql/field.h: new way to make field types csting sql/item.cc: new way to make field types csting sql/sql_derived.cc: fixed typo sql/sql_lex.h: comment added
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r--sql/sql_lex.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index 29301053c59..15da6ca57a3 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -309,7 +309,13 @@ protected:
public:
// list of fields which points to temporary table for union
List<Item> item_list;
- // list of types of items inside union (used for union & derived tables)
+ /*
+ list of types of items inside union (used for union & derived tables)
+
+ Item_type_holders from which this list consist may have pointers to Field,
+ pointers is valid only after preparing SELECTS of this unit and before
+ any SELECT of this unit execution
+ */
List<Item> types;
/*
Pointer to 'last' select or pointer to unit where stored