Skip to content

cannot recognize virtual table when attach another database #5216

@includewins0ck2

Description

@includewins0ck2

Details

When two databases are attached, if one of them has a VIRTUAL table, then it will report an error that the virtual table cannot be recognized.

for example,I have two database
test1:CREATE TABLE t1 (
phone TEXT
);
CREATE VIRTUAL TABLE v USING fts5(src TEXT);
test2:
REATE TABLE t2 (
name TEXT
);
Now,When I attach test1 in test2,If I query select t2.* from t2,test1.t1; then returns normal,But if I query select t2.* from t2,test1.v, it will report an error, can't recognize the table : test1.v, while in the sqlite3.exe command line tool inside, is able to run normally

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions