mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-08 14:02:16 +03:00
Fix eponymous virtual tables so that they do not automatically make the first
column the rowid. Enhance the generate_series virtual table to support rowid. FossilOrigin-Name: a325a08599759471047e234ef9cfcc3cb110aafd
This commit is contained in:
@@ -1120,6 +1120,7 @@ int sqlite3VtabEponymousTableInit(Parse *pParse, Module *pMod){
|
||||
pTab->pSchema = db->aDb[0].pSchema;
|
||||
pTab->tabFlags |= TF_Virtual;
|
||||
pTab->nModuleArg = 0;
|
||||
pTab->iPKey = -1;
|
||||
addModuleArgument(db, pTab, pTab->zName);
|
||||
addModuleArgument(db, pTab, 0);
|
||||
addModuleArgument(db, pTab, pTab->zName);
|
||||
|
Reference in New Issue
Block a user