diff options
author | Shauren <shauren.trinity@gmail.com> | 2017-04-06 23:39:34 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2017-04-06 23:39:34 +0200 |
commit | d20dedebd6a322e1204fa911b4a2ddc7e2c3e67a (patch) | |
tree | 02f823f14e41a8481dc3d46f94bbca4404988e38 /src/common/DataStores/DB2FileLoader.h | |
parent | 886e9e839b304b7567dd655e4fa3afb2251c96ca (diff) |
Core/DataStores: Updated db2 structures to 7.2.0
Diffstat (limited to 'src/common/DataStores/DB2FileLoader.h')
-rw-r--r-- | src/common/DataStores/DB2FileLoader.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/DataStores/DB2FileLoader.h b/src/common/DataStores/DB2FileLoader.h index a8dd7d27e41..3812fe3cd67 100644 --- a/src/common/DataStores/DB2FileLoader.h +++ b/src/common/DataStores/DB2FileLoader.h @@ -42,6 +42,8 @@ struct DB2Header uint32 CopyTableSize; uint16 Flags; int16 IndexField; + uint32 TotalFieldCount; + uint32 CommonDataSize; }; #pragma pack(pop) @@ -123,7 +125,7 @@ public: char* AutoProduceStrings(char* dataTable, uint32 locale); void AutoProduceRecordCopies(uint32 records, char** indexTable, char* dataTable); - uint32 GetCols() const { return _header.FieldCount; } + uint32 GetCols() const { return _header.TotalFieldCount; } uint32 GetRecordCount() const; uint32 GetRecordCopyCount() const; uint32 GetTableHash() const { return _header.TableHash; } |