summaryrefslogtreecommitdiff
path: root/sql/table.h
diff options
context:
space:
mode:
authorunknown <sergefp@mysql.com>2005-02-05 18:18:06 +0300
committerunknown <sergefp@mysql.com>2005-02-05 18:18:06 +0300
commit0989e1afd93a205e544067891240a07ae4fa51a6 (patch)
treeab6b57be940abfceac89ce815edc84cc764c9c16 /sql/table.h
parentb23da8fa96601d9549595cfe910a21e063b9b023 (diff)
parentd52afba56aed1623f971cd74c34c0014a0303ebc (diff)
downloadmariadb-git-0989e1afd93a205e544067891240a07ae4fa51a6.tar.gz
Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/psergey/mysql-5.0-outer-joins-cleanup sql/mysql_priv.h: Auto merged sql/table.h: Auto merged
Diffstat (limited to 'sql/table.h')
-rw-r--r--sql/table.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/sql/table.h b/sql/table.h
index 432267bf72b..8dcd4e658db 100644
--- a/sql/table.h
+++ b/sql/table.h
@@ -217,14 +217,18 @@ struct st_table {
uint derived_select_number;
int current_lock; /* Type of lock on table */
my_bool copy_blobs; /* copy_blobs when storing */
+
+ /*
+ 0 or JOIN_TYPE_{LEFT|RIGHT}. Currently this is only compared to 0.
+ If maybe_null !=0, this table is inner w.r.t. some outer join operation,
+ and null_row may be true.
+ */
+ uint maybe_null;
/*
- Used in outer joins: if true, all columns are considered to have NULL
- values, including columns declared as "not null".
+ If true, the current table row is considered to have all columns set to
+ NULL, including columns declared as "not null" (see maybe_null).
*/
my_bool null_row;
- /* 0 or JOIN_TYPE_{LEFT|RIGHT}, same as TABLE_LIST::outer_join */
- my_bool outer_join;
- my_bool maybe_null; /* true if (outer_join != 0) */
my_bool force_index;
my_bool distinct,const_table,no_rows;
my_bool key_read, no_keyread;