1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-27 20:41:58 +03:00

Ensure fts4aux can handle a table name in single or double quotes as a constructor argument.

FossilOrigin-Name: 929d62e496bb36a3ee0e19ec4609329d79aaeddc
This commit is contained in:
dan
2011-02-05 15:47:12 +00:00
parent bb7e77c758
commit 2fe88b7ca4
4 changed files with 31 additions and 9 deletions

View File

@ -97,6 +97,7 @@ static int fts3auxConnectMethod(
memcpy((char *)p->pFts3Tab->zDb, zDb, nDb);
memcpy((char *)p->pFts3Tab->zName, zFts3, nFts3);
sqlite3Fts3Dequote((char *)p->pFts3Tab->zName);
*ppVtab = (sqlite3_vtab *)p;
return SQLITE_OK;