Skip to content

Update C API to 3.43.0 #334

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

Merged
merged 2 commits into from
Sep 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gen/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ Clang = "40e3b903-d033-50b4-a0cc-940c62c95e31"
SQLite_jll = "76ed43ae-9a5d-5a62-8c75-30186b810ce8"

[compat]
Clang = "0.16"
Clang = "0.17"
SQLite_jll = "3"
27 changes: 22 additions & 5 deletions src/capi.jl
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,13 @@ function sqlite3_stmt_isexplain(pStmt)
@ccall libsqlite.sqlite3_stmt_isexplain(pStmt::Ptr{sqlite3_stmt})::Cint
end

function sqlite3_stmt_explain(pStmt, eMode)
@ccall libsqlite.sqlite3_stmt_explain(
pStmt::Ptr{sqlite3_stmt},
eMode::Cint,
)::Cint
end

function sqlite3_stmt_busy(arg1)
@ccall libsqlite.sqlite3_stmt_busy(arg1::Ptr{sqlite3_stmt})::Cint
end
Expand Down Expand Up @@ -2147,11 +2154,11 @@ end

# Skipping MacroDefinition: SQLITE_EXTERN extern

const SQLITE_VERSION = "3.41.0"
const SQLITE_VERSION = "3.43.0"

const SQLITE_VERSION_NUMBER = 3041000
const SQLITE_VERSION_NUMBER = 3043000

const SQLITE_SOURCE_ID = "2023-02-21 18:09:37 05941c2a04037fc3ed2ffae11f5d2260706f89431f463518740f72ada350866d"
const SQLITE_SOURCE_ID = "2023-08-24 12:36:59 0f80b798b3f4b81a7bb4233c58294edd0f1156f36b6ecf5ab8e83631d468778c"

const SQLITE_OK = 0

Expand Down Expand Up @@ -2287,6 +2294,8 @@ const SQLITE_IOERR_DATA = SQLITE_IOERR | 32 << 8

const SQLITE_IOERR_CORRUPTFS = SQLITE_IOERR | 33 << 8

const SQLITE_IOERR_IN_PAGE = SQLITE_IOERR | 34 << 8

const SQLITE_LOCKED_SHAREDCACHE = SQLITE_LOCKED | 1 << 8

const SQLITE_LOCKED_VTAB = SQLITE_LOCKED | 2 << 8
Expand Down Expand Up @@ -2655,7 +2664,11 @@ const SQLITE_DBCONFIG_LEGACY_FILE_FORMAT = 1016

const SQLITE_DBCONFIG_TRUSTED_SCHEMA = 1017

const SQLITE_DBCONFIG_MAX = 1017
const SQLITE_DBCONFIG_STMT_SCANSTATUS = 1018

const SQLITE_DBCONFIG_REVERSE_SCANORDER = 1019

const SQLITE_DBCONFIG_MAX = 1019

const SQLITE_DENY = 1

Expand Down Expand Up @@ -2947,7 +2960,9 @@ const SQLITE_TESTCTRL_TUNE = 32

const SQLITE_TESTCTRL_LOGEST = 33

const SQLITE_TESTCTRL_LAST = 33
const SQLITE_TESTCTRL_USELONGDOUBLE = 34

const SQLITE_TESTCTRL_LAST = 34

const SQLITE_STATUS_MEMORY_USED = 0

Expand Down Expand Up @@ -3029,6 +3044,8 @@ const SQLITE_VTAB_INNOCUOUS = 2

const SQLITE_VTAB_DIRECTONLY = 3

const SQLITE_VTAB_USES_ALL_SCHEMAS = 4

const SQLITE_ROLLBACK = 1

const SQLITE_FAIL = 3
Expand Down