Fix compatibilty

This commit is contained in:
lazio579 2019-02-28 10:38:53 +08:00
parent c6d2e04dd1
commit af9a3d23f7

View File

@ -650,6 +650,7 @@ struct code_map_t {
} key_type_map[] = {
{"INT", SHARD_DATA_TYPE_INT},
{"CHAR", SHARD_DATA_TYPE_STR},
{"STR", SHARD_DATA_TYPE_STR},
{"DATE", SHARD_DATA_TYPE_DATE},
{"DATETIME", SHARD_DATA_TYPE_DATETIME},
};