| 1 |
# Puts error log for server $mysqld_name in table test.server_error_log |
| 2 |
|
| 3 |
--disable_query_log |
| 4 |
--disable_result_log |
| 5 |
use test; |
| 6 |
drop table if exists server_error_log; |
| 7 |
create table server_error_log( |
| 8 |
`row` int auto_increment primary key, |
| 9 |
line varchar(1024) default null) |
| 10 |
engine=myisam; |
| 11 |
|
| 12 |
--let $my_log_error_path=$MYSQLTEST_VARDIR/log/$mysqld_name.err |
| 13 |
|
| 14 |
eval load data local infile '$my_log_error_path' into table server_error_log |
| 15 |
fields terminated by 'xykls37' escaped by '' |
| 16 |
ignore 1 lines |
| 17 |
(line); |
| 18 |
|
| 19 |
--enable_result_log |
| 20 |
--enable_query_log |
| 21 |
|
| 22 |
|