Skip to content

Commit

Permalink
Merge pull request #37 from queryverse/create-pull-request/patch
Browse files Browse the repository at this point in the history
[AUTO] Format files using DocumentFormat
  • Loading branch information
bramtayl authored Sep 13, 2020
2 parents 8bcd162 + 8a85766 commit d06bc0b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions coverage/submit.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
submit(
filter(
let prefix = joinpath(pwd(), "src", "")
coverage -> startswith(coverage.filename, prefix)
end,
coverage -> startswith(coverage.filename, prefix)
end,
readfolder(".")
)
)
Expand Down
4 changes: 2 additions & 2 deletions src/iterate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ function getiterator(source_code::SourceCode)
handle = statement.handle
schema = ntuple(
let handle = handle
column_number -> name_and_type(handle, column_number)
end,
column_number -> name_and_type(handle, column_number)
end,
sqlite3_column_count(handle)
)
SQLiteCursor{NamedTuple{Tuple(map(first, schema)),Tuple{map(second, schema)...}}}(statement, Ref(status), Ref(0))
Expand Down
4 changes: 2 additions & 2 deletions src/translate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ end
function translate_default(location, function_type, SQL_call)
result = :(
function translate_call($function_type, arguments...; _primary=true)
$SQLExpression($SQL_call, $map(
$SQLExpression($SQL_call, $map(
argument -> $translate(argument; _primary=_primary),
arguments
)...)
end
end
)
result.args[2].args[1] = location
result
Expand Down

0 comments on commit d06bc0b

Please sign in to comment.