| 11832 | |
| 11833 | |
| 11834 | bool flush_error_log() |
| 11835 | { |
| 11836 | bool result= 0; |
| 11837 | if (opt_error_log) |
| 11838 | { |
| 11839 | mysql_mutex_lock(&LOCK_error_log); |
| 11840 | if (redirect_std_streams(log_error_file)) |
| 11841 | result= 1; |
| 11842 | mysql_mutex_unlock(&LOCK_error_log); |
| 11843 | } |
| 11844 | return result; |
| 11845 | } |
| 11846 | |
| 11847 | #ifdef _WIN32 |
| 11848 | struct eventlog_source |
no test coverage detected