Commit a62ebf25 authored by Sergei Golubchik's avatar Sergei Golubchik

cppcheck harmless warnings

MDEV-13953 mariadb-10.2.9/storage/innobase/row/row0import.cc:3602: possible cut'n'paste error ?
MDEV-13955 mariadb-10.2.9/sql/log_event.cc:7671: possible wrong operator ?
parent ebda6e95
......@@ -7668,7 +7668,7 @@ Gtid_log_event::print(FILE *file, PRINT_EVENT_INFO *print_event_info)
char buf[21];
char buf2[21];
if (!print_event_info->short_form & !is_flashback)
if (!print_event_info->short_form && !is_flashback)
{
print_header(&cache, print_event_info, FALSE);
longlong10_to_str(seq_no, buf, 10);
......
......@@ -3595,10 +3595,6 @@ row_import_for_mysql(
DBUG_EXECUTE_IF("ib_import_cluster_root_adjust_failure",
err = DB_CORRUPTION;);
if (err != DB_SUCCESS) {
return(row_import_error(prebuilt, trx, err));
}
if (err != DB_SUCCESS) {
return(row_import_error(prebuilt, trx, err));
} else if (cfg.requires_purge(index->name)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment