3 ms·
Seems like it was particularly the lock upgrade path in the memdb vfs — so a little weird case that must have not been covered adequately. https://www.sqlite.o
by loeg 4y ago
Seems like it was particularly the lock upgrade path in the memdb vfs — so a little weird case that must have not been covered adequately.
https://www.sqlite.org/src/info/15f0be8a640e7bfa https://www.sqlite.org/src/info/15f0be8a640e7bfa
- deleted 4y ago[deleted]
- morelisp 4y agoI vaguely recall some variant of MC/DC coverage that also treats each bit in any bit flag checks as independent boolean conditions. It seems like there could be a similar variant that requires checking each value of such a "leveled" enum independently; if your enum says you can take on values 0-5 and the logic checks <= 2 and <= 5, nonetheless there should be a test case for 0, 1, 3, and 4.