index 4a4dd2d3385e5f2fbf9e17fbd39cf0e2161772b4..b657486b794b16cdb9bc00560cb0b2f4ab2090dc 100644 (file)
--- a/src/include/core/data.h
+++ b/src/include/core/data.h
union {
int64_t integer; /* SDB_TYPE_INTEGER */
double decimal; /* SDB_TYPE_DECIMAL */
- const char *string; /* SDB_TYPE_STRING */
+ char *string; /* SDB_TYPE_STRING */
sdb_time_t datetime; /* SDB_TYPE_DATETIME */
struct {
size_t length;
- const unsigned char *datum;
+ unsigned char *datum;
} binary; /* SDB_TYPE_BINARY */
} data;
} sdb_data_t;