Server IP : 172.67.216.182 / Your IP : 162.158.190.13 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/test_services/r/ |
Upload File : |
call mtr.add_suppression("This is a warning from test plugin"); call mtr.add_suppression("This is an error from test plugin"); ------ Run plugin ------------------------------------------------ INSTALL PLUGIN test_services SONAME 'TESTSERVICES'; ------ Show variables of plugin to control test execution -------- SHOW VARIABLES LIKE 'test_service%'; Variable_name Value test_services_non_default_variable 0 test_services_with_log_message 1 test_services_with_snprintf 1 ------ Show status of plugin ------------------------------------- SHOW STATUS LIKE 'test_services_status'; Variable_name Value test_services_status 1 test status: 1 # # Bug #GR VARS ARE ABLE TO SET TO 'DEFAULT' INSTEAD OF ERROR ER3093 # WHEN GR IS RUNNING # # Should not work SET @@global.test_services_non_default_variable= DEFAULT; ERROR 42000: Variable 'test_services_non_default_variable' can't be set to the value of 'DEFAULT' ------ Stop plugin ----------------------------------------------- UNINSTALL PLUGIN test_services; ------ Service: my_snprintf -------------------------------------- Starting test of my_snprintf in test_services. This is a text output formatted with my_snprintf. Shutting down test of my_snprintf in test_services. ------ Service: my_plugin_log_service ---------------------------- CREATE TABLE t1 (c1 varchar(30), c2 TEXT); LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/log/mysqld.1.err' INTO TABLE t1 FIELDS TERMINATED BY ' ['; SELECT replace(c2,'\r','') FROM t1 WHERE c2 LIKE '%test_services %'; replace(c2,'\r','') Note] Plugin test_services reported: 'Test_services with_snprintf_val: 1' Note] Plugin test_services reported: 'Test_services with_log_message_val: 1' Note] Plugin test_services reported: 'This is the test plugin for services testing info report output' Warning] Plugin test_services reported: 'This is a warning from test plugin for services testing warning report output' ERROR] Plugin test_services reported: 'This is an error from test plugin for services testing error report output' DROP TABLE IF EXISTS t1;