double string representation is a bit shorter
This commit is contained in:
parent
2f6159767d
commit
8d5eea45a3
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 Row::print_get_column_size(const ColDefNode &col_def) {
|
||||||
int col_size = col_def.type == ColumnType::varchar_type ? col_def.length :
|
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;
|
return col_size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue