Server IP : 104.21.38.3 / Your IP : 162.158.190.29 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/t/ |
Upload File : |
--echo # --echo # Bug #29717909 MEMORY LIFETIME OF VARIABLES BETWEEN CHECK AND UPDATE INCORRECTLY MANAGED --echo # #Test innodb_ft_server_stopword_table (global variable) select @@innodb_ft_server_stopword_table; create table user_stopword_1(value varchar(30)) engine = innodb; create table user_stopword_2(value varchar(30)) engine = innodb; set @blah = 'test/user_stopword_1'; SET GLOBAL innodb_ft_server_stopword_table= @blah; select @@innodb_ft_server_stopword_table; set @blah = 'test/user_stopword_2'; SET GLOBAL innodb_ft_server_stopword_table= @blah; select @@innodb_ft_server_stopword_table; SET GLOBAL innodb_ft_server_stopword_table= NULL; select @@innodb_ft_server_stopword_table; SET GLOBAL innodb_ft_server_stopword_table= default; select @@innodb_ft_server_stopword_table; drop table user_stopword_1, user_stopword_2; #Test innodb_buffer_pool_filename (global variable) select @@innodb_buffer_pool_filename; set @blah='hello'; set global innodb_buffer_pool_filename = @blah; select @@innodb_buffer_pool_filename; set global innodb_buffer_pool_filename="bye"; select @@innodb_buffer_pool_filename; --error ER_WRONG_VALUE_FOR_VAR set global innodb_buffer_pool_filename=NULL; set global innodb_buffer_pool_filename=default; select @@innodb_buffer_pool_filename; #Test innodb_ft_aux_table (global variable) CREATE TABLE t1 ( id INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY, opening_line TEXT(500), author VARCHAR(200), title VARCHAR(200), FULLTEXT idx (opening_line)) ENGINE=InnoDB; CREATE TABLE t2 ( id INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY, opening_line TEXT(500), author VARCHAR(200), title VARCHAR(200), FULLTEXT idx (opening_line)) ENGINE=InnoDB; select @@innodb_ft_aux_table; set @blah = 'test/t1'; SET GLOBAL innodb_ft_aux_table = @blah; select @@innodb_ft_aux_table; set @blah = 'test/t2'; SET GLOBAL innodb_ft_aux_table = @blah; SET GLOBAL innodb_ft_aux_table = NULL; select @@innodb_ft_aux_table; SET GLOBAL innodb_ft_aux_table =default; select @@innodb_ft_aux_table; drop table t1,t2;