@brief Dummy function to return log status should be replaced by function which really detect the log status and check that the file is a log of this handler. */
| 325 | handler. |
| 326 | */ |
| 327 | enum log_status fl_get_log_status(char *log) |
| 328 | { |
| 329 | MY_STAT stat_buff; |
| 330 | if (mysql_file_stat(INSTRUMENT_ME, log, &stat_buff, MYF(0))) |
| 331 | return HA_LOG_STATUS_INUSE; |
| 332 | return HA_LOG_STATUS_NOSUCHLOG; |
| 333 | } |
| 334 | |
| 335 | |
| 336 | struct fl_buff |
no outgoing calls
no test coverage detected