Skip to content

Panic when ordering by number that refers to rowid or a view #3698

@LeMikaelF

Description

@LeMikaelF
turso> create table t(a);
turso> select rowid from t order by 1;
turso> create view v as select * from t;
turso> select rowid from v order by 1;

thread 'main' panicked at core/vdbe/builder.rs:813:32:
Cursor not found: CursorKey { table_reference_id: TableInternalId(2), index: None }

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions