[sr-dev] git:master: db_mysql: fixed driver error counter named

Andrei Pelinescu-Onciul andrei at iptel.org
Wed Sep 1 19:07:11 CEST 2010


Module: sip-router
Branch: master
Commit: e7a7c4e0a876b5eb2ed6a36a9667f10840864adf
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e7a7c4e0a876b5eb2ed6a36a9667f10840864adf

Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date:   Wed Sep  1 19:03:47 2010 +0200

db_mysql: fixed driver error counter named

Changed the name from "Mysql driver erros" to "driver_errors"
(spaces in the name, while legal, would make life harder).

---

 modules/db_mysql/mysql_mod.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/db_mysql/mysql_mod.c b/modules/db_mysql/mysql_mod.c
index 014e396..127ad52 100644
--- a/modules/db_mysql/mysql_mod.c
+++ b/modules/db_mysql/mysql_mod.c
@@ -59,7 +59,7 @@ unsigned long my_client_ver = 0;
 
 struct mysql_counters_h mysql_cnts_h;
 counter_def_t mysql_cnt_defs[] =  {
-	{&mysql_cnts_h.driver_err, "Mysql driver erros", 0, 0, 0,
+	{&mysql_cnts_h.driver_err, "driver_errors", 0, 0, 0,
 		"incremented each time a Mysql error happened because the server/connection has failed."},
 	{0, 0, 0, 0, 0, 0 }
 };




More information about the sr-dev mailing list