Commit dba1792
committed
let's call this progress on #321 but not a resolution. following up on investigation by @kpreisser I have changed the problematic overload of raw.sqlite3_prepare_v2() to call a different overload of same in the provider to avoid creating a span from a pointer. with this change, I can run the issue321 repro app at 20 iterations on net461 without a failure. so this seems to confirm with @kpreisser said, but now every case where I create a span from a pointer needs to be reviewed for this kind of lifetime issue.
1 parent 299ef4f commit dba1792
File tree
3 files changed
+8
-6
lines changed- src/SQLitePCLRaw.core
- test_nupkgs/issue321
3 files changed
+8
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
736 | 736 | | |
737 | 737 | | |
738 | 738 | | |
739 | | - | |
740 | | - | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
741 | 743 | | |
742 | 744 | | |
743 | 745 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| |||
0 commit comments