Re: [sqlite] Foreign key lint has issues with without rowid
Thanks for reporting this. Now fixed here: http://www.sqlite.org/src/info/5771b1d611b3562e Dan. On 12/01/2017 02:02 AM, David Raymond wrote: I’m using the CLI’s .lint fkey-indexes command, and it appears to be having issues with without rowid tables. A low priority thing to look into when someone's bored. sqlite> create table parent (id integer primary key); sqlite> create table child1 (id integer primary key, parentID int references parent); sqlite> .lint fkey-indexes CREATE INDEX 'child1_parentID' ON 'child1'('parentID'); --> parent(id) sqlite> create index idx_child1 on child1 (parentID); sqlite> .lint fkey-indexes sqlite> create table child2 (id int primary key, parentID int references parent) without rowid; sqlite> .lint fkey-indexes no such column: rowid sqlite> create index idx_child2 on child2 (parentID); sqlite> .lint fkey-indexes no such column: rowid sqlite> ___ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users ___ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] Foreign key lint has issues with without rowid
3.21.0 -Original Message- From: sqlite-users [mailto:sqlite-users-boun...@mailinglists.sqlite.org] On Behalf Of Simon Slavin Sent: Thursday, November 30, 2017 2:06 PM To: SQLite mailing list Subject: Re: [sqlite] Foreign key lint has issues with without rowid On 30 Nov 2017, at 7:02pm, David Raymond <david.raym...@tomtom.com> wrote: > I’m using the CLI’s .lint fkey-indexes command, and it appears to be having > issues with without rowid tables. A low priority thing to look into when > someone's bored. Please tell us which version of SQLite you’re using. You should see it when the command line tool starts up. Simon. ___ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users ___ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] Foreign key lint has issues with without rowid
On 30 Nov 2017, at 7:02pm, David Raymondwrote: > I’m using the CLI’s .lint fkey-indexes command, and it appears to be having > issues with without rowid tables. A low priority thing to look into when > someone's bored. Please tell us which version of SQLite you’re using. You should see it when the command line tool starts up. Simon. ___ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
[sqlite] Foreign key lint has issues with without rowid
I’m using the CLI’s .lint fkey-indexes command, and it appears to be having issues with without rowid tables. A low priority thing to look into when someone's bored. sqlite> create table parent (id integer primary key); sqlite> create table child1 (id integer primary key, parentID int references parent); sqlite> .lint fkey-indexes CREATE INDEX 'child1_parentID' ON 'child1'('parentID'); --> parent(id) sqlite> create index idx_child1 on child1 (parentID); sqlite> .lint fkey-indexes sqlite> create table child2 (id int primary key, parentID int references parent) without rowid; sqlite> .lint fkey-indexes no such column: rowid sqlite> create index idx_child2 on child2 (parentID); sqlite> .lint fkey-indexes no such column: rowid sqlite> ___ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users