diff --git a/include/ob_object.h b/include/ob_object.h index cd14ea0..1adad5d 100644 --- a/include/ob_object.h +++ b/include/ob_object.h @@ -91,7 +91,7 @@ typedef enum enum_obobjtype typedef #endif -typedef enum enum_obcollationtype +enum enum_obcollationtype { CS_TYPE_INVALID = 0, CS_TYPE_GBK_CHINESE_CI = 28, @@ -112,7 +112,7 @@ typedef enum enum_obcollationtype typedef #endif -typedef enum enum_obcollationlevel +enum enum_obcollationlevel { CS_LEVEL_EXPLICIT = 0, CS_LEVEL_NONE = 1, @@ -290,4 +290,4 @@ void set_varchar(ObObj *obj, const char *ptr, int32_t size); int serialize_ObObj(const ObObj *obj, char *buf, const int64_t buf_len, int64_t *pos); int deserialize_ObObj(ObObj *obj, const char *buf, const int64_t data_len, int64_t *pos); int64_t get_serialize_size_ObObj(const ObObj *obj); -#endif \ No newline at end of file +#endif