取消注释代码
This commit is contained in:
parent
6022707b46
commit
74dd6d995f
@ -206,7 +206,7 @@ private:
|
|||||||
|
|
||||||
void DBPool::Init()
|
void DBPool::Init()
|
||||||
{
|
{
|
||||||
#if 0
|
#if 1
|
||||||
#if 1
|
#if 1
|
||||||
/*mysql_init()不是完全线程安全的,但是只要成功调用一次就后就线程安全了,
|
/*mysql_init()不是完全线程安全的,但是只要成功调用一次就后就线程安全了,
|
||||||
如果有多线程并发使用mysql_init(),建议在程序初始化时空调一次mysql_init(),他的这点特性很像qsort()
|
如果有多线程并发使用mysql_init(),建议在程序初始化时空调一次mysql_init(),他的这点特性很像qsort()
|
||||||
@ -233,7 +233,7 @@ void DBPool::Update()
|
|||||||
|
|
||||||
void DBPool::_SS_GSM_ExecAsyncSql(f8::MsgHdr& hdr, const ss::SS_GSM_ExecAsyncSql& msg)
|
void DBPool::_SS_GSM_ExecAsyncSql(f8::MsgHdr& hdr, const ss::SS_GSM_ExecAsyncSql& msg)
|
||||||
{
|
{
|
||||||
#if 0
|
#if 1
|
||||||
DBThread *db_thread = db_single_thread_;
|
DBThread *db_thread = db_single_thread_;
|
||||||
switch (msg.exec_type()) {
|
switch (msg.exec_type()) {
|
||||||
case 0:
|
case 0:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user