summaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorThiago A. Correa <thiago.correa@gmail.com>2012-07-13 17:28:18 (GMT)
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-08 06:58:03 (GMT)
commitd408593c1acbdde72b03e6a99816451224d7839d (patch)
treea53a01475a325dd7a0dfff3183d2c996f54552a0 /dist
parent7d94d08f91004e4c48904ca192c16c2c4cc129d0 (diff)
downloadQt-d408593c1acbdde72b03e6a99816451224d7839d.zip
Qt-d408593c1acbdde72b03e6a99816451224d7839d.tar.gz
Qt-d408593c1acbdde72b03e6a99816451224d7839d.tar.bz2
Fix error when inserting to tables with datetime fields with QODBC
SQL Server 10 introduced stricter rules for TIMESTAMP validation, making it necessary to specify the decimal digits. Other databases might do the same as well, so this patch introduces a check for the TIMESTAMP column size and adjusts the decimal digits parameter as needed. Task-number: QTBUG-2192 Change-Id: If6d798c6c928ebda75bc474e49a07fbbfbe5816c Reviewed-by: Mark Brand <mabrand@mabrand.nl> (cherry picked from qtbase/b8b79a0f37ec74fd5b4ad829e522a384ba3622ae)
Diffstat (limited to 'dist')
0 files changed, 0 insertions, 0 deletions