Mercurial > gemma
comparison pkg/imports/dsec.go @ 4192:095731c880b4
Delete section import: Fixed swapped arguments for tracking.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 12 Aug 2019 14:39:55 +0200 |
parents | a1cc14c9ce69 |
children | 3dbe05de54ea |
comparison
equal
deleted
inserted
replaced
4191:a1cc14c9ce69 | 4192:095731c880b4 |
---|---|
99 | 99 |
100 if _, err := tx.ExecContext( | 100 if _, err := tx.ExecContext( |
101 ctx, | 101 ctx, |
102 trackImportDeletionSQL, | 102 trackImportDeletionSQL, |
103 importID, | 103 importID, |
104 true, | |
105 "waterway.sections", | 104 "waterway.sections", |
106 dsec.ID, | 105 dsec.ID, |
106 true, | |
107 ); err != nil { | 107 ); err != nil { |
108 return nil, err | 108 return nil, err |
109 } | 109 } |
110 | 110 |
111 if err := tx.Commit(); err != nil { | 111 if err := tx.Commit(); err != nil { |