The upstream bug report seems to be <http://www.sqlite.org/cvstrac/tktview?tn=3236>. It is marked as a duplicate of another ticket which doesn't seem as related, but I'm sure the SQLite contributor who marked it as such is more familiar with the codebase than I. In any case, applying the diff in the revision linked from that ticket to the 3.5.9 source results in a SQLite which does not exhibit this particular bug.
-- Packaged version of SQLite (3.5.9) returns incorrect results from SELECT DISTINCT query https://bugs.launchpad.net/bugs/296390 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs