mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-23 12:57:16 +00:00
Removed command character backup
Changed all remaining references from the character_ table to the character_data
This commit is contained in:
1 parent
e50cf5c4be
commit
4c12d31e4a
12 files changed
+26
-189
No files matched your search
+1
-1
@@ -728,7 +728,7 @@ uint32 Database::GetAccountIDByChar(const char* charname) {
|
||||
|
||||
// Retrieve account_id for a given char_id
|
||||
uint32 Database::GetAccountIDByChar(uint32 char_id) {
|
||||
std::string query = StringFormat("SELECT `account_id` FROM `character_` WHERE `id` = %i LIMIT 1", char_id);
|
||||
std::string query = StringFormat("SELECT `account_id` FROM `character_data` WHERE `id` = %i LIMIT 1", char_id);
|
||||
auto results = QueryDatabase(query);
|
||||
if (!results.Success()) {
|
||||
LogFile->write(EQEMuLog::Error, "Error in GetAccountIDByChar query '%s': %s", query.c_str(), results.ErrorMessage().c_str());
|
||||
|
||||
Reference in new issue
Block a user