From f56b4acca52de0a899ba6b76464661019f0e93f7 Mon Sep 17 00:00:00 2001 From: Aaron Kimbrell Date: Sat, 4 Nov 2023 19:34:50 -0500 Subject: [PATCH] Denote which table is currently being converted to help with debugging --- modules/fdb/examples/sqlite-to-fdb.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/fdb/examples/sqlite-to-fdb.rs b/modules/fdb/examples/sqlite-to-fdb.rs index fe4b9c7b..1f5e4873 100644 --- a/modules/fdb/examples/sqlite-to-fdb.rs +++ b/modules/fdb/examples/sqlite-to-fdb.rs @@ -156,6 +156,7 @@ fn convert_without_template( for table_name in table_names { let table_name = table_name?; + println!("Converting {}", table_name); // Query used for getting column info and the actual data let select_query = format!("select * from {}", &table_name); @@ -255,6 +256,7 @@ fn convert_with_template( for template_table in template_db.tables()?.iter() { let template_table = template_table?; let table_name = template_table.name(); + println!("Converting {}", table_name); // Find number of unique values in first column of source table let unique_key_count = conn.query_row::(