fix defragment sstable 4002
This commit is contained in:
@ -82,7 +82,7 @@ int ObDMLStmtPrinter::print_hint()
|
|||||||
if (OB_FAIL(query_hint.print_stmt_hint(plan_text, *stmt_))) {
|
if (OB_FAIL(query_hint.print_stmt_hint(plan_text, *stmt_))) {
|
||||||
LOG_WARN("failed to print stmt hint", K(ret));
|
LOG_WARN("failed to print stmt hint", K(ret));
|
||||||
} else if (plan_text.pos == *pos_) {
|
} else if (plan_text.pos == *pos_) {
|
||||||
// no hint, rollback buffer!
|
// no hint, roolback buffer!
|
||||||
*pos_ -= strlen(hint_begin);
|
*pos_ -= strlen(hint_begin);
|
||||||
} else {
|
} else {
|
||||||
*pos_ = plan_text.pos;
|
*pos_ = plan_text.pos;
|
||||||
|
|||||||
@ -2136,6 +2136,7 @@ int ObMetaIndexBlockBuilder::build_single_macro_row_desc(const IndexMicroBlockDe
|
|||||||
last_leaf_rowkey_.reset();
|
last_leaf_rowkey_.reset();
|
||||||
row_desc.is_data_block_ = true;
|
row_desc.is_data_block_ = true;
|
||||||
row_desc.is_secondary_meta_ = true;
|
row_desc.is_secondary_meta_ = true;
|
||||||
|
row_desc.micro_block_count_ = 1;
|
||||||
if (OB_FAIL(ObBaseIndexBlockBuilder::append_row(row_desc))) {
|
if (OB_FAIL(ObBaseIndexBlockBuilder::append_row(row_desc))) {
|
||||||
STORAGE_LOG(WARN, "fail to append n-1 level index row of meta", K(ret), K(roots));
|
STORAGE_LOG(WARN, "fail to append n-1 level index row of meta", K(ret), K(roots));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user