| 1283 | } |
| 1284 | |
| 1285 | bool general_log_write(THD *thd, enum enum_server_command command, |
| 1286 | const char *query, uint query_length) |
| 1287 | { |
| 1288 | /* Write the message to the log if we want to log this king of commands */ |
| 1289 | if (logger.log_command(thd, command)) |
| 1290 | return logger.general_log_write(thd, command, query, query_length); |
| 1291 | |
| 1292 | return FALSE; |
| 1293 | } |
| 1294 | |
| 1295 | /** |
| 1296 | Check if a string is a valid number. |
no test coverage detected