Server IP : 185.86.78.101 / Your IP : 216.73.216.124 Web Server : Apache System : Linux 675867-vds-valikoshka1996.gmhost.pp.ua 5.4.0-150-generic #167-Ubuntu SMP Mon May 15 17:35:05 UTC 2023 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /www/server/mysql/mysql-test/t/ |
Upload File : |
# Skiping this test from Valgrind execution as per Bug-14627884 --source include/not_valgrind.inc # Adding big test option for this test. --source include/big_test.inc # t/index_merge_innodb.test # # Index merge tests # # Last update: # 2006-08-07 ML test refactored (MySQL 5.1) # Main code of several index_merge tests # -> include/index_merge*.inc # wrapper t/index_merge_innodb.test sources now several # include/index_merge*.inc files # --source include/have_innodb.inc let $engine_type= InnoDB; # According to Oracle: "InnoDB's estimate for the index cardinality # depends on a pseudo random number generator (it picks up random # pages to sample). After an optimization that was made in r2625 two # EXPLAINs started returning a different number of rows (3 instead of # 4)", so: let $index_merge_random_rows_in_EXPLAIN = 1; # InnoDB does not support Merge tables (affects include/index_merge1.inc) let $merge_table_support= 0; --source include/index_merge1.inc --source include/index_merge_ror.inc --source include/index_merge2.inc --source include/index_merge_2sweeps.inc --source include/index_merge_ror_cpk.inc --echo # --echo # Bug#11747423 32254: INDEX MERGE USED UNNECESSARILY --echo # CREATE TABLE t1 ( id INT NOT NULL PRIMARY KEY, id2 INT NOT NULL, id3 INT NOT NULL, KEY (id2), KEY (id3), KEY covering_index (id2,id3) ) ENGINE=InnoDB; INSERT INTO t1 VALUES (0, 0, 0), (1, 1, 1), (2, 2, 2), (3, 3, 3), (4, 4, 4), (5, 5, 5), (6, 6, 6), (7, 7, 7); INSERT INTO t1 SELECT id + 8, id2 + 8, id3 +8 FROM t1; INSERT INTO t1 SELECT id + 16, 7, 0 FROM t1; -- disable_query_log -- disable_result_log analyze table t1; -- enable_result_log -- enable_query_log EXPLAIN SELECT SQL_NO_CACHE count(*) FROM t1 WHERE id2=7 AND id3=0; DROP TABLE t1; --echo # --echo # Bug#21697002 ASSERTION `KEYS >= 0.0' FAILED --echo # CREATE TABLE t1 ( c1 VARCHAR(2), d1 DATETIME NOT NULL ); CREATE TABLE t2 ( pk INTEGER NOT NULL, c1 VARCHAR(2), c2 VARCHAR(2), PRIMARY KEY (pk), KEY (c1), KEY (c2) ) PARTITION BY KEY(pk) PARTITIONS 2; SELECT c1 FROM t1 WHERE c1 IN ( SELECT t2.c1 FROM t2 WHERE t2.c1 = 'f' OR t2.c2 < 'y' ) AND t1.d1 IS NULL; DROP TABLE t1, t2;