summaryrefslogtreecommitdiffstats
path: root/doc/src
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@digia.com>2011-11-10 07:56:57 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-17 05:28:28 +0100
commit90128ba8778327a13f4eac2809d9db783f33690c (patch)
tree4be86ff36d6dcf8d28956a292053814c4c918547 /doc/src
parent9aa51821e446152517aa3022bcf7ebbcc7d3d888 (diff)
Ensure that QSqlDatabase::database() is still thread-safe
QSqlDatabase::database() is documented to be thread-safe and when the driver is queried for the numericalPrecisionPolicy set then it can comprimise the thread-safety. Since the driver itself (if one is set) will be queried for the numericalPrecisionPolicy when numericalPrecisionPolicy() is called on the QSqlDatabase then we can have it fallback to the default instead rather than taking the driver's own setting. Task-number: QTBUG-13423 (cherry picked from commit e7e9fca6c0cd1d0869029fc6e9d7605234ee5bb2) Change-Id: Ie7e9fca6c0cd1d0869029fc6e9d7605234ee5bb2 Reviewed-by: Yunqiao Yin <charles.yin@nokia.com>
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions