aboutsummaryrefslogtreecommitdiff
path: root/src/common/DataStores/DB2FileLoader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/DataStores/DB2FileLoader.h')
-rw-r--r--src/common/DataStores/DB2FileLoader.h4
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; }