update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16662 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
da4dd92f2a
commit
484ffac41c
|
@ -1196,7 +1196,7 @@ void *SWITCH_THREAD_FUNC sofia_profile_worker_thread_run(switch_thread_t *thread
|
|||
uint32_t itterations = 0;
|
||||
switch_size_t len = 0;
|
||||
|
||||
//switch_mutex_lock(profile->ireg_mutex);
|
||||
switch_mutex_lock(profile->ireg_mutex);
|
||||
|
||||
//sofia_glue_actually_execute_sql(profile, "begin;\n", NULL);
|
||||
|
||||
|
@ -1223,9 +1223,9 @@ void *SWITCH_THREAD_FUNC sofia_profile_worker_thread_run(switch_thread_t *thread
|
|||
}
|
||||
|
||||
//printf("TRANS:\n%s\n", sqlbuf);
|
||||
sofia_glue_actually_execute_sql_trans(profile, sqlbuf, profile->ireg_mutex);
|
||||
sofia_glue_actually_execute_sql_trans(profile, sqlbuf, NULL);
|
||||
//sofia_glue_actually_execute_sql(profile, "commit;\n", NULL);
|
||||
//switch_mutex_unlock(profile->ireg_mutex);
|
||||
switch_mutex_unlock(profile->ireg_mutex);
|
||||
loop_count = 0;
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue