summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <svoj@mysql.com/april.(none)>2008-03-18 16:38:12 +0400
committerunknown <svoj@mysql.com/april.(none)>2008-03-18 16:38:12 +0400
commitbfd4b3ce1ac4bfe8df9414c45dc95996dc7e059c (patch)
tree8bc07e242c2e00a6daa38c744cfbdd8ce06bc26f
parent89ba6b3f450b3cf555c0190f81876d9eb18b976d (diff)
downloadmariadb-git-bfd4b3ce1ac4bfe8df9414c45dc95996dc7e059c.tar.gz
Make gcov happy.
-rw-r--r--sql/log_event.cc2
-rw-r--r--sql/repl_failsafe.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/sql/log_event.cc b/sql/log_event.cc
index 8e14a873fc6..05dccd782ad 100644
--- a/sql/log_event.cc
+++ b/sql/log_event.cc
@@ -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));
diff --git a/sql/repl_failsafe.cc b/sql/repl_failsafe.cc
index f1826678c9f..7f98dd2d64a 100644
--- a/sql/repl_failsafe.cc
+++ b/sql/repl_failsafe.cc
@@ -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;
}