Module: sip-router
Branch: janakj/mysql
Commit: 50e2150dc42b128451889025f70fa81709388892
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=50e2150…
Author: Henning Westerholt <henning.westerholt(a)1und1.de>
Committer: Henning Westerholt <henning.westerholt(a)1und1.de>
Date: Wed Jan 7 08:43:22 2009 +0000
- fix one DBG msg (still using module prefix), two small indention fixes
git-svn-id:
https://openser.svn.sourceforge.net/svnroot/openser/trunk@5425
689a6050-402a-0410-94f2-e92a70836424
---
modules/db_mysql/km_db_mysql.c | 4 ++--
modules/db_mysql/km_dbase.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/db_mysql/km_db_mysql.c b/modules/db_mysql/km_db_mysql.c
index 1b1e778..d1e9e09 100644
--- a/modules/db_mysql/km_db_mysql.c
+++ b/modules/db_mysql/km_db_mysql.c
@@ -96,7 +96,7 @@ struct module_exports exports = {
static int mysql_mod_init(void)
{
- LM_DBG("mysql: MySQL client version is %s\n", mysql_get_client_info());
+ LM_DBG("MySQL client version is %s\n", mysql_get_client_info());
return 0;
}
@@ -115,7 +115,7 @@ int db_mysql_bind_api(db_func_t *dbb)
dbb->raw_query = db_mysql_raw_query;
dbb->free_result = db_mysql_free_result;
dbb->insert = db_mysql_insert;
- dbb->delete = db_mysql_delete;
+ dbb->delete = db_mysql_delete;
dbb->update = db_mysql_update;
dbb->replace = db_mysql_replace;
dbb->last_inserted_id = db_last_inserted_id;
diff --git a/modules/db_mysql/km_dbase.h b/modules/db_mysql/km_dbase.h
index 506bb0d..68d47b3 100644
--- a/modules/db_mysql/km_dbase.h
+++ b/modules/db_mysql/km_dbase.h
@@ -104,7 +104,7 @@ int db_mysql_update(const db_con_t* _h, const db_key_t* _k, const
db_op_t* _o,
/*! \brief
* Just like insert, but replace the row if it exists
*/
-int db_mysql_replace(const db_con_t* handle, const db_key_t* keys, const db_val_t* vals,
const int n);
+int db_mysql_replace(const db_con_t* handle, const db_key_t* keys, const db_val_t* vals,
const int n);
/*! \brief
* Returns the last inserted ID