- 21 Sep, 2005 1 commit
-
-
unknown authored
The problem was in that the MIN/MAX optimization in opt_sum_query was replacing MIN/MAX functions with their constant argument without taking into account that a query has no result rows. mysql-test/r/func_group.result: Test for BUG#12882. mysql-test/t/func_group.test: Test for BUG#12882. sql/item_sum.cc: If it is known that a query has no result rows, do not call add() via the call to Item_sum::no_rows_in_result() which calls reset(). Instead directly call clear() so that the MIN and MAX functions produce NULL when there are no result rows. sql/opt_sum.cc: * Do not apply MIN/MAX optimization when the operand of MIN/MAX is a constant if it can't be determined whether the query has any result rows. The reason is that if the query has result rows, then the result of MIN/MAX is its constant argument, but if the query result is empty, then the result of MIN/MAX must be NULL irrespective of its argument. * The patch also simplifies a bit the branch that hadles COUNT().
-
- 11 Sep, 2005 1 commit
-
-
unknown authored
into a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-4.1
-
- 10 Sep, 2005 2 commits
- 09 Sep, 2005 8 commits
-
-
unknown authored
into moonbone.local:/work/12695-bug-4.1-mysql
-
unknown authored
Customer's test case for bug#12695 Item_func_isnull::update_used_tables() did not update const_item_cache. mysql-test/t/insert_select.test: Customer's test case for bug#12695 Item_func_isnull::update_used_tables() did not update const_item_cache. mysql-test/r/insert_select.result: Customer's test case for bug#12695 Item_func_isnull::update_used_tables() did not update const_item_cache.
-
unknown authored
into a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-4.1
-
unknown authored
into mysql.com:/home/alexi/dev/mysql-4.1-12101
-
unknown authored
Added test case.
-
unknown authored
into c-4a09e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/bug12594
-
unknown authored
sql/item_cmpfunc.cc: Modified Item_func_between::print(), Item_func_in::print(). Item_func_between/in objects represent now [NOT]BETWEEN/IN expressions.
-
unknown authored
This fix is cancellation of ChangeSet 1.2329 05/07/12 08:35:30 reggie@linux.site +8 -0 Bug 7142 Show Fields from fails using Borland's dbExpress interface The reason is we can't fix bug#7142 without breaking of existing applications/APIs that worked fine with earlier 4.1 bug 7142 is fixed in 5.0 mysql-test/r/ps_1general.result: Bug #12817 SHOW STATUS now blob fields mysql-test/r/ps_2myisam.result: Bug #12817 SHOW STATUS now blob fields mysql-test/r/ps_3innodb.result: Bug #12817 SHOW STATUS now blob fields mysql-test/r/ps_4heap.result: Bug #12817 SHOW STATUS now blob fields mysql-test/r/ps_5merge.result: Bug #12817 SHOW STATUS now blob fields sql/item.cc: Bug #12817 SHOW STATUS now blob fields sql/sql_show.cc: Bug #12817 SHOW STATUS now blob fields tests/mysql_client_test.c: Bug #12817 SHOW STATUS now blob fields
-
- 08 Sep, 2005 20 commits
-
-
unknown authored
into c-4a09e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/bug12594
-
unknown authored
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
-
unknown authored
into serg.mylan:/usr/home/serg/Abk/mysql-4.1 sql/item_cmpfunc.h: Auto merged
-
unknown authored
-
unknown authored
into rurik.mysql.com:/home/igor/dev/mysql-4.1-0
-
unknown authored
Fixed bug #12885. Forced inheritence of the maybe_null flag for the expressions containing GROUP BY attributes in selects with ROLLUP. olap.test, olap.result: Added test case for bug #12885. mysql-test/r/olap.result: Added test case for bug #12885. mysql-test/t/olap.test: Added test case for bug #12885. sql/sql_select.cc: Fixed bug #12885. Forced inheritence of the maybe_null flag for the expressions containing GROUP BY attributes in selects with ROLLUP.
-
unknown authored
fixed compile error ndb/src/ndbapi/SignalSender.cpp: fixed compile error
-
unknown authored
into mysql.com:/Users/mikron/mysql-4.1
-
unknown authored
ndb/src/kernel/blocks/dblqh/Dblqh.hpp: Fixed a bug and an issue with the added debug code for finding redo log write mistakes ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: Fixed a bug and an issue with the added debug code for finding redo log write mistakes Removed a number of unnecessary break's ndb/src/kernel/blocks/dblqh/redoLogReader/records.cpp: Added printouts of new debug info in log page header
-
unknown authored
-
unknown authored
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
-
unknown authored
ndb/src/kernel/blocks/backup/Backup.hpp: missed this file in prev commit ndb/test/src/NdbBackup.cpp: corrected printouts in backup test
-
unknown authored
so that _only_ backup master replies to API
-
unknown authored
into mysql.com:/M41/mysql-4.1
-
unknown authored
Added debug info to all log page headers
-
unknown authored
-
unknown authored
configure.in: Auto merged include/my_global.h: Auto merged
-
unknown authored
into selena.:H:/MYSQL/src/#12517-mysql-4.1
-
unknown authored
-
unknown authored
into mysql.com:/home/stewart/Documents/MySQL/4.1/bug11607
-
- 07 Sep, 2005 8 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/4.1 client/mysqlimport.c: Auto merged
-
unknown authored
into mysql.com:/home/alexi/mysql-4.1
-
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-4.1-0 sql/item_cmpfunc.cc: Auto merged sql/item_cmpfunc.h: Auto merged
-
unknown authored
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
-
unknown authored
into mysql.com:/usr/home/bar/mysql-4.1.b12611
-
unknown authored
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
-