Respect IgnoreMissing, which SQL does silently. Fixes barakmich/psql #10

This commit is contained in:
Barak Michener 2015-09-02 16:25:29 -04:00
parent fc6f7b3ea7
commit fb7e200551
2 changed files with 20 additions and 7 deletions

View file

@ -161,7 +161,10 @@ func Repl(h *graph.Handle, queryLanguage string, cfg *config.Config) error {
fmt.Printf("Error: not a valid quad: %v\n", err)
continue
}
h.QuadWriter.RemoveQuad(quad)
err = h.QuadWriter.RemoveQuad(quad)
if err != nil {
fmt.Printf("error deleting: %v\n", err)
}
continue
case "exit":