[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:
@ -172,7 +172,7 @@ ObITableEntity *ObTableEntityFactory<T>::alloc()
|
||||
if (NULL == entity) {
|
||||
void * ptr = alloc_.alloc(sizeof(T));
|
||||
if (NULL == ptr) {
|
||||
CLIENT_LOG(WARN, "no memory for table entity");
|
||||
CLIENT_LOG_RET(WARN, common::OB_ALLOCATE_MEMORY_FAILED, "no memory for table entity");
|
||||
} else {
|
||||
entity = new(ptr) T();
|
||||
used_list_.add_last(entity);
|
||||
|
||||
Reference in New Issue
Block a user