mysql-test/suite/test_services/t/test_mysql_current_thread_reader_component.test
raw| 1 | INSTALL COMPONENT "file://component_test_mysql_current_thread_reader"; |
| 2 | |
| 3 | let $log_error_= `SELECT @@GLOBAL.log_error`; |
| 4 | if($log_error_ == "stderr") |
| 5 | { |
| 6 | let $log_error_ = $MYSQLTEST_VARDIR/log/mysqld.1.err; |
| 7 | } |
| 8 | let SEARCH_FILE=$log_error_; |
| 9 | |
| 10 | --echo # Test : must return the same as current_user; |
| 11 | SELECT test_thd_reader_current_user(); |
| 12 | |
| 13 | UNINSTALL COMPONENT "file://component_test_mysql_current_thread_reader"; |