List:General Discussion« Previous MessageNext Message »
From:Victoria Reznichenko Date:October 11 2002 10:12am
Subject:re: NULL sometimes joins to NULL
View as plain text  
jfield,
Thursday, October 10, 2002, 1:33:10 AM, you wrote:

jazdc> After adding a key to a nullable column, null values will
jazdc> successfully join through to null values in other tables.
jazdc> This only seems to happen when the index is added after
jazdc> the row contains null values.  This affects both MyISAM
jazdc> and InnoDB table types and both binary versions 3.23.42
jazdc> and 4.0.4.

[skip]

jazdc>   mysql> select * from foo, bar where foo.id = bar.id;
jazdc>   +------+------+
jazdc>   | id   | id   |
jazdc>   +------+------+
jazdc>   | NULL | NULL |
jazdc>   +------+------+
jazdc>   1 row in set (0.00 sec)


Thanks for bug report!


-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Victoria Reznichenko
 / /|_/ / // /\ \/ /_/ / /__   Victoria.Reznichenko@stripped
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com




Thread
NULL sometimes joins to NULLjfield10 Oct
  • re: NULL sometimes joins to NULLVictoria Reznichenko11 Oct
  • re: NULL sometimes joins to NULLVictoria Reznichenko17 Oct
Re: NULL sometimes joins to NULLJan Steinman10 Oct
RE: NULL sometimes joins to NULLJianliang Zhao11 Oct
RE: NULL sometimes joins to NULLArtem Koltsov11 Oct