In the name resolver when SQLITE_ALLOW_ROWID_IN_INDEX is enabled, if there
are multiple views that might resolve to the "rowid" but only one real table, then use that one real table and ignore the views. FossilOrigin-Name: 8fcea4cdfc89dd78eca5e7f62aa31aff0e296f41e79349d3af1cc3a2bc4d77c6
This commit is contained in:
+1
-1
@@ -351,7 +351,7 @@ do_catchsql_test 5.30 {
|
||||
SELECT * FROM (t1 NATURAL JOIN pragma_table_xinfo('t1_a') NATURAL JOIN t3) t1
|
||||
NATURAL JOIN t2 NATURAL JOIN t3
|
||||
WHERE rowid ISNULL>0 AND 0%y;
|
||||
} {1 {no such column: rowid}}
|
||||
} {/1 {no such column: [a-z]+}/}
|
||||
}
|
||||
|
||||
reset_db
|
||||
|
||||
Reference in New Issue
Block a user