summaryrefslogtreecommitdiff
path: root/sql/ha_ndbcluster_binlog.cc
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2006-06-28 14:03:08 +0300
committerunknown <monty@mysql.com>2006-06-28 14:03:08 +0300
commit5df928c8e603f52552a94cad150d0ee727208d8d (patch)
tree6fbc36b2a6e32f11421cd7022eee46b917bdc196 /sql/ha_ndbcluster_binlog.cc
parentcaf21245cc5c44580407919f7acef4683a7a21dd (diff)
downloadmariadb-git-5df928c8e603f52552a94cad150d0ee727208d8d.tar.gz
Added purecov comment for new, not executed code for my recent changeset
(Found by dgcov) mysql-test/r/show_check.result: Test SHOW PLUGIN. (Was not covered by test suite before) mysql-test/t/show_check.test: Test SHOW PLUGIN. (Was not covered by test suite before) mysys/my_handler.c: Added purecov comment for new, not executed code sql/filesort.cc: Added purecov comment for new, not executed code Removed 'purecov: inspected' from code covered by current testsuite sql/ha_ndbcluster_binlog.cc: Added purecov comment for new, not executed code sql/log_event.cc: Added purecov comment for new, not executed code sql/mysqld.cc: Added purecov comment for new, not executed code sql/sql_parse.cc: Added purecov comment for new, not executed code
Diffstat (limited to 'sql/ha_ndbcluster_binlog.cc')
-rw-r--r--sql/ha_ndbcluster_binlog.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/ha_ndbcluster_binlog.cc b/sql/ha_ndbcluster_binlog.cc
index 3afba85248e..b124f358e55 100644
--- a/sql/ha_ndbcluster_binlog.cc
+++ b/sql/ha_ndbcluster_binlog.cc
@@ -125,6 +125,7 @@ static TABLE_LIST binlog_tables;
*/
#ifndef DBUG_OFF
+/* purecov: begin deadcode */
static void print_records(TABLE *table, const char *record)
{
for (uint j= 0; j < table->s->fields; j++)
@@ -144,6 +145,7 @@ static void print_records(TABLE *table, const char *record)
DBUG_PRINT("info",("[%u]field_ptr[0->%d]: %s", j, n, buf));
}
}
+/* purecov: end */
#else
#define print_records(a,b)
#endif