diff options
author | unknown <timour@mysql.com> | 2004-08-30 15:26:27 +0300 |
---|---|---|
committer | unknown <timour@mysql.com> | 2004-08-30 15:26:27 +0300 |
commit | 2466cbc4793fd56e531d128225227ba05e019757 (patch) | |
tree | 262d8b9780a57dfc4d3423dbc87ee4a45930283f /BitKeeper | |
parent | 88fe390a721e4bc92918f8571cdf8961dc340796 (diff) | |
download | mariadb-git-2466cbc4793fd56e531d128225227ba05e019757.tar.gz |
Fix for Bug#3759
The cause of the bug is that Item_func_in::fix_fields did not fully update its
used_table_cache. This was the cause for not_null_tables in setup_conds() to be
still 0 after the call
not_null_tables= (*conds)->not_null_tables();
As a result the condition in setup_conds()
if ( ... (table->table->map & not_null_tables) ...)
failed, which was the cause for the ON expression not to be added to conds, and later
the optimizer couldn't detect that it could apply the OUTER JOIN ==> JOIN optimization.
sql/item_cmpfunc.h:
Fix for Bug#3759
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
Diffstat (limited to 'BitKeeper')
-rw-r--r-- | BitKeeper/etc/logging_ok | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/BitKeeper/etc/logging_ok b/BitKeeper/etc/logging_ok index 698f7655b6e..ce1b4d16eb9 100644 --- a/BitKeeper/etc/logging_ok +++ b/BitKeeper/etc/logging_ok @@ -136,6 +136,7 @@ tim@sand.box tim@threads.polyesthetic.msg tim@white.box tim@work.mysql.com +timour@mysql.com tom@basil-firewall.home.com tonu@hundin.mysql.fi tonu@volk.internalnet |