[FEAT MERGE] OB Support XMLType
Co-authored-by: simonjoylet <simonjoylet@gmail.com>
This commit is contained in:
@ -295,6 +295,7 @@ struct ObLoadDataGID
|
||||
void reset() { id = -1; }
|
||||
bool is_valid() const { return id > 0; }
|
||||
uint64_t hash() const { return common::murmurhash(&id, sizeof(id), 0); }
|
||||
int hash(uint64_t &hash_val) const { hash_val = hash(); return OB_SUCCESS; }
|
||||
bool operator==(const ObLoadDataGID &other) const { return id == other.id; }
|
||||
void operator=(const ObLoadDataGID &other) { id = other.id; }
|
||||
int64_t id;
|
||||
|
||||
@ -155,7 +155,8 @@ int ObCreateTableExecutor::prepare_ins_arg(ObCreateTableStmt &stmt,
|
||||
if (OB_ISNULL(column_schema)) {
|
||||
ret = OB_ERR_UNEXPECTED;
|
||||
LOG_WARN("get null column schema", K(ret));
|
||||
} else if (column_schema->get_column_id() < OB_END_RESERVED_COLUMN_ID_NUM) {
|
||||
} else if (column_schema->get_column_id() < OB_END_RESERVED_COLUMN_ID_NUM ||
|
||||
column_schema->is_udt_hidden_column()) {
|
||||
// do nothing
|
||||
} else if (OB_FAIL(databuff_printf(buf, buf_len, pos1, (0 == used_column_count)? "(": ", "))) {
|
||||
LOG_WARN("failed to print insert into string", K(ret), K(i));
|
||||
|
||||
Reference in New Issue
Block a user