mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fix two compiler warnings from Buildbot (including one bad merge).
This commit is contained in:
@ -8036,7 +8036,8 @@ void Annotate_rows_log_event::print(FILE *file, PRINT_EVENT_INFO *pinfo)
|
||||
// find end of the next line
|
||||
for (pend= pbeg + 1;
|
||||
++cnt <= m_query_len && *pend != '\r' && *pend != '\n';
|
||||
pend++);
|
||||
pend++)
|
||||
;
|
||||
|
||||
// print next line
|
||||
my_b_write(&pinfo->head_cache, (const uchar*) "#Q> ", 4);
|
||||
|
@ -556,7 +556,6 @@ impossible position";
|
||||
}
|
||||
#endif
|
||||
|
||||
if ((*packet)[EVENT_TYPE_OFFSET+1] == FORMAT_DESCRIPTION_EVENT)
|
||||
if ((uchar)(*packet)[EVENT_TYPE_OFFSET+1] == FORMAT_DESCRIPTION_EVENT)
|
||||
{
|
||||
binlog_can_be_corrupted= test((*packet)[FLAGS_OFFSET+1] &
|
||||
|
Reference in New Issue
Block a user