Commit 14b1d9b
authored
feature to move checkpoint callback if any frames is written (tursodatabase#2054)
Currently we report a checkpoint is finished only when `mxSafeFrame ==
mxFrame` in wal
it is useful to have finish callback to be triggered in case any work
moving frames was accomplished.File tree
5 files changed
+31
-8
lines changed- libsql-ffi
- bundled/src
- libsql-sqlite3/src
5 files changed
+31
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
| |||
37 | 40 | | |
38 | 41 | | |
39 | 42 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
46 | 49 | | |
47 | 50 | | |
| 51 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
279 | 282 | | |
280 | 283 | | |
281 | 284 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67677 | 67677 | | |
67678 | 67678 | | |
67679 | 67679 | | |
| 67680 | + | |
| 67681 | + | |
| 67682 | + | |
| 67683 | + | |
| 67684 | + | |
| 67685 | + | |
67680 | 67686 | | |
| 67687 | + | |
67681 | 67688 | | |
67682 | 67689 | | |
67683 | 67690 | | |
| 67691 | + | |
67684 | 67692 | | |
67685 | 67693 | | |
67686 | 67694 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2130 | 2130 | | |
2131 | 2131 | | |
2132 | 2132 | | |
| 2133 | + | |
| 2134 | + | |
| 2135 | + | |
| 2136 | + | |
| 2137 | + | |
| 2138 | + | |
2133 | 2139 | | |
| 2140 | + | |
2134 | 2141 | | |
2135 | 2142 | | |
2136 | 2143 | | |
| 2144 | + | |
2137 | 2145 | | |
2138 | 2146 | | |
2139 | 2147 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
0 commit comments