Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
4.8.x
-
None
-
7216387370203fc8f49d76cc2cb68bb5286c8dff
Description
I found a bug in MySQL driver: it inserts miliseconds part of QTime improperly. The reason of this bug is in src/sql/drivers/mysql/qsql_mysql.cpp:
line 866: myTime->second_part = time.msec();
should be: myTime->second_part = time.msec()*1000;
tested this fix, works for me.
Attachments
Issue Links
- duplicates
-
QTBUG-31124 MySQL incorrect sub-second precision
- Closed