fix information_schema.statistics nullable bug
This commit is contained in:
@ -648,9 +648,7 @@ int ObTableIndex::add_normal_index_column(const ObString& database_name, const O
|
|||||||
}
|
}
|
||||||
// null
|
// null
|
||||||
case OB_APP_MIN_COLUMN_ID + 12: {
|
case OB_APP_MIN_COLUMN_ID + 12: {
|
||||||
if (column_schema->is_rowkey_column()) {
|
if (column_schema->is_nullable()) {
|
||||||
cells[cell_idx].set_varchar(ObString(""));
|
|
||||||
} else if (column_schema->is_nullable()) {
|
|
||||||
cells[cell_idx].set_varchar(ObString("YES"));
|
cells[cell_idx].set_varchar(ObString("YES"));
|
||||||
} else {
|
} else {
|
||||||
cells[cell_idx].set_varchar(ObString(""));
|
cells[cell_idx].set_varchar(ObString(""));
|
||||||
|
|||||||
Reference in New Issue
Block a user