summaryrefslogtreecommitdiffstats
path: root/tests/auto/qtessellator
diff options
context:
space:
mode:
authorDaNiMoTh <jjdanimoth@gmail.com>2011-07-19 04:57:07 (GMT)
committerCharles Yin <charles.yin@nokia.com>2011-07-19 04:57:07 (GMT)
commitc4280dbd9bb37cca21d007f5f8b9217f80b44043 (patch)
treeca35cfc7b1dde96027df56afa5d157ad540f7d0a /tests/auto/qtessellator
parent2b13b3d367cb6cda48ab9183d9ad5b2eee09e129 (diff)
downloadQt-c4280dbd9bb37cca21d007f5f8b9217f80b44043.zip
Qt-c4280dbd9bb37cca21d007f5f8b9217f80b44043.tar.gz
Qt-c4280dbd9bb37cca21d007f5f8b9217f80b44043.tar.bz2
Fixed behavior on NULL foreign keys
Instead of using a simple INNER JOIN, like: SELECT a,b,rel.c FROM table1, table2 WHERE (table1.smthing = table2.smthing) which doesn't show row where foreign keys are NULL, allow use of LEFT JOIN like: SELECT a,b,rel.c FROM table1 LEFT JOIN table2 ON table1.smthing = table2.smthing The trick works also for multi-relational tables. Just remember to use the new API setJoinMode. Signed-off-by: DaNiMoTh <jjdanimoth@gmail.com> Change-Id: I349f9418e4859923977942add59872b000cac2c5 Task-number:QTBUG-8217 Reviewed-by:Michael Goddard Reviewed-by:Charles Yin Merge-request: 2576 Reviewed-by: Charles Yin <charles.yin@nokia.com>
Diffstat (limited to 'tests/auto/qtessellator')
0 files changed, 0 insertions, 0 deletions