Skip to content

Commit

Permalink
Bump
Browse files Browse the repository at this point in the history
  • Loading branch information
cedretaber committed May 1, 2024
1 parent 23a441e commit 468e183
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions examples/dl2u3.dl
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
source x('A':int, 'B':string).
source y('A':int, 'B':string).

-x(A, B) :- A = 1, x(A, B).
+x(A, B) :- A <> 1, x(A, B).
+y(A, B) :- A <> 2, A <> 3, +x(A, B), y(A, B).
4 changes: 3 additions & 1 deletion src/ast2sql.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1781,7 +1781,9 @@ exception TempError of error
let get_column_names_from_table ~(error_detail : error_detail) (table_env : table_environment) (table : table_name) : (column_name list, error) result =
let open ResultMonad in
match table_env |> TableEnv.find_opt table with
| None -> raise (TempError (UnknownTable { table; error_detail }))
| None ->
Printf.printf "table: %s\n" table;
raise (TempError (UnknownTable { table; error_detail }))
| Some cols -> return cols


Expand Down

0 comments on commit 468e183

Please sign in to comment.