Skip to content

Commit ca6f50d

Browse files
committed
Use inbounds macro in bind.
1 parent 53bf7ba commit ca6f50d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SQLite.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ function Base.bind(stmt::SQLiteStmt, values::Vector)
9898
nparams = sqlite3_bind_parameter_count(stmt.handle)
9999
@assert nparams == length(values) "you must provide values for all placeholders"
100100
for i in 1:nparams
101-
bind(stmt, i, values[i])
101+
@inbounds bind(stmt, i, values[i])
102102
end
103103
end
104104
# bind a row to named parameters

0 commit comments

Comments
 (0)