Skip to content

Commit

Permalink
use VecWrapper instead of Vec
Browse files Browse the repository at this point in the history
  • Loading branch information
imor committed Nov 29, 2024
1 parent be43fd1 commit eb4f9f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pg_replicate/src/conversions/table_row.rs
Original file line number Diff line number Diff line change
Expand Up @@ -292,10 +292,10 @@ impl TableRowConverter {
let value = match Self::get_cell_value(row, column_schema, i) {
Ok(value) => value,
Err(e) => {
let bytes: Vec<u8> = row.get(i);
let bytes: VecWrapper = row.get(i);
error!(
"error while getting column {} of type {} from bytes {bytes:#?}",
column_schema.name, column_schema.typ
"error while getting column {} of type {} from bytes {:#?}",
column_schema.name, column_schema.typ, bytes.0
);
return Err(e);
}
Expand Down

0 comments on commit eb4f9f7

Please sign in to comment.