81
81
snprintf(msgbuf, MAX_MSG_LEN,
82
82
"log end thread_id=%ld query_id=%ld command=%.*s"
84
84
(unsigned long) thd->thread_id,
85
85
(unsigned long) thd->query_id,
86
86
(uint32_t)command_name[thd->command].length, command_name[thd->command].str,
88
87
(unsigned long) thd->sent_row_count,
89
88
(uint32_t) thd->examined_row_count);
90
89
/* a single write has a OS level thread lock