Re: [sqlite] inner vs. outer join inconsistency

2013-03-06 Thread Tom Matrix
Richard Hipp drh@... writes: On Sun, Mar 3, 2013 at 2:48 PM, Tom Matrix ratomatrix@... wrote: I’ve encountered a problem, which is hardly reproducable on arbitrary databases, therefore I attached one. A simple, reproducible test case for (what we think is) your problem can

Re: [sqlite] inner vs. outer join inconsistency

2013-03-06 Thread Tom Matrix
Richard Hipp drh@... writes: On Sun, Mar 3, 2013 at 2:48 PM, Tom Matrix ratomatrix@... wrote: The following query reports 18900080 rows (after some computation time): Is this the correct answer for the query below? Yes, it seems to be correct

Re: [sqlite] inner vs. outer join inconsistency

2013-03-06 Thread Tom Matrix
I would agree that no warning is needed for for columns that don't state any affinity, or for a non-affinity FK that refers to some PK with affinity. I tend to agree with OP that an explicitly text foreign key referring to an explicitly int primary key is probably worth a warning

Re: [sqlite] inner vs. outer join inconsistency

2013-03-05 Thread Tom Matrix
Could it be some of the features that SQLite doesn't support? http://www.sqlite.org/omitted.html /Patrik No, I think this problem is independent from those thing. Only basic SQL features are used. ___ sqlite-users mailing list

Re: [sqlite] inner vs. outer join inconsistency

2013-03-05 Thread Tom Matrix
First of all attachments are stripped out from this list, so nobody saw your database. Sorry for that. Now I created a shared folder so everyone has access and can take a look at it: https://docs.google.com/folder/d/0B7kiuyPBHpjqYm8wZmdNcGI3c1E/edit?usp=sharing It contains the database and the

Re: [sqlite] inner vs. outer join inconsistency

2013-03-05 Thread Tom Matrix
Can you send the database directly to me at drh@... please? It's already sent, and is also available in this shared folder: https://docs.google.com/folder/d/0B7kiuyPBHpjqYm8wZmdNcGI3c1E/edit?usp=sharing ___ sqlite-users mailing list

[sqlite] inner vs. outer join inconsistency

2013-03-04 Thread Tom Matrix
Hello, I’ve encountered a problem, which is hardly reproducable on arbitrary databases, therefore I attached one. The problem is that inner join omits the result on large datasets. But again, ’large’ does not necessarly refer simply the amount of data; I couldn’t reproduce it on different