[FEAT MERGE] Merge syslog user experience improvement to master
Co-authored-by: Charles0429 <xiezhenjiang@gmail.com> Co-authored-by: tino247 <tino247@126.com> Co-authored-by: chaser-ch <chaser.ch@antgroup.com>
This commit is contained in:
@ -229,7 +229,7 @@ ObQueryCtx *ObStmtFactory::get_query_ctx()
|
||||
if ((ptr = allocator_.alloc(sizeof(ObQueryCtx))) != NULL) {
|
||||
query_ctx_ = new(ptr) ObQueryCtx();
|
||||
} else {
|
||||
LOG_WARN("create query ctx failed", "query_ctx size", sizeof(ObQueryCtx));
|
||||
LOG_WARN_RET(OB_ALLOCATE_MEMORY_FAILED, "create query ctx failed", "query_ctx size", sizeof(ObQueryCtx));
|
||||
}
|
||||
}
|
||||
return query_ctx_;
|
||||
|
||||
Reference in New Issue
Block a user