| 6 | { |
| 7 | |
| 8 | void registerDataTypeDomainBool(DataTypeFactory & factory) |
| 9 | { |
| 10 | factory.registerSimpleDataTypeCustom("Bool", [] |
| 11 | { |
| 12 | auto type = DataTypeFactory::instance().get("UInt8"); |
| 13 | return std::make_pair(type, std::make_unique<DataTypeCustomDesc>( |
| 14 | std::make_unique<DataTypeCustomFixedName>("Bool"), std::make_unique<SerializationBool>(type->getDefaultSerialization()))); |
| 15 | }); |
| 16 | |
| 17 | factory.registerAlias("bool", "Bool", DataTypeFactory::CaseInsensitive); |
| 18 | factory.registerAlias("boolean", "Bool", DataTypeFactory::CaseInsensitive); |
| 19 | } |
| 20 | |
| 21 | } |
no test coverage detected