[CP] Fix: user cannot be null
This commit is contained in:
parent
8d751062f6
commit
a8cba4376b
@ -129,7 +129,8 @@ int ObAllVirtualSessionInfo::FillScanner::operator()(
|
||||
// before we finally find the reason and resolve the bug. otherwise we cannot
|
||||
// use this command in on-line cluster.
|
||||
// see
|
||||
cur_row_->cells_[cell_idx].set_null();
|
||||
cur_row_->cells_[cell_idx].set_varchar("");
|
||||
cur_row_->cells_[cell_idx].set_collation_type(default_collation);
|
||||
} else {
|
||||
cur_row_->cells_[cell_idx].set_varchar(sess_info->get_user_name());
|
||||
cur_row_->cells_[cell_idx].set_collation_type(default_collation);
|
||||
|
@ -165,7 +165,8 @@ bool ObShowProcesslist::FillScanner::operator()(sql::ObSQLSessionMgr::Key key, O
|
||||
// before we finally find the reason and resolve the bug. otherwise we cannot
|
||||
// use this command in on-line cluster.
|
||||
// see
|
||||
cur_row_->cells_[cell_idx].set_null();
|
||||
cur_row_->cells_[cell_idx].set_varchar("");
|
||||
cur_row_->cells_[cell_idx].set_collation_type(default_collation);
|
||||
} else {
|
||||
cur_row_->cells_[cell_idx].set_varchar(sess_info->get_user_name());
|
||||
cur_row_->cells_[cell_idx].set_collation_type(default_collation);
|
||||
|
Loading…
x
Reference in New Issue
Block a user