Commit 150941a
committed
Fix two quick issues
First is allowing bind to take AbstractVector; this is needed for
DBInterface.executemany which passes a custom AbstractVector "view" type
for parameters.
Second is calling sqlite_reset before executing statements; this is
important for prepared statements because they may have been executed
before and never reset (they're usually reset by iterating results, but
we don't require users to fully consume cursor results).1 parent 70ac515 commit 150941a
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
| 309 | + | |
309 | 310 | | |
310 | 311 | | |
311 | 312 | | |
| |||
0 commit comments