>From fba725654a724fc4cfd884254df4315913ebedf0 Mon Sep 17 00:00:00 2001 From: Philip M. Gollucci Date: Fri, 7 Oct 2011 15:24:28 +0000 Subject: [PATCH 3763/3763] Add aborted metrics/types --- src/mysql.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/mysql.c b/src/mysql.c index f222173..34fa9ab 100644 --- a/src/mysql.c +++ b/src/mysql.c @@ -618,6 +618,14 @@ static int mysql_read (user_data_t *ud) counter_submit("mysql_commands", key + strlen ("Created_"), val, db); } + else if (strncmp (key, "Aborted_", + strlen ("Aborted_")) == 0) + { + if (val == 0ULL) + continue; + + counter_submit("mysql_commands", key + strlen ("Aborted_"), val, db); + } else if (strncmp (key, "Handler_", strlen ("Handler_")) == 0) { -- 1.7.4.5