Fix for bot build

This commit is contained in:
Akkadius committed 2014-11-24 02:06:51 -06:00
1 parent a2bef4d999
commit 02e82f1cfc
1 file changed
+2 -2
+2 -2
View File
@@ -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];