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 : |
# That is a bit tricky: mysql_embedded.test MUST BE run only against the # standalone server (started by MTR). The thing is that the test stops the # server started by MTR and starts an embedded server on the same data files as # the MTR-server was started. It must be the standalone server, as there is no # way to stop embedded server started by MTR from within an MTR-test. --source include/not_embedded.inc # The test basically restarts the server on the same data set. # Thus, the InnoDB page size must be the default. Otherwise, the server # with the default page size will refuse to start on the data set with custom # page size. --source include/have_innodb_16k.inc --source include/have_no_undo_tablespaces.inc --echo # --echo # Bug#12561297 : LIBMYSQLD/EXAMPLE/MYSQL_EMBEDDED IS ABORTING. --echo # # Test case require mysql_embedded to be present. if(!$MYSQL_EMBEDDED) { --skip Test requires mysql_embedded executable } # Stop server --source include/shutdown_mysqld.inc # Prepare a new config file without ssl. --let $special_config_file = $MYSQLTEST_VARDIR/tmp/my.mysql_embedded.cnf --let IN_FILE_PATH = $PATH_CONFIG_FILE --let OUT_FILE_PATH = $special_config_file --perl use strict; my $in_file_path = $ENV{IN_FILE_PATH} or die "IN_FILE_PATH not set"; my $out_file_path = $ENV{OUT_FILE_PATH} or die "OUT_FILE_PATH not set"; open (IN_FILE, "<$in_file_path") or die ("Fail to open in-file '$in_file_path': $!\n"); open (OUT_FILE, ">$out_file_path") or die ("Fail to open out-file '$out_file_path': $!\n"); while (my $line = <IN_FILE>) { chomp $line; print OUT_FILE "$line\n" unless ($line =~ /^ssl-ca=/ || $line =~ /^ssl-cert=/ || $line =~ /^ssl-key=/); } close (IN_FILE); close (OUT_FILE); EOF --exec $MYSQL_EMBEDDED --defaults-file=$special_config_file -e "SELECT 1" --echo # --echo # Bug#11764633 : 57491: THD->MAIN_DA.IS_OK() ASSERT IN EMBEDDED --echo # --exec $MYSQL_EMBEDDED --defaults-file=$special_config_file -e "\T foo/bar" # Start server --source include/start_mysqld.inc --remove_file $special_config_file