double string representation is a bit shorter

This commit is contained in:
VaclavT 2021-08-15 11:16:06 +02:00
parent 2f6159767d
commit 8d5eea45a3
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }