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

Error registering SQLite.regexp on Apple M1 #282

Closed
joshday opened this issue Jan 18, 2022 · 1 comment
Closed

Error registering SQLite.regexp on Apple M1 #282

joshday opened this issue Jan 18, 2022 · 1 comment

Comments

@joshday
Copy link

joshday commented Jan 18, 2022

In Julia 1.7.1, SQLite.jl 1.3.0:

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

julia> SQLite.@register db SQLite.regexp
ERROR: cfunction: closures are not supported on this platform
Stacktrace:
 [1] register(db::SQLite.DB, func::Function; nargs::Int64, name::String, isdeterm::Bool)
   @ SQLite ~/.julia/packages/SQLite/5DdLp/src/UDF.jl:216
 [2] register(db::SQLite.DB, func::Function)
   @ SQLite ~/.julia/packages/SQLite/5DdLp/src/UDF.jl:209
 [3] top-level scope
   @ REPL[11]:1
@quinnj
Copy link
Member

quinnj commented Oct 6, 2022

Should be fixed now

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

2 participants