From f64547a26532293d11286f27c3727ea0e47030e3 Mon Sep 17 00:00:00 2001 From: Raminder Singh Date: Sat, 30 Nov 2024 00:21:38 +0530 Subject: [PATCH] remove commented out code --- pg_replicate/src/conversions/table_row.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pg_replicate/src/conversions/table_row.rs b/pg_replicate/src/conversions/table_row.rs index ade801b..5d984ed 100644 --- a/pg_replicate/src/conversions/table_row.rs +++ b/pg_replicate/src/conversions/table_row.rs @@ -48,15 +48,12 @@ impl TableRowConverter { let mut values = Vec::with_capacity(column_schemas.len()); let row_str = str::from_utf8(row)?; - // info!("NUM COLS IN SCHEMA: {}", column_schemas.len()); - // info!("ROW: {row_str:#?}"); let mut column_schemas_iter = column_schemas.iter(); let mut chars = row_str.chars(); let mut val_str = String::with_capacity(10); let mut in_escape = false; let mut row_terminated = false; let mut done = false; - // let mut i = 0; while !done { loop { @@ -92,12 +89,9 @@ impl TableRowConverter { } if !done { - // info!("VAL STR: {val_str:?}"); - // info!("GETTING {i}th value from schema",); let Some(column_schema) = column_schemas_iter.next() else { return Err(TableRowConversionError::NumColsMismatch); }; - // i += 1; let value = if val_str == "\\N" { Cell::Null @@ -114,7 +108,6 @@ impl TableRowConverter { } }; - // info!("GOT VALUE: {value:#?}"); values.push(value); val_str.clear(); }