Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current Julia master complains about usage of kwargs.data in DBInterface #39

Closed
xitology opened this issue May 10, 2021 · 0 comments
Closed

Comments

@xitology
Copy link

Under current Julia master, calling DBInterface.execute() triggers a warning on the use of kwargs.data:

julia> versioninfo()
Julia Version 1.7.0-DEV.1079
Commit e4f79b7167* (2021-05-10 15:38 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: Intel(R) Core(TM) i7-7600U CPU @ 2.80GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, skylake)
Environment:
  JULIA_EDITOR = gvim

julia> using SQLite

julia> conn = SQLite.DB()
SQLite.DB(":memory:")

julia> DBInterface.execute(conn, "SELECT 42")
┌ Warning: use values(kwargs) and keys(kwargs) instead of kwargs.data and kwargs.itr
│   caller = #execute#2 at DBInterface.jl:144 [inlined]
└ @ Core ~/.julia/packages/DBInterface/JigqR/src/DBInterface.jl:144
SQLite.Query(SQLite.Stmt(SQLite.DB(":memory:"), 1), Base.RefValue{Int32}(100), [Symbol("42")], Type[Union{Missing, Int64}], Dict(Symbol("42") => 1))

The warning was introduced in JuliaLang/julia#39448.

@quinnj quinnj closed this as completed in b328917 Jun 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant