- 10 Sep, 2005 1 commit
-
-
unknown authored
The problem was that in the first production in rule 'join_table', that processes simple cross joins, the parser was processing the second join operand before the first one due to unspecified priorities of JOINs. As a result in the case of cross joins the parser constructed a tree with incorrect nesting: the expression "t1 join t2 join t3 on some_cond" was interpreted as "t1 join (t2 join t3 on some_cond)" instead of "(t1 join t2) join t3 on some_cond". Because of this incorrect nesting the method make_join_on_context picked an incorrect table as the first table of the name resolution context. The solution assignes correct priorities to the related production. mysql-test/r/select.result: Added test for BUG#12943. mysql-test/t/select.test: Added test for BUG#12943. sql/sql_parse.cc: Fixed typo. sql/sql_yacc.yy: Provide explicit priorities of the JOIN operator and the 'table_ref' rule, to enforce left-associativity of [INNER | CROSS] JOIN.
-
- 08 Sep, 2005 7 commits
-
-
unknown authored
into 127.(none):/home/osku/mysql/5.0/clean
-
unknown authored
into 127.(none):/home/osku/mysql/5.0/12084
-
unknown authored
into mysql.com:/home/stewart/Documents/MySQL/5.0/bug11607 ndb/src/ndbapi/NdbTransaction.cpp: SCCS merged
-
unknown authored
into mysql.com:/home/stewart/Documents/MySQL/4.1/bug11607
-
unknown authored
Post-merge fix. sql/item_sum.h: Post-merge fix. sql/item_sum.cc: Post-merge fix.
-
unknown authored
-
unknown authored
mysql-test/r/func_gconcat.result: Auto merged mysql-test/t/func_gconcat.test: Auto merged
-
- 07 Sep, 2005 29 commits
-
-
unknown authored
into rurik.mysql.com:/home/igor/dev/mysql-4.1-0 mysql-test/r/func_gconcat.result: Auto merged mysql-test/t/func_gconcat.test: Auto merged sql/item_sum.cc: Auto merged
-
unknown authored
into mysql.com:/home/hartmut/projects/mysql/dev/5.0 client/mysqlimport.c: Auto merged sql/item_cmpfunc.cc: Auto merged sql/item_cmpfunc.h: Auto merged
-
unknown authored
into mysql.com:/home/hartmut/projects/mysql/dev/4.1 client/mysqlimport.c: Auto merged
-
unknown authored
into mysql.com:/home/alexi/mysql-5.0 sql/sql_yacc.yy: Auto merged
-
unknown authored
into mysql.com:/home/alexi/mysql-4.1
-
unknown authored
into moonbone.local:/work/12922-bug-5.0-mysql
-
unknown authored
Fix for fix bug#12922. sql/item.cc: Fix for fix bug#12922.
-
unknown authored
Any form of HANDLER statement is forbidden from usage in stored procedures/functions. mysql-test/r/sp-error.result: Results for the test case for Bug#12995 added. mysql-test/t/sp-error.test: Test case for Bug#12995 added. sql/sql_yacc.yy: Forbid any form of "HANDLER" statement from use in stored procedures/functions.
-
unknown authored
-
unknown authored
Fields of view represented by Item_direct_view_ref. When complex expression such as if(sum()>...,...) is splited in simpler parts by refs was ignored. Beside this direct ref doesn't use it's result_field and thus can't store it's result in tmp table which is needed for sum() ... group. All this results in reported bug. Item::split_sum_func2() now converts Item_direct_view_ref to Item_ref to make fields from view being storable in tmp table. sql/item.h: Fix bug #12922 if(sum(),...) with group from view returns wrong results Added function ref_type() to distinguish Item_ref subclasses sql/item.cc: Fix bug #12922 if(sum(),...) with group from view returns wrong results Item::split_sum_func2() now converts Item_direct_view_ref to Item_ref to make fields from view being storable in tmp table. mysql-test/t/view.test: Test case for bug#12922 if(sum(),...) with group from view returns wrong results mysql-test/r/view.result: Test case for bug#12922 if(sum(),...) with group from view returns wrong results
-
unknown authored
into zim.(none):/home/brian/mysql/mysql-5.0 sql/examples/ha_tina.cc: Auto merged
-
unknown authored
Small tweak for random read performance (we shouldn't always tell the OS that we will be doing a linear scan). sql/examples/ha_tina.cc: Small tweak for random read performance.
-
unknown authored
into mysql.com:/home/alexi/dev/mysql-5.0-0 sql/item_cmpfunc.cc: Auto merged sql/item_cmpfunc.h: Auto merged sql/sql_select.cc: Auto merged sql/sql_yacc.yy: Auto merged
-
unknown authored
into mysql.com:/home/alexi/dev/mysql-4.1-0 sql/item_cmpfunc.cc: Auto merged sql/item_cmpfunc.h: Auto merged
-
unknown authored
Post merge changes sql_yacc.yy: Post merge changes sql_select.cc: Fixed bugs #12101, #12102: wrong calculation of not_null_tables() for some expressions (post merge changes). The function add_key_fields() is modified. There cannot be NOT before BETWEEN/IN anymore. Rather Item_func_between/in objects can represent now [NOT]BETWEEN/IN expressions. sql/item_cmpfunc.cc: Post merge changes sql/opt_range.cc: Post merge changes sql/sql_select.cc: Fixed bugs #12101, #12102: wrong calculation of not_null_tables() for some expressions (post merge changes). The function add_key_fields() is modified. There cannot be NOT before BETWEEN/IN anymore. Rather Item_func_between/in objects can represent now [NOT]BETWEEN/IN expressions. sql/sql_yacc.yy: Post merge changes. mysql-test/r/join_outer.result: Post merge changes
-
unknown authored
into mysql.com:/usr/home/bar/mysql-5.0 mysql-test/r/ctype_utf8.result: Auto merged mysql-test/r/func_like.result: Auto merged mysql-test/t/ctype_utf8.test: Auto merged sql/item_cmpfunc.cc: Auto merged sql/item_cmpfunc.h: Auto merged
-
unknown authored
into mysql.com:/usr/home/bar/mysql-4.1.b12611
-
unknown authored
into mysql.com:/usr/home/bar/mysql-5.0
-
unknown authored
use saved view db name in case of view
-
unknown authored
Variable character_set_system is selectable now More accurate error message results during update of character_set_system and some other read only variables mysql-test/r/variables.result: Fix for bug#11775 Variable character_set_system does not exist (sometimes). test case mysql-test/t/variables.test: Fix for bug#11775 Variable character_set_system does not exist (sometimes). test case
-
unknown authored
into mysql.com:/usr/home/bar/mysql-5.0 mysql-test/r/func_gconcat.result: Auto merged mysql-test/t/func_gconcat.test: Auto merged sql/item_sum.cc: Auto merged
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.0
-
unknown authored
into mysql.com:/home/psergey/mysql-5.0-bug12941
-
unknown authored
into mysql.com:/usr/home/bar/mysql-4.1.b12829 mysql-test/r/func_gconcat.result: Auto merged mysql-test/t/func_gconcat.test: Auto merged sql/item_sum.cc: Auto merged
-
unknown authored
created item into item->result_field, not *(item->ref)->result_field. mysql-test/r/view.result: Tescase for BUG#12941 mysql-test/t/view.test: Tescase for BUG#12941
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.0 mysql-test/t/mysqltest.test: Auto merged sql/sql_parse.cc: Auto merged client/mysqltest.c: Manual merge sql/hostname.cc: Manual merge
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-4.1
-
unknown authored
config/ac-macros/ha_federated.m4: Fixed typo
-
unknown authored
Added test cases for bug #12863. item_sum.cc, item_sum.h: Fixed bug #12863. Added a flag to Item_func_group_concat set to FALSE after concatenation of the first element of a group. sql/item_sum.h: Fixed bug #12863. Added a flag to Item_func_group_concat set to FALSE after concatenation of the first element of a group. sql/item_sum.cc: Fixed bug #12863. Added a flag to Item_func_group_concat set to FALSE after concatenation of the first element of a group. mysql-test/t/func_gconcat.test: Added test cases for bug #12863. mysql-test/r/func_gconcat.result: Added test cases for bug #12863.
-
- 06 Sep, 2005 3 commits