diff options
author | bell@sanja.is.com.ua <> | 2002-03-16 10:38:35 +0200 |
---|---|---|
committer | bell@sanja.is.com.ua <> | 2002-03-16 10:38:35 +0200 |
commit | 672e42ca93b9d5f3421dcbe2a424ee674e35e0d1 (patch) | |
tree | 1726835dbb61c834110b5480ed4a6510faedbeff /sql | |
parent | b642599f96bef5eb4455045e8d0e09c201de83cd (diff) | |
parent | c92df13c84a73714ee92a3f0db176c0a5e14fe1c (diff) | |
download | mariadb-git-672e42ca93b9d5f3421dcbe2a424ee674e35e0d1.tar.gz |
Merge sanja.is.com.ua:/home/bell/mysql/mysql-4
into sanja.is.com.ua:/home/bell/mysql/work.etalon
Diffstat (limited to 'sql')
-rw-r--r-- | sql/sql_class.h | 5 | ||||
-rw-r--r-- | sql/table.h | 7 |
2 files changed, 8 insertions, 4 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h index 6bbcca65166..fa63cd90976 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -492,7 +492,10 @@ public: CHANGED_TABLE_LIST * changed_table_dup(TABLE *table); }; - +/* + Used to hold information about file and file structure in exchainge + via non-DB file (...INTO OUTFILE..., ...LOAD DATA...) +*/ class sql_exchange :public Sql_alloc { public: diff --git a/sql/table.h b/sql/table.h index 16a42cd58a4..209333c24b7 100644 --- a/sql/table.h +++ b/sql/table.h @@ -112,7 +112,7 @@ struct st_table { char *table_name,*real_name,*path; uint key_length; /* Length of key */ uint tablenr,used_fields,null_bytes; - table_map map; + table_map map; /* ID bit of table (1,2,4,8,16...) */ ulong version,flush_version; uchar *null_flags; IO_CACHE *io_cache; /* If sorted trough file*/ @@ -141,13 +141,14 @@ typedef struct st_table_list { uint32 db_length, real_name_length; Item *on_expr; /* Used with outer join */ struct st_table_list *natural_join; /* natural join on this table*/ - List<String> *use_index,*ignore_index; + /* ... join ... 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 updating; /* for replicate-do/ignore table */ bool shared; /* Used twice in union */ } TABLE_LIST; |