Fix the ".lint fkey" shell command for cases where the child key is also an
INTEGER PRIMARY KEY. FossilOrigin-Name: 48826b222c110a90996a84605318ea6b1e502b8c5129f4d561f8350dbdbcd264
This commit is contained in:
@@ -87,6 +87,12 @@ foreach {tn schema output} {
|
||||
CREATE INDEX 'y1_d_e_f' ON 'y1'('d' COLLATE rtrim, 'e' COLLATE nocase, 'f'); --> x1(c,b,a)
|
||||
}
|
||||
|
||||
9 {
|
||||
CREATE TABLE p1(a, b UNIQUE);
|
||||
CREATE TABLE c1(x INTEGER PRIMARY KEY REFERENCES p1(b));
|
||||
} {
|
||||
}
|
||||
|
||||
} {
|
||||
forcedelete test.db
|
||||
sqlite3 db test.db
|
||||
|
||||
Reference in New Issue
Block a user