qt5base-lts/src
Andy Shaw 461ef575bc Always escape the table names when creating the SQL statement
Since some databases are case sensitive if part of the query is quoted,
then we should ensure that all instances of the table name are escaped
unless the test is delibrately testing the non-escaped case.

As a result, this commit also removes some expected failures pertaining
to PostgreSQL and also adds an entry to the list of tables being dropped
when a test is finished.

[ChangeLog][Sql][PostgreSQL] QSqlDatabase is now stricter about table
names when used with record() and primaryIndex(). If the tablename was
not quoted when it was created, then the table name passed to record()
and primaryIndex() needs to be in lower case so that PostgreSQL is
able to find it.

Fixes: QTBUG-65788
Change-Id: Id1f54cb66b761c39edf858501b730ede7eec1fd3
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2019-01-23 20:07:09 +00:00
..
3rdparty Merge remote-tracking branch 'origin/5.12' into dev 2019-01-21 13:03:09 +01:00
android Android: Set minimum supported version to android-21 2019-01-23 15:21:56 +00:00
angle configure: detect fxc.exe more thoroughly 2018-12-17 21:29:11 +00:00
concurrent Doc: Fix typo and grammar issues 2018-07-09 17:00:19 +00:00
corelib QFile/QFileInfo: mark readLink() as deprecated 2019-01-23 18:49:15 +00:00
dbus Use Q_DISABLE_COPY_MOVE for private classes 2018-12-12 07:23:54 +00:00
gui QDrag: mark QDrag::start() as deprecated 2019-01-23 18:49:08 +00:00
network Add class QOcspResponse, providing a bit more details 2019-01-23 17:02:40 +00:00
opengl Merge remote-tracking branch 'origin/5.12' into dev 2019-01-04 07:33:14 +01:00
openglextensions QtOpenGLExtensions: Unify license headers 2019-01-11 11:06:25 +00:00
platformheaders Windows: Add a default setting for hasBorderInFullScreen 2018-11-24 09:11:21 +00:00
platformsupport Android: Set minimum supported version to android-21 2019-01-23 15:21:56 +00:00
plugins Always escape the table names when creating the SQL statement 2019-01-23 20:07:09 +00:00
printsupport Merge remote-tracking branch 'origin/5.12' into dev 2019-01-04 07:33:14 +01:00
sql Always escape the table names when creating the SQL statement 2019-01-23 20:07:09 +00:00
testlib Merge remote-tracking branch 'origin/5.12' into dev 2019-01-21 13:03:09 +01:00
tools uic: Fix broken icon code generation 2019-01-23 17:06:59 +00:00
widgets QDrag: mark QDrag::start() as deprecated 2019-01-23 18:49:08 +00:00
winmain Use msvc qmake scope where appropriate 2018-11-22 14:16:52 +00:00
xml Remove QRegExp dependency from QtXml 2018-12-14 07:52:39 +00:00
src.pro Move androiddeployqt to qtbase 2018-06-21 11:08:57 +00:00