This commit is contained in:
Mirotin Artem
2026-06-15 10:40:45 +03:00
parent e82ce634d6
commit 869d8517a0
2 changed files with 11 additions and 3 deletions
+3 -1
View File
@@ -381,7 +381,9 @@ fn header_belongs_to(header: &str, table_name: &str) -> bool {
};
let body = body.trim();
body == table_name
|| body.strip_prefix(table_name).is_some_and(|rest| rest.starts_with('.'))
|| body
.strip_prefix(table_name)
.is_some_and(|rest| rest.starts_with('.'))
}
/// Locate the first contiguous byte range covering `table_name` and the nested