提交 2a7c398b 编写于 作者: 羽飞's avatar 羽飞

fix return value in table::scan

上级 e0d2919b
......@@ -435,11 +435,6 @@ RC Table::scan_record(Trx *trx, ConditionFilter *filter, int limit, void *contex
}
}
if (RC::RECORD_EOF == rc) {
rc = RC::SUCCESS;
} else {
LOG_ERROR("failed to scan record. rc=%d:%s", rc, strrc(rc));
}
scanner.close_scan();
return rc;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册