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 : |
-- source include/not_embedded.inc # # BUG#10308: purge log with subselect # Bug#28553: mysqld crash in "purge master log before(select time from information_schema)" # --error 1064 purge master logs before (select adddate(current_timestamp(), interval -4 day)); purge master logs before adddate(current_timestamp(), interval -4 day); # # Bug31048: Many nested subqueries may cause server crash. # create table t1(a int,b int,key(a),key(b)); insert into t1(a,b) values (1,2),(2,1),(2,3),(3,4),(5,4),(5,5), (6,7),(7,4),(5,3); let $nesting= 26; let $should_work_nesting= 5; let $start= select sum(a),a from t1 where a> ( select sum(a) from t1 ; let $end= )group by a ; let $start_app= where a> ( select sum(a) from t1 ; let $end_pre= )group by b limit 1 ; --disable_result_log --disable_query_log # At least 4 level nesting should work without errors while ($should_work_nesting) { --echo $should_work_nesting eval $start $end; eval explain $start $end; let $start= $start $start_app; let $end= $end_pre $end; dec $should_work_nesting; } # Other may fail with the 'stack overrun error' while ($nesting) { --echo $nesting --error 0,1436 eval $start $end; --error 0,1436 eval explain $start $end; let $start= $start $start_app; let $end= $end_pre $end; dec $nesting; } --enable_result_log --enable_query_log drop table t1; --echo End of 5.1 tests # # BUG#33245 "Crash on VIEW referencing FROM table in an IN clause" # (this is a second copy of testcase that uses disconnect/connect commands # which increase probability of crash) --disconnect default --connect (default,localhost,root,,test) CREATE TABLE t1 (f1 INT NOT NULL); CREATE VIEW v1 (a) AS SELECT f1 IN (SELECT f1 FROM t1) FROM t1; SELECT * FROM v1; drop view v1; drop table t1;