diff options
author | unknown <sergefp@mysql.com> | 2005-02-05 18:16:29 +0300 |
---|---|---|
committer | unknown <sergefp@mysql.com> | 2005-02-05 18:16:29 +0300 |
commit | d52afba56aed1623f971cd74c34c0014a0303ebc (patch) | |
tree | d8c699ee07ccc67bdf858d916ac7617588040480 /sql/opt_range.cc | |
parent | e33ef0d9ec29e5420ad9824b781fb68258246d84 (diff) | |
download | mariadb-git-d52afba56aed1623f971cd74c34c0014a0303ebc.tar.gz |
Outer joins cleanup: Remove TABLE::outer_join and use TABLE::maybe_null only (2nd patch after Monty's comments).
sql/mysql_priv.h:
Outer joins cleanup: Remove TABLE::outer_join and use TABLE::maybe_null only.
sql/opt_range.cc:
Outer joins cleanup: Remove TABLE::outer_join and use TABLE::maybe_null only.
sql/sql_base.cc:
Outer joins cleanup: Remove TABLE::outer_join and use TABLE::maybe_null only.
sql/sql_select.cc:
Outer joins cleanup: Remove TABLE::outer_join and use TABLE::maybe_null only.
sql/table.h:
Outer joins cleanup:
* Remove TABLE::outer_join and use TABLE::maybe_null only.
* Added comments.
Diffstat (limited to 'sql/opt_range.cc')
-rw-r--r-- | sql/opt_range.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/opt_range.cc b/sql/opt_range.cc index e5799bfd509..ceb9f97bbbc 100644 --- a/sql/opt_range.cc +++ b/sql/opt_range.cc @@ -3611,7 +3611,7 @@ get_mm_leaf(PARAM *param, COND *conf_func, Field *field, KEY_PART *key_part, if (!value) // IS NULL or IS NOT NULL { - if (field->table->outer_join) // Can't use a key on this + if (field->table->maybe_null) // Can't use a key on this DBUG_RETURN(0); if (!maybe_null) // Not null field DBUG_RETURN(type == Item_func::ISNULL_FUNC ? &null_element : 0); |