From f60d534b73838c2f3c461b0086f6da02576697f3 Mon Sep 17 00:00:00 2001 From: click Date: Sat, 8 May 2010 05:03:32 +0200 Subject: Cleanup on some database-related files: merge some DB-related files, add some consistency to callhandles in sourcetree (M + combine MySQL-specific files into main database-files (click) + fix vcproj-files, adjust handler-function names for consistency (Machiavelli) --HG-- branch : trunk --- src/shared/Log.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/shared/Log.cpp') diff --git a/src/shared/Log.cpp b/src/shared/Log.cpp index 811a2c7c3fe..d35b25a9069 100644 --- a/src/shared/Log.cpp +++ b/src/shared/Log.cpp @@ -364,9 +364,9 @@ void Log::outDB(LogTypes type, const char * str) std::string new_str(str); if (new_str.empty()) return; - loginDatabase.escape_string(new_str); + LoginDatabase.escape_string(new_str); - loginDatabase.PExecute("INSERT INTO logs (time, realm, type, string) " + LoginDatabase.PExecute("INSERT INTO logs (time, realm, type, string) " "VALUES (" UI64FMTD ", %u, %u, '%s');", uint64(time(0)), realm, type, new_str.c_str()); } -- cgit v1.2.3