SQL: Characters db storage type cleanup No. 3 - Note:

There is a chance that you will be getting importing errors / data truncation warnings because of ancient invalid pet names.
SELECT * FROM character_pet WHERE CHAR_LENGTH(`name`) > 21;
This commit is contained in:
leak
2011-01-19 18:51:00 +01:00
parent c306acf298
commit 471b6f138d
16 changed files with 144 additions and 69 deletions
+1 -1
View File
@@ -2600,7 +2600,7 @@ void World::InitDailyQuestResetTime()
if (result)
{
Field *fields = result->Fetch();
mostRecentQuestTime = (time_t)fields[0].GetUInt64();
mostRecentQuestTime = time_t(fields[0].GetUInt32());
}
else
mostRecentQuestTime = 0;