Home
last modified time | relevance | path

Searched refs:affinityTable (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/relational/
H A Dtable_info.cpp53 static uint32_t affinityTable[] = { variable
77 if (hex == affinityTable[AFFINITY_CHAR]) { in AffinityType()
79 } else if (hex == affinityTable[AFFINITY_CLOB]) { in AffinityType()
81 } else if (hex == affinityTable[AFFINITY_TEXT]) { in AffinityType()
83 } else if (hex == affinityTable[AFFINITY_BLOB] && (type == StorageType::STORAGE_TYPE_NULL || in AffinityType()
86 } else if (hex == affinityTable[AFFINITY_REAL] && type == StorageType::STORAGE_TYPE_NULL) { in AffinityType()
88 } else if (hex == affinityTable[AFFINITY_FLOA] && type == StorageType::STORAGE_TYPE_NULL) { in AffinityType()
90 } else if (hex == affinityTable[AFFINITY_DOUB] && type == StorageType::STORAGE_TYPE_NULL) { in AffinityType()
92 … } else if ((hex & 0x00ffffff) == affinityTable[AFFINITY_INT]) { // 0x00ffffff: mask for 3 byte in AffinityType()