diff options
| author | leak <leakzx@googlemail.com> | 2011-12-31 20:14:38 +0100 |
|---|---|---|
| committer | leak <leakzx@googlemail.com> | 2011-12-31 20:14:38 +0100 |
| commit | 73cf793e56b0750f717f31d91f54fdf94ff88682 (patch) | |
| tree | 2df88688ff0c8149d2fd6343c782346f89bab52e /src/server/authserver/Realms | |
| parent | ff8874574f61cf92d6a05fb3c834406651ba0aab (diff) | |
Core/DBLayer: Refactor prepared statement defines Note:
The new format for the middle section is a 3-letter upper case abbreviation of the sql command being executed (select -> SEL, update -> UPD, etc.)
{DB}_{SEL/INS/UPD/DEL/REP}_{Summary of data changed}
Diffstat (limited to 'src/server/authserver/Realms')
| -rwxr-xr-x | src/server/authserver/Realms/RealmList.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/authserver/Realms/RealmList.cpp b/src/server/authserver/Realms/RealmList.cpp index c81af80d31d..24eed3dcae3 100755 --- a/src/server/authserver/Realms/RealmList.cpp +++ b/src/server/authserver/Realms/RealmList.cpp @@ -70,7 +70,7 @@ void RealmList::UpdateRealms(bool init) { sLog->outDetail("Updating Realm List..."); - PreparedStatement *stmt = LoginDatabase.GetPreparedStatement(LOGIN_GET_REALMLIST); + PreparedStatement *stmt = LoginDatabase.GetPreparedStatement(LOGIN_SEL_REALMLIST); PreparedQueryResult result = LoginDatabase.Query(stmt); // Circle through results and add them to the realm map |
