mariadb/mysql-test/suite
Igor Babaev c9259f166b Fixed LP bug #904345.
The MIN/MAX optimizer code from the function opt_sum_query erroneously
did not take into account conjunctive conditions that did not depend on
any table, yet were not identified as constant items. These could be
items containing rand() or PS/SP parameters. These items are supposed
to be evaluated at the execution phase. That's why if such conditions
can be extracted from the WHERE condition the MIN/MAX optimization is
not applied as currently it is always done at the optimization phase.

(In 5.3 expensive subqueries are also evaluated only at the execution
phase. So, if a constant condition with such subquery can be extracted
from the WHERE clause the MIN/MAX optimization should not be applied 
in 5.3.)

IF an IN/ALL/SOME predicate with a constant left part is transformed
into an EXISTS subquery the resulting subquery should not be considered
uncacheable if the right part of the predicate is not uncacheable.

Backported the function dbug_print_item() from 5.3. The function is used
only for debugging.
2011-12-27 13:19:13 -08:00
..
binlog Merge with MariaDB 5.1 2011-11-24 18:48:58 +02:00
engines bug#11766457 - adjusting/modifying the the tests as tests were failing if system time zone is set differently. 2011-10-12 10:10:52 +05:30
federated Merge with 5.1 2011-11-30 22:57:18 +02:00
funcs_1 Merge with 5.1 2011-11-30 22:57:18 +02:00
funcs_2 Changed to Oracle bug numbers 2011-05-24 12:08:13 +05:30
handler Fix for LP#697610 ha_index_prev(uchar*): Assertion `inited==INDEX' failed with HANDLER + InnoDB in maria-5.3 2011-01-12 15:41:39 +02:00
ibmdb2i BUG#58079 - Remove the IBM DB2 storage engine 2010-11-11 13:03:17 +03:00
im
innodb Fixed LP bug #906322. 2011-12-19 14:55:30 -08:00
innodb_plugin Fixed LP bug #906322. 2011-12-19 14:55:30 -08:00
jp Bug #45159 : some tests in suite "jp" fail in embedded server (use LOAD DATA) 2009-09-11 15:52:08 +03:00
large_tests
manual BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
maria Fixed bug: lp:887051 ; Error in recovery with LOAD DATA + DELETE 2011-12-13 19:57:19 +02:00
ndb Initail merge with MySQL 5.1 (XtraDB still needs to be merged) 2011-11-21 19:13:14 +02:00
ndb_team Initail merge with MySQL 5.1 (XtraDB still needs to be merged) 2011-11-21 19:13:14 +02:00
oqgraph oqgraph and sphinx on windows 2010-09-15 17:29:57 +02:00
parts Merge with MariaDB 5.1 2011-11-24 18:48:58 +02:00
pbxt Fixed LP bug #904345. 2011-12-27 13:19:13 -08:00
percona Added test case forlp:875797 Using 'innodb_sys_indexes' causes core dump 2011-11-24 19:07:36 +02:00
plugins PAM plugin with test 2011-12-02 16:27:13 +01:00
rpl Merge with MariaDB 5.1 2011-11-24 18:48:58 +02:00
rpl_ndb Initail merge with MySQL 5.1 (XtraDB still needs to be merged) 2011-11-21 19:13:14 +02:00
sphinx use mtr_verbose() for debug output in suite.pm files 2011-03-01 18:31:33 +01:00
stress Merge trift2.:/MySQL/M51/mysql-5.1 2008-02-22 16:14:27 +01:00
sys_vars Merge with MySQL 5.1.60 2011-11-23 19:32:14 +02:00
vcol Merge with MariaDB 5.1 2011-11-24 18:48:58 +02:00