stop using undocumented broken sqlite function

Fixes #791
// FREEBIE