[10792] Fixed warnings and need in redundent char* casts in database access code.

This commit is contained in:
VladimirMangos 2010-11-29 00:36:13 +03:00
parent 7f34658dd2
commit abc6dfca98
9 changed files with 26 additions and 20 deletions

View file

@ -249,7 +249,7 @@ bool Database::CheckRequiredField( char const* table_name, char const* required_
else
{
sLog.outErrorDb("The table `%s` in your [%s] database is missing its version info.",table_name,db_name);
sLog.outErrorDb("MaNGOS cannot find the version info needed to check that the db is up to date.",table_name,db_name);
sLog.outErrorDb("MaNGOS cannot find the version info needed to check that the db is up to date.");
sLog.outErrorDb();
sLog.outErrorDb("This revision of MaNGOS requires a database updated to:");
sLog.outErrorDb("`%s.sql`",req_sql_update_name);
@ -264,7 +264,7 @@ bool Database::CheckRequiredField( char const* table_name, char const* required_
else
{
sLog.outErrorDb("The table `%s` in your [%s] database is missing or corrupt.",table_name,db_name);
sLog.outErrorDb("MaNGOS cannot find the version info needed to check that the db is up to date.",table_name,db_name);
sLog.outErrorDb("MaNGOS cannot find the version info needed to check that the db is up to date.");
sLog.outErrorDb();
sLog.outErrorDb("This revision of mangos requires a database updated to:");
sLog.outErrorDb("`%s.sql`",req_sql_update_name);