Skip to content

Commit 190848e

Browse files
committed
fixed:log protocol delete table is incorrect
1 parent f3e239d commit 190848e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

XEngine_Source/XEngine_ModuleDatabase/ModuleDatabase_XLog/ModuleDatabase_XLog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ bool CModuleDatabase_XLog::ModuleDatabase_XLog_Delete(LPCXSTR lpszTableName)
281281
XCHAR tszSQLStatement[10240];
282282
memset(tszSQLStatement, '\0', sizeof(tszSQLStatement));
283283

284-
_xstprintf(tszSQLStatement, _X("DROP TABLE IF EXISTS '%s'"), lpszTableName);
284+
_xstprintf(tszSQLStatement, _X("DROP TABLE IF EXISTS `%s`"), lpszTableName);
285285
if (!DataBase_MySQL_Execute(xhDBSQL, tszSQLStatement))
286286
{
287287
DBModule_IsErrorOccur = true;

0 commit comments

Comments
 (0)