SQLite Forum

Bug report: Complex CTE generates segmentation fault depending on the order of joined tables in its body
Login
Wow, that’s scary!

I’d never have thought a vtable ‘estimatedCost’ influenced correctness,  
with one value yielding an infinite loop, and another being fine.