From 02e82f1cfce94ffe995600845fdf29a6cb5d983f Mon Sep 17 00:00:00 2001 From: Akkadius Date: Mon, 24 Nov 2014 02:06:51 -0600 Subject: [PATCH] Fix for bot build --- common/database.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/database.cpp b/common/database.cpp index 996f408db..241c4d171 100644 --- a/common/database.cpp +++ b/common/database.cpp @@ -1912,8 +1912,8 @@ bool Database::CheckDatabaseConvertBotsPostPPDeblob(){ int runbotsconvert = 0; /* Check For Legacy Bot References */ - rquery = StringFormat("SHOW CREATE VIEW `vwBotCharacterMobs`"); - results = QueryDatabase(rquery); + std::string rquery = StringFormat("SHOW CREATE VIEW `vwBotCharacterMobs`"); + auto results = QueryDatabase(rquery); if (results.RowCount() == 1){ auto row = results.begin(); std::string table_check = row[1];