- 11 Oct, 2004 1 commit
-
-
unknown authored
sql/item.cc: Document actual behavior. sql/opt_range.cc: - Added a test for range predicates comparing incomparable argumens - Removed TRP_GROUP_MIN_MAX class members that are not used. - Uncommented CPU cost - More standard function return values sql/sql_select.cc: Remove unnecessary test.
-
- 10 Sep, 2004 1 commit
-
-
unknown authored
"Min/Max Optimization for Queries with Group By Clause" mysql-test/r/group_min_max.result: Added new test mysql-test/t/group_min_max.test: Added new test & comments sql/item.h: Remove processor methods that are no longer used. sql/item_sum.cc: Remove processor methods that are no longer used. sql/item_sum.h: Remove processor methods that are no longer used. sql/opt_range.cc: - the test procedure no longer needs to build lists and to traverse the expression trees - all usable indexes are tested and the bes one is chosen - added/edited function comments sql/sql_select.cc: Modified make_sum_func_list() so it can be reused in the test for MIN/MAX optimization. sql/sql_select.h: Modified make_sum_func_list() so it can be reused in the test for MIN/MAX optimization.
-
- 27 Aug, 2004 1 commit
-
-
unknown authored
- after-review changes - merged with the source tree from 204-08-27 mysql-test/r/distinct.result: Different plans due to group-by optimization. sql/ha_myisam.cc: More general interface to key_copy. sql/handler.cc: More general interface to key_copy. sql/item.cc: New method to collect all Item_field objects. Used by Item::walk. sql/item.h: Several methods to collect different kinds of items from expression trees. Used by Item::walk. sql/item_sum.cc: Added helper to collect Item_sum objects. sql/item_sum.h: Methods to collect and test Item_sum objects. sql/key.cc: More general interface to key_copy and key_restore. sql/mysql_priv.h: More general interface to key_copy and key_restore. sql/opt_range.cc: Complete implementaion of WL#1724 "Min/Max Optimization for Queries with Group By Clause". sql/opt_range.h: Complete implementaion of WL#1724 "Min/Max Optimization for Queries with Group By Clause". sql/opt_sum.cc: simple_pred is re-used in opt_range.cc sql/sql_acl.cc: More general interface to key_copy and key_restore. sql/sql_handler.cc: More general interface to key_copy. sql/sql_insert.cc: More general interface to key_copy. sql/sql_select.cc: Changes to hook the new QUICK_GROUP_MIN_MAX_SELECT due to two differences from all other quick selects: 1) This quick select may be created (and used) even if there is no WHERE clause. Several places assumed that a QUICK_SELECT is constructed only if there is a WHERE clause, which had to be changed so that QUICK_GROUP_MIN_MAX can be used. 2) Unlike all other quick selects, this QUICK_GROUP_MIN_MAX_SELECT operates for GROUP BY queries. Since for the caller the quick select already produces one result tuple per group, there is no need to call end_send_group, instead we have to call end_send as for a regular quick select. sql/sql_select.h: simple_pred is re-used in opt_range.cc
-
- 25 Aug, 2004 4 commits
-
-
unknown authored
mysql-test/r/view.result: VIEW with full text mysql-test/t/view.test: VIEW with full text sql/table.cc: full text function moving to current select
-
unknown authored
mysql-test/r/view.result: Removing database with .frm archives mysql-test/t/view.test: Removing database with .frm archives sql/parse_file.cc: fixed revision number printing sql/sql_db.cc: removing archive of .frm-s added
-
unknown authored
into sanja.is.com.ua:/home/bell/mysql/bk/work-5.0
-
unknown authored
mysql-test/r/view.result: wording changed sql/sql_base.cc: wording changed
-
- 24 Aug, 2004 10 commits
-
-
unknown authored
mysql-test/r/view.result: SHOW CREATE VIEW output changed test of SHOW CREATE VIEW for view with spaces in the name mysql-test/t/view.test: test of SHOW CREATE VIEW for view with spaces in the name sql/sql_show.cc: fixes name outout for SHOW CREATE VIEW command
-
unknown authored
mysql-test/r/view.result: Showing VIEW with VIEWs in subquery mysql-test/t/view.test: Showing VIEW with VIEWs in subquery sql/sql_lex.cc: new method to detect commands where all VIEWs should be temporary tables sql/sql_lex.h: new method to detect commands where all VIEWs should be temporary tables sql/sql_view.cc: new method to detect commands where all VIEWs should be temporary tables debug output added
-
unknown authored
mysql-test/r/view.result: Aggregate functions in view list mysql-test/t/view.test: Aggregate functions in view list sql/table.cc: fixed aggregate function processing in VIEWs
-
unknown authored
mysql-test/r/view.result: added removing of table t2 test of view built over union mysql-test/t/view.test: added removing of table t2 test of view built over union sql/sql_view.cc: Fixed UNION support in view creation
-
unknown authored
items for functions which is converted to constants internally to support its correct printing added (BUG#4663) mysql-test/r/view.result: test of functions in VIEW which is converted to constants internally mysql-test/t/view.test: test of functions in VIEW which is converted to constants internally sql/item.h: items for functions which is converted to constants internally to support its correct printing sql/item_create.cc: items for functions which is converted to constants internally to support its correct printing
-
unknown authored
and BUG#336: Subselects with tables does not work as values for local SP variables (which was closed before with a temp. fix, but not actually fixed). mysql-test/r/sp-error.result: Moved test case for BUG#336 to sp.test, as it's not generating an error any longer. mysql-test/r/sp.result: Move test case for BUG#336 from sp-error.test and added new test case for BUG#3157. mysql-test/t/sp-error.test: Moved test case for BUG#336 to sp.test, as it's not generating an error any longer. mysql-test/t/sp.test: Move test case for BUG#336 from sp-error.test and added new test case for BUG#3157. sql/sp_head.cc: Open and close tables in set, jump-if[-not] and freturn instructions if the value expression is a subselect. sql/sp_head.h: Store tables in set, jump-if[-not] and freturn instructions if the value expression is a subselect. sql/sql_yacc.yy: Store tables in set, jump-if[-not] and freturn instructions if the value expression is a subselect.
-
unknown authored
mysql-test/r/view.result: using VIEW where table is required mysql-test/t/view.test: using VIEW where table is required sql/sql_base.cc: sending right error message where VIEW is not expected sql/sql_view.h: frm_type_enum moved to table.h becuae used in TABLE_LIST sql/table.h: frm_type_enum moved to table.h becuae used in TABLE_LIST
-
unknown authored
into mysql.com:/home/pem/work/mysql-5.0-merge
-
unknown authored
unions (crashed randomly), and made "label" not a reserved word. sql/sql_parse.cc: Fixed valgrind warning for certain complex unions (which sometime caused crash). sql/sql_yacc.yy: The temporary(?) "label" statement should not be a reserved word.
-
unknown authored
into sanja.is.com.ua:/home/bell/mysql/bk/work-5.0
-
- 23 Aug, 2004 3 commits
-
-
unknown authored
Fix mysql-test failure in the 5.0 tree on Aug 23: label seems to be a reserved word in 5.0, and we to use it a s a column name we must but it inside backticks mysql-test/t/innodb.test: Fix mysql-test failure in the 5.0 tree on Aug 23: label seems to be a reserved word in 5.0, and we to use it a s a column name we must but it inside backticks mysql-test/r/innodb.result: Fix mysql-test failure in the 5.0 tree on Aug 23: label seems to be a reserved word in 5.0, and we to use it a s a column name we must but it inside backticks
-
unknown authored
mysql-test/r/view.result: EXISTS with UNION VIEW creation test mysql-test/t/view.test: EXISTS with UNION VIEW creation test sql/sql_lex.cc: fixed LIMIT clause printing
-
unknown authored
mysql-test/r/view.result: test of error processing found in preparation phase mysql-test/t/view.test: test of error processing found in preparation phase sql/sql_view.cc: fixed error processing of prepare
-
- 19 Aug, 2004 1 commit
-
-
unknown authored
-
- 17 Aug, 2004 2 commits
-
-
unknown authored
into mysql.com:/home/pem/work/mysql-5.0-merge
-
unknown authored
Mostly done, it works, but the temporary LABEL syntax still to be fixed. mysql-test/r/sp-error.result: New test case for WL#2002 (GOTO). mysql-test/r/sp.result: New test case for WL#2002 (GOTO). (Also corrected another test) mysql-test/t/sp-error.test: New test case for WL#2002 (GOTO). mysql-test/t/sp.test: New test case for WL#2002 (GOTO). (Also corrected another test) sql/lex.h: New symbol GOTO. Also a temporary symbol LABEL, which hopefully will go away soon. sql/sp_head.cc: Fixed backpatching to cope with free GOTO labels an hpop and cpop instructions. Also optimized away pointless jump instructions. sql/sp_head.h: Fixed backpatching to cope with free GOTO labels an hpop and cpop instructions. We now sometimes generate hpop/cpop 0 instructions but the optimizer removes them. sql/sp_pcontext.cc: Added free GOTO labels, and support for coping with jumps out of blocks with handlers or cursors. sql/sp_pcontext.h: Added free GOTO labels, and support for coping with jumps out of blocks with handlers or cursors. sql/sql_yacc.yy: Added GOTO and LABEL, and adjusted backpatching accordingly. Also fixed LEAVE out of blocks. The LABEL syntax will go away soon, hopefully.
-
- 16 Aug, 2004 4 commits
-
-
unknown authored
into sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0
-
unknown authored
resolve UPDATE fields belonged to VIEWs as Item_field (instead of Item_ref) in prepared statements, too (BUG#4999) mysql-test/r/view.result: Test of view updatebility in prepared statement mysql-test/t/view.test: Test of view updatebility in prepared statement sql/sql_prepare.cc: resolve UPDATE fields belonged to VIEWs as Item_field (instead of Item_ref) in prepared statements, too
-
unknown authored
into mysql.com:/dbdata/psergey/mysql-5.0-root
-
unknown authored
-
- 15 Aug, 2004 1 commit
-
-
unknown authored
-
- 13 Aug, 2004 4 commits
-
-
unknown authored
into brandersnatch.localdomain:/home/dlenev/src/mysql-5.0
-
unknown authored
-
unknown authored
Added a case for bug #4976 when one of the inner tables is empty. select.result, join.result: Reversed the previous change of the erronious fix for bug #4976. sql_select.cc: The previous fix for bug 4976 was reversed as it erroniously converted an outer join into an innner join when on_expression does not refer to outer tables. This is not valid if inner tables return an empty set. Setting dependency on outer tables was added for the above cases. To fix the crash in the test case of bug #4976 a guard was added that blocks running the crashing code for nested outer joins. sql/sql_select.cc: The previous fix for bug 4976 was reversed as it erroniously converted an outer join into an innner join when on_expression does not refer to outer tables. This is not valid if inner tables return an empty set. Setting dependency on outer tables was added. The crash of the test case for bug #4976 was fixed adding a guard that blocks running the code for nested outer joins. mysql-test/r/join.result: Reversed the previous change of the erronious fix for bug #4976. mysql-test/r/select.result: Reversed the previous change of the erronious fix for bug #4976. mysql-test/r/join_nested.result: Added a case for bug #4976 when one of the inner tables is empty. mysql-test/t/join_nested.test: Added a case for bug #4976 when one of the inner tables is empty.
-
unknown authored
sql/opt_range.cc: Fix for bug#4984
-
- 11 Aug, 2004 3 commits
-
-
unknown authored
The crash is eliminated but still it is weird/inefficent that ROR-intersection is used when performing updates in empty table. mysql-test/r/index_merge_ror_cpk.result: Fix and testcase for BUG#4984 mysql-test/t/index_merge_ror_cpk.test: Fix and testcase for BUG#4984 sql/opt_range.cc: Don't call index_end() for CPK quick select inside of a ROR-intersection. sql/opt_range.h: Fix and testcase for BUG#4984
-
unknown authored
into rurik.mysql.com:/home/igor/dev/mysql-5.0-1
-
unknown authored
Fixed bug #4976. join_nested.result, join_nested.test: Added a test case for bug #4976. sql_select.cc: Applied conversion from an outer join to an inner join when the on expression does not depend on the outer table. It fixed bug #4976. sql/sql_select.cc: Applied conversion from an outer join to an inner join when the on expression does not depend on the outer table. It fixed bug #4976. mysql-test/t/join_nested.test: Added a case test for bug #4976. mysql-test/r/join_nested.result: Added a case test for bug #4976. mysql-test/r/select.result: Fixed bug #4976. mysql-test/r/join.result: Fixed bug #4976.
-
- 10 Aug, 2004 2 commits
-
-
unknown authored
Update test results. mysql-test/r/view.result: Update test results.
-
unknown authored
fix error message sql/share/czech/errmsg.txt: fix error message sql/share/danish/errmsg.txt: fix error message sql/share/dutch/errmsg.txt: fix error message sql/share/english/errmsg.txt: fix error message sql/share/estonian/errmsg.txt: fix error message sql/share/french/errmsg.txt: fix error message sql/share/german/errmsg.txt: fix error message sql/share/greek/errmsg.txt: fix error message sql/share/hungarian/errmsg.txt: fix error message sql/share/italian/errmsg.txt: fix error message sql/share/japanese/errmsg.txt: fix error message sql/share/korean/errmsg.txt: fix error message sql/share/norwegian-ny/errmsg.txt: fix error message sql/share/norwegian/errmsg.txt: fix error message sql/share/polish/errmsg.txt: fix error message sql/share/portuguese/errmsg.txt: fix error message sql/share/romanian/errmsg.txt: fix error message sql/share/serbian/errmsg.txt: fix error message sql/share/slovak/errmsg.txt: fix error message sql/share/spanish/errmsg.txt: fix error message sql/share/swedish/errmsg.txt: fix error message
-
- 09 Aug, 2004 1 commit
-
-
unknown authored
Typos/grammar. sql/mysqld.cc: Typos/grammar.
-
- 06 Aug, 2004 2 commits
-
-
unknown authored
into rurik.mysql.com:/home/igor/dev/mysql-5.0-1 sql/sql_select.cc: Auto merged sql/sql_yacc.yy: Auto merged
-
unknown authored
Added a test case for bug #4922. sql_select.cc: Blocked an optimization performed by join_read_const_table when applied to an inner table of a nested outer join. It was done to fix bug #4922. sql_yacc.yy: Fixed a typo bug in the rule for join_table. sql/sql_yacc.yy: Fixed a typo bug in the rule for join_table. sql/sql_select.cc: Blocked an optimization performed by join_read_const_table when applied to an inner table of a nested outer join. It was done to fix bug #4922. mysql-test/t/join_nested.test: Added a test case for bug #4922. mysql-test/r/join_nested.result: Added a test case for bug #4922.
-