File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
XEngine_Source/MQCore_DBModule Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -576,7 +576,6 @@ bool CDBModule_MQData::DBModule_MQData_CreateTable(LPCXSTR lpszQueueName)
576576{
577577 DBModule_IsErrorOccur = false ;
578578
579- int nUTFLen = 0 ;
580579 XCHAR tszSQLQuery[2048 ];
581580 XCHAR tszUTFQuery[2048 ];
582581
@@ -599,6 +598,7 @@ bool CDBModule_MQData::DBModule_MQData_CreateTable(LPCXSTR lpszQueueName)
599598 ), lpszQueueName);
600599
601600#ifdef _MSC_BUILD
601+ int nUTFLen = 0 ;
602602 BaseLib_OperatorCharset_AnsiToUTF (tszSQLQuery, tszUTFQuery, &nUTFLen);
603603 if (!DataBase_MySQL_Execute (xhDBSQL, tszUTFQuery))
604604#else
Original file line number Diff line number Diff line change @@ -711,11 +711,11 @@ bool CDBModule_MQUser::DBModule_MQUser_TimeQuery(XENGINE_DBTIMERELEASE*** pppSt_
711711 }
712712 if (NULL != pptszResult[3 ])
713713 {
714- (*pppSt_DBInfo)[i]->bActive = _ttoi (pptszResult[3 ]);
714+ (*pppSt_DBInfo)[i]->bActive = _ttxoi (pptszResult[3 ]);
715715 }
716716 if (NULL != pptszResult[4 ])
717717 {
718- (*pppSt_DBInfo)[i]->bBreak = _ttoi (pptszResult[4 ]);
718+ (*pppSt_DBInfo)[i]->bBreak = _ttxoi (pptszResult[4 ]);
719719 }
720720 if (NULL != pptszResult[5 ])
721721 {
You can’t perform that action at this time.
0 commit comments