Server IP : 104.21.38.3 / Your IP : 162.158.190.82 Web Server : Apache System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 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 : ON Directory : /www/server/mysql/src/mysql-test/suite/innodb_gis/t/ |
Upload File : |
# This test case will test R-tree purge. # Not supported in embedded --source include/not_embedded.inc --source include/have_innodb.inc --source include/have_innodb_zip.inc --source include/have_debug.inc --source include/big_test.inc # Valgrind takes too much time on PB2 even in the --big-test runs. --source include/not_valgrind.inc # Temporarily disable it for 4k page size. Since it'll take too long # time. --disable_warnings if (`SELECT COUNT(*) = 1 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE LOWER(variable_name) = 'innodb_page_size' AND variable_value = 4096`) { --skip Test requires InnoDB with not 4k Page size. } --enable_warnings create table t ( a point not null,b point not null,c point, d point not null,e point,f point, spatial key (d),spatial key (b) ) engine=innodb; delimiter |; create procedure p(i int) begin declare n int default 0; declare continue handler for sqlexception begin end; delete from t; repeat set @p=point(1,1); insert into t values(@p,@p,@p,@p,@p,@p); insert into t values(@p,@p,@p,@p,@p,@p); insert into t select @p,@p,@p,@p,@p,@p from t a,t b,t c,t d,t e,t f,t g,t h,t i,t j; delete from t; set n:=n+1; until n >= i end repeat; end| delimiter ;| call p(200); --source include/wait_innodb_all_purged.inc # Clean up. drop procedure p; drop table t;