Skip to content

Commit

Permalink
fix MySQL reflection
Browse files Browse the repository at this point in the history
  • Loading branch information
aplavin authored and xitology committed Sep 22, 2024
1 parent bb19ed5 commit 785803f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reflect.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const duckdb_reflect_clause =
:column => (:c, :column_name))
const mysql_reflect_clause =
FROM(:c => (:information_schema, :columns)) |>
WHERE(FUN("=", (:c, :table_schema), FUN(:coalesce, VAR(:schema), FUN("DATABASE ")))) |>
WHERE(FUN("=", (:c, :table_schema), FUN(:coalesce, VAR(:schema), FUN("DATABASE")))) |>
ORDER((:c, :table_schema), (:c, :table_name), (:c, :ordinal_position)) |>
SELECT(:schema => (:c, :table_schema),
:name => (:c, :table_name),
Expand Down

0 comments on commit 785803f

Please sign in to comment.