From 1928be9dd3067410632206181c4d154976a6bce8 Mon Sep 17 00:00:00 2001 From: Akkadius Date: Mon, 19 Jan 2015 23:59:59 -0600 Subject: [PATCH] Remove some old MySQL logging for errors --- common/dbcore.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/dbcore.cpp b/common/dbcore.cpp index 948490c7c..506a9efb7 100644 --- a/common/dbcore.cpp +++ b/common/dbcore.cpp @@ -102,8 +102,6 @@ MySQLRequestResult DBcore::QueryDatabase(const char* query, uint32 querylen, boo snprintf(errorBuffer, MYSQL_ERRMSG_SIZE, "#%i: %s", mysql_errno(&mysql), mysql_error(&mysql)); - std::cout << "DB Query Error #" << mysql_errno(&mysql) << ": " << mysql_error(&mysql) << std::endl; - return MySQLRequestResult(nullptr, 0, 0, 0, 0, (uint32)mysql_errno(&mysql), errorBuffer); }