qt5base-lts/tests/auto/sql
Edward Welbourne 78eac57f3d Check for null driver() before trying to exec()
QSqlQuery::exec() took for granted that it can dereference driver(),
which should be true for all sane usage; however, it should not crash
if used misguidedly. Added regression test, based on bug report's
reproducer, which crashes without the fix.

Fixes: QTBUG-100037
Pick-to: 6.3 6.2 5.15 5.12
Change-Id: I94600bc60f89e82a1121b418144006a683921a38
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
2022-01-25 16:18:35 +01:00
..
kernel Check for null driver() before trying to exec() 2022-01-25 16:18:35 +01:00
models QSqlTableModel::orderByClause(): Quote the table name 2021-05-03 14:10:36 +00:00
CMakeLists.txt Regenerate some of the test projects that do SUBDIRS += foo 2019-08-07 11:55:38 +00:00