aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2019-06-08 13:19:48 +0200
committerShauren <shauren.trinity@gmail.com>2019-06-08 17:10:00 +0200
commitbcaaa3d6f69cd60b25a25fc69904f9a8ece24250 (patch)
tree585dac52b621b55b5f380a8cdc6725b4b2df6129 /src/server/shared
parentfc330fd8ff0115804d9c4b53a1f810c00dd63de9 (diff)
Core/DataStores: Updated db2 structures to 8.1.5
Diffstat (limited to 'src/server/shared')
-rw-r--r--src/server/shared/DataStores/DB2Store.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/server/shared/DataStores/DB2Store.cpp b/src/server/shared/DataStores/DB2Store.cpp
index 51d768af74a..4a9f01723a2 100644
--- a/src/server/shared/DataStores/DB2Store.cpp
+++ b/src/server/shared/DataStores/DB2Store.cpp
@@ -91,12 +91,10 @@ bool DB2StorageBase::Load(std::string const& path, uint32 locale, char**& indexT
{
indexTable = nullptr;
DB2FileLoader db2;
- {
- DB2FileSystemSource source(path + _fileName);
- // Check if load was successful, only then continue
- if (!db2.Load(&source, _loadInfo))
- return false;
- }
+ DB2FileSystemSource source(path + _fileName);
+ // Check if load was successful, only then continue
+ if (!db2.Load(&source, _loadInfo))
+ return false;
_fieldCount = db2.GetCols();
_tableHash = db2.GetTableHash();