summaryrefslogtreecommitdiff
path: root/sql/table.h
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2002-05-07 00:04:16 +0300
committerunknown <bell@sanja.is.com.ua>2002-05-07 00:04:16 +0300
commit2c62a868a60058a8664dcf3e45cdd86b41635ddd (patch)
tree28f6bf8b6eba7559f3589a4655aa64349d0b84cc /sql/table.h
parent234dc3a35e8ae7f63aa6d3b7891b72e735728639 (diff)
downloadmariadb-git-2c62a868a60058a8664dcf3e45cdd86b41635ddd.tar.gz
new SELECT_LEX structure
mysql-test/r/derived.result: derived table bug test mysql-test/t/derived.test: derived table bug test sql/mysql_priv.h: new mysql_new_select call & layout fixing sql/sql_class.h: passing unit as parameter of Table_ident constructor sql/sql_lex.cc: new SELECT_LEX structure methods sql/sql_lex.h: new SELECT_LEX structure definition sql/table.h: fixed layout
Diffstat (limited to 'sql/table.h')
-rw-r--r--sql/table.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/sql/table.h b/sql/table.h
index 59cb28038bf..e30e29ddd3f 100644
--- a/sql/table.h
+++ b/sql/table.h
@@ -139,18 +139,18 @@ typedef struct st_table_list {
struct st_table_list *next;
char *db,*name,*real_name;
uint32 db_length, real_name_length;
- Item *on_expr; /* Used with outer join */
- struct st_table_list *natural_join; /* natural join on this table*/
+ Item *on_expr; /* Used with outer join */
+ struct st_table_list *natural_join; /* natural join on this table*/
/* ... join ... USE INDEX ... IGNORE INDEX */
- List<String> *use_index,*ignore_index;
+ List<String> *use_index, *ignore_index;
TABLE *table;
GRANT_INFO grant;
thr_lock_type lock_type;
- uint outer_join; /* Which join type */
- bool straight; /* optimize with prev table */
- bool updating; /* for replicate-do/ignore table */
- bool shared; /* Used twice in union */
- void *derived;
+ uint outer_join; /* Which join type */
+ bool straight; /* optimize with prev table */
+ bool updating; /* for replicate-do/ignore table */
+ bool shared; /* Used twice in union */
+ void *derived; /* SELECT_LEX_UNIT of derived table */
} TABLE_LIST;
typedef struct st_changed_table_list {