double string representation is a bit shorter
This commit is contained in:
2
row.cpp
2
row.cpp
@@ -183,7 +183,7 @@ void Row::print(const std::vector<ColDefNode> &col_defs) {
|
||||
|
||||
int Row::print_get_column_size(const ColDefNode &col_def) {
|
||||
int col_size = col_def.type == ColumnType::varchar_type ? col_def.length :
|
||||
col_def.type == ColumnType::float_type ? 20 : 10;
|
||||
col_def.type == ColumnType::float_type ? 16 : 10;
|
||||
return col_size;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user