Module: sip-router
Branch: master
Commit: 3f84ebbb5504831483248e5b58b3ecd60368b3aa
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3f84ebb…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Wed Apr 16 13:31:20 2014 +0200
db_mysql: fixed c&p error for insert_async operation
- reported by Juha Heinanen
---
modules/db_mysql/km_dbase.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/db_mysql/km_dbase.c b/modules/db_mysql/km_dbase.c
index 46efdd4..7beaf91 100644
--- a/modules/db_mysql/km_dbase.c
+++ b/modules/db_mysql/km_dbase.c
@@ -848,7 +848,7 @@ int db_mysql_insert_delayed(const db1_con_t* _h, const db_key_t* _k,
const db_va
*/
int db_mysql_insert_async(const db1_con_t* _h, const db_key_t* _k, const db_val_t* _v,
const int _n)
{
- return db_do_insert_delayed(_h, _k, _v, _n, db_mysql_val2str,
+ return db_do_insert(_h, _k, _v, _n, db_mysql_val2str,
db_mysql_submit_query_async);
}