Fix a bug in fts3 causing it to return SQLITE_NOMEM when NEAR, OR and some auxiliary functions were used together. Also a segfault in vtab.c that could follow an OOM condition.

FossilOrigin-Name: 33f4f9817e8b3cb97ce02a4c49bd586332da37b2
5 files changed