Skip to content

Commit

Permalink
fixed displaying tuple and udt
Browse files Browse the repository at this point in the history
  • Loading branch information
Michu1596 committed Jan 10, 2025
1 parent fff3cf2 commit e15634e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scylla/src/transport/query_result.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1570,6 +1570,9 @@ impl fmt::Display for WrapperDisplay<'_, Vec<(String, Option<CqlValue>)>> {
if let CqlValue::Text(_item) = item {
display_in_quotes_and_colored(f, &field_value_wrapper, self.settings)?;
}
else{
write!(f, "{}", field_value_wrapper)?;
}
} else {
write!(f, "{}", field_value_wrapper)?;
}
Expand Down Expand Up @@ -1625,6 +1628,9 @@ impl fmt::Display for WrapperDisplay<'_, Vec<Option<CqlValue>>> {
if let CqlValue::Text(_item) = item {
display_in_quotes_and_colored(f, &item_wrapper, self.settings)?;
}
else{
write!(f, "{}", item_wrapper)?;
}
} else {
write!(f, "{}", item_wrapper)?;
}
Expand Down

0 comments on commit e15634e

Please sign in to comment.