~drizzle-trunk/drizzle/development

  • Committer: Prafulla Tekawade
  • Date: 2010-07-18 03:36:32 UTC
  • mto: (1662.1.4 rollup)
  • Revision ID: prafulla_t@users.sourceforge.net-20100718033632-p7q6qtgliqbhe38p
Fix for Bug 592444

There were two problems:
o. In greedy_search optimizer method, best_extension_by_limited search
   maintains join embedding(nestedness) of tables added so far, so that 
   correct(valid)  join order is selected
   These are requirements from nested outer join executioner.
   The problem was, embedding_map was not correctly updated when a table 
   is added to optimal plan outside best_extension_by_limited search, 
   by greedy_search method. We need to update join->cur_embedding_map
   correctly here so that execution plan for other tables get
   generated.
   Invoked checked_interleaving_with_nj from greedy_search on the
   best_table selected. Fixed its prototype to take only one JoinTab
   This is same as mysql 5.1 source tree.
o. The other problem was, join->cur_embedding_map was not restored correctly
   when a table is added to the optimal plan to reflect the current embedding 
   map. 
   Taken good documented method restore_prev_nj_state which restores 
   cur_embedding_map from mysql 5.1 source tree and modified it for drizzled 
   code.
Filename Latest Rev Last Changed Committer Comment Size
..
client 1 16 years ago brian clean slate Diff
config 1 16 years ago brian clean slate Diff
drizzled 214 16 years ago Brian Aker Rename of fields (fix issue with string and decima Diff
extra 1022.2.34 15 years ago Monty Taylor Merged Monty from lp:~mordred/drizzle/kill-malloc Diff
gnulib 815.1.1 16 years ago Monty Taylor Add timegm which is missing on Solaris. Diff
m4 202.3.14 16 years ago Monty Taylor Moved m4 macros to top-level m4 dir, per GNU stand Diff
plugin 1 16 years ago brian clean slate Diff
po 202.3.1 16 years ago Monty Taylor Added very initial gettextize stuff. Diff
support-files 1 16 years ago brian clean slate Diff
tests 77.1.47 16 years ago Monty Taylor Moved test to tests... Diff
unittests 1377.8.1 14 years ago pawel primitive integration of the testing framework wit Diff
.bzrignore 1620 14 years ago Monty Taylor Merged Pawel from lp:~pblokus/drizzle/unittests-pl 5.7 KB Diff Download File
.quickly 1643.1.12 14 years ago Monty Taylor Updated pandora-build files to version 0.136 111 bytes Diff Download File
ABOUT-NLS 202.3.1 16 years ago Monty Taylor Added very initial gettextize stuff. 74.7 KB Diff Download File
AUTHORS 1546 14 years ago Brian Aker Merge of Joe's patch (and I updated the author fil 387 bytes Diff Download File
configure.ac 1644.1.1 14 years ago Monty Taylor Added a configure summary entry for pandora-build 5.3 KB Diff Download File
COPYING 1 16 years ago brian clean slate 18.6 KB Diff Download File
Doxyfile 264.3.1 16 years ago Jay Pipes * Added Doxyfile configuration for doxygen builds 55.2 KB Diff Download File
DRIZZLE.FAQ 665.1.4 16 years ago Eric Herman Added pointer to online version of the FAQ 5.8 KB Diff Download File
EXCEPTIONS-CLIENT 1 16 years ago brian clean slate 5 KB Diff Download File
Makefile.am 1657.1.4 14 years ago Monty Taylor Merged PBMS libraries from Barry. 4.3 KB Diff Download File
NEWS 194 16 years ago Brian Aker Documentation cleanup 41 bytes Diff Download File
README 992.1.3 15 years ago Monty Taylor Clarified instructions in README. 821 bytes Diff Download File