From 505d3e24ccbfe0a5248804974bfb0e3386b41d2f Mon Sep 17 00:00:00 2001 From: Shauren Date: Wed, 26 Oct 2016 00:05:02 +0200 Subject: Core/DataStores: Removed the need to edit DB2Metadata automatically generated to account for non-localized string fields --- src/common/DataStores/DB2Meta.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/common/DataStores/DB2Meta.cpp') diff --git a/src/common/DataStores/DB2Meta.cpp b/src/common/DataStores/DB2Meta.cpp index 819ce20f821..67abfe02592 100644 --- a/src/common/DataStores/DB2Meta.cpp +++ b/src/common/DataStores/DB2Meta.cpp @@ -89,17 +89,6 @@ uint32 DB2Meta::GetDbFieldCount() const return fields; } -uint32 DB2Meta::GetStringFieldCount(bool localizedOnly) const -{ - uint32 stringFields = 0; - for (uint32 i = 0; i < FieldCount; ++i) - if (Types[i] == FT_STRING || (Types[i] == FT_STRING_NOT_LOCALIZED && !localizedOnly)) - for (uint8 j = 0; j < ArraySizes[i]; ++j) - ++stringFields; - - return stringFields; -} - DB2FieldMeta::DB2FieldMeta(bool isSigned, DBCFormer type, char const* name) : IsSigned(isSigned), Type(type), Name(name) { -- cgit v1.2.3