@@ -707,7 +707,7 @@ fn process_event(event: &Event, mut state: &mut State) -> Step {
707
707
if key == request {
708
708
if let Ok ( value) = state. reader . decode ( & attr. value ) {
709
709
if !table. columns [ i] . value . borrow ( ) . is_empty ( ) {
710
- if !allow_iteration ( & table. columns [ i] , & state. settings ) { return Step :: Next ; }
710
+ if !allow_iteration ( & table. columns [ i] , & state. settings ) { break ; }
711
711
if let Some ( "last" ) = table. columns [ i] . aggr { table. columns [ i] . value . borrow_mut ( ) . clear ( ) ; }
712
712
}
713
713
if i == 0 { table. lastid . borrow_mut ( ) . push_str ( value) ; }
@@ -726,7 +726,7 @@ fn process_event(event: &Event, mut state: &mut State) -> Step {
726
726
if table. columns [ i] . value . borrow ( ) . is_empty ( ) && !state. settings . hush_warning {
727
727
eprintln ! ( "Warning: column {} requested attribute {} not found" , table. columns[ i] . name, request) ;
728
728
}
729
- return Step :: Next ;
729
+ continue ;
730
730
}
731
731
// Set the appropriate convert flag for the following data in case the 'conv' option is present
732
732
match table. columns [ i] . convert {
@@ -735,7 +735,6 @@ fn process_event(event: &Event, mut state: &mut State) -> Step {
735
735
Some ( "gml-to-ewkb" ) => state. gmltoewkb = true ,
736
736
Some ( _) => ( ) ,
737
737
}
738
- return Step :: Next ;
739
738
}
740
739
}
741
740
}
@@ -760,7 +759,7 @@ fn process_event(event: &Event, mut state: &mut State) -> Step {
760
759
}
761
760
for i in 0 ..table. columns . len ( ) {
762
761
if state. path == table. columns [ i] . path {
763
- if table. columns [ i] . attr . is_some ( ) || table. columns [ i] . serial . is_some ( ) { return Step :: Next ; }
762
+ if table. columns [ i] . attr . is_some ( ) || table. columns [ i] . serial . is_some ( ) { continue ; }
764
763
if !table. columns [ i] . value . borrow ( ) . is_empty ( ) {
765
764
if !allow_iteration ( & table. columns [ i] , & state. settings ) { return Step :: Next ; }
766
765
if let Some ( "last" ) = table. columns [ i] . aggr { table. columns [ i] . value . borrow_mut ( ) . clear ( ) ; }
0 commit comments