Make gcov happy.

This commit is contained in:
svoj@mysql.com/april.(none) 2008-03-18 16:38:12 +04:00
parent 0b4da8a381
commit 70ca2ae287
2 changed files with 2 additions and 2 deletions

View File

@ -406,7 +406,7 @@ Log_event::Log_event(const char* buf,
binlog, so which will cause problems if the user uses this value
in CHANGE MASTER).
*/
log_pos+= data_written;
log_pos+= data_written; /* purecov: inspected */
}
DBUG_PRINT("info", ("log_pos: %lu", (ulong) log_pos));

View File

@ -191,7 +191,7 @@ int register_slave(THD* thd, uchar* packet, uint packet_length)
err:
my_free((gptr) si, MYF(MY_WME));
my_message(ER_UNKNOWN_ERROR, errmsg, MYF(0));
my_message(ER_UNKNOWN_ERROR, errmsg, MYF(0)); /* purecov: inspected */
err2:
return 1;
}