- 24 Aug, 2009 1 commit
-
-
Sergey Petrunya authored
- Correctly handle the case where we have multi-table DELETE and a table that we're deleting from looks like it could be eliminated.
-
- 21 Aug, 2009 2 commits
-
-
Sergey Petrunya authored
- Remove a piece of code that's not needed anymore.
-
Sergey Petrunya authored
- More testcases - Set correct dependencies for non-bound multi-equalities. mysql-test/r/table_elim.result: MWL#17: Table elimination - More testcases mysql-test/t/table_elim.test: MWL#17: Table elimination - More testcases sql/opt_table_elimination.cc: MWL#17: Table elimination - Set correct dependencies for non-bound multi-equalities.
-
- 20 Aug, 2009 1 commit
-
-
Sergey Petrunya authored
- Multiple-equality handling
-
- 19 Aug, 2009 2 commits
-
-
Sergey Petrunya authored
-
Sergey Petrunya authored
- Use Table_elimination only for functional dependency checking for individual objects and rename it to Func_dep_analyzer
-
- 18 Aug, 2009 4 commits
-
-
Sergey Petrunya authored
-
Sergey Petrunya authored
- Better comments - Switch from "type" enum and switch to virtual functions for member funcs.
-
Sergey Petrunya authored
- Code cleanup
-
Sergey Petrunya authored
- Switch from trying to eliminate all tables at once (which didn't work) to the original approach of bottom-up elimination.
-
- 17 Aug, 2009 2 commits
-
-
Sergey Petrunya authored
- More testcases
-
Sergey Petrunya authored
- More dbug printouts - More testcases
-
- 16 Aug, 2009 6 commits
-
-
Sergey Petrunya authored
- More comments
-
Sergey Petrunya authored
- Better comments - More OOM checks sql/sql_select.cc: - Remove garbage code
-
Sergey Petrunya authored
- Add OOM error checking
-
Sergey Petrunya authored
- Address review feedback: change expression analyzer used to be a copy-paste of ref analyzer. ref analyzer, besides doing ref analysis, also collected info about keys which had sargable predicates. We didn't need that part here.
-
Sergey Petrunya authored
- code cleanup
-
Sergey Petrunya authored
- Fix trivial valgrind failures that shown up after review
-
- 15 Aug, 2009 4 commits
-
-
Sergey Petrunya authored
- Review feedback, more variable renames
-
Sergey Petrunya authored
-
Sergey Petrunya authored
Continue with addressing review feedback part two: - rename enum members - add checking for out of memory errors on allocation
-
Sergey Petrunya authored
- Switch from uniform graph to bipartite graph with two kinds of nodes: "values" (tables and fields) and "modules" (t.col=func(...) equalities, multi-equalities, unique keys, inner sides of outer joins). - Rename functions, classes, etc.
-
- 13 Aug, 2009 6 commits
-
-
Sergey Petrunya authored
-
Sergey Petrunya authored
- More function renames, added comments
-
Sergey Petrunya authored
- Better comments sql/sql_select.cc: MWL#17: Table elimination - Fix buildbot failure: do set correct value to nested_join::n_tables
-
Sergey Petrunya authored
Fixes after post-review fixes: - Don't search for tables in JOIN_TAB array. it's not initialized yet. use select_lex->leaf_tables instead.
-
Sergey Petrunya authored
- Post-postreview changes fix: Do set NESTED_JOIN::n_tables to number of tables left after elimination.
-
Sergey Petrunya authored
- When making inferences "field is bound" -> "key is bound", do check that the field is part of the key
-
- 12 Aug, 2009 2 commits
-
-
Sergey Petrunya authored
- Continue addressing review feedback: remove "unusable KEYUSEs" extension as it is no longer needed. sql/item.h: MWL#17: Table elimination - Code cleanup sql/opt_table_elimination.cc: MWL#17: Table elimination - Code cleanup
-
Sergey Petrunya authored
Address review feedback: - Change from Wave-based approach (a-la const table detection) to building and walking functional dependency graph. - Change from piggy-backing on ref-access code and KEYUSE structures to using our own expression analyzer. sql/item.cc: MWL#17: Table elimination - Move from C-ish Field_processor_info to C++ ish and generic Field_enumerator sql/item.h: MWL#17: Table elimination - Move from C-ish Field_processor_info to C++ ish and generic Field_enumerator sql/sql_bitmap.h: MWL#17: Table elimination - Backport of Table_map_iterator from 6.0
-
- 05 Aug, 2009 1 commit
-
-
unknown authored
-
- 04 Aug, 2009 1 commit
-
-
unknown authored
-
- 03 Aug, 2009 3 commits
- 24 Jul, 2009 2 commits
-
-
Vadim Tkachenko authored
-
Vadim Tkachenko authored
-
- 08 Jul, 2009 1 commit
-
-
Sergey Petrunya authored
- When collecting Item_subselect::refers_to, put references to the correct subselect entry.
-
- 07 Jul, 2009 1 commit
-
-
unknown authored
Added build scripts for 32 bit x86 architecture on Solaris. Renamed some scripts for consistency. Changed to dynamic linking of libgcc. BUILD/compile-solaris-amd64: Changed to dynamic linking of libgcc. The -static-libgcc was a legacy of the original build scripts. -R (analogous to -L link time search path) is a Solaris mechanism to ensure a needed lib directory is searched at runtime. In Solaris 10, gcc comes bundled, under /usr/sfw, allowing to use it without creating dependency problems. This allows eg. benefiting from ordinary system patch maintenance. BUILD/compile-solaris-amd64-debug: Changed to dynamic linking of libgcc. The -static-libgcc was a legacy of the original build scripts. -R (analogous to -L link time search path) is a Solaris mechanism to ensure a needed lib directory is searched at runtime. In Solaris 10, gcc comes bundled, under /usr/sfw, allowing to use it without creating dependency problems. This allows eg. benefiting from ordinary system patch maintenance.
-
- 06 Jul, 2009 1 commit
-
-
Vadim Tkachenko authored
-