surpressed unimportant column exists error

This commit is contained in:
Christian 2021-02-27 09:42:59 +01:00
parent 474f104ecd
commit 7dafdd20c3

View File

@ -160,7 +160,7 @@ public void SQL_OnQueryCompleted1(Database db, DBResultSet results, const char[]
if (l_iZoneCount == 1)
{
Format(sQuery, sizeof(sQuery), "ALTER TABLE `zetimer_table` ADD COLUMN `%s` VARCHAR(256) DEFAULT '0.000' NOT NULL", g_cMapname);
g_dDatabase.Query(SQL_FinishedQuery, sQuery, _, DBPrio_High);
g_dDatabase.Query(SQL_FinishedQuery_mute_error, sQuery, _, DBPrio_High);
}
else
{
@ -171,7 +171,7 @@ public void SQL_OnQueryCompleted1(Database db, DBResultSet results, const char[]
{
l_iRaceCount++;
Format(sQuery, sizeof(sQuery), "ALTER TABLE `zetimer_table` ADD COLUMN `%sS%i` VARCHAR(256) DEFAULT '0.000' NOT NULL", g_cMapname, l_iRaceCount);
g_dDatabase.Query(SQL_FinishedQuery, sQuery, _, DBPrio_High);
g_dDatabase.Query(SQL_FinishedQuery_mute_error, sQuery, _, DBPrio_High);
}
}
}