Fixing error with reading Time fields by qibase sql driver.
Change-Id: I8b874d2fbf54d0a2dcd6eea13f5b6d7405f6e663 Reviewed-by: Mark Brand <mabrand@mabrand.nl>
This commit is contained in:
parent
eb926dc31f
commit
7672e1a8eb
@ -251,7 +251,7 @@ static ISC_TIME toTime(const QTime &t)
|
||||
|
||||
static QTime fromTime(char *buffer)
|
||||
{
|
||||
QTime t;
|
||||
QTime t(0, 0);
|
||||
// have to demangle the structure ourselves because isc_decode_time
|
||||
// strips the msecs
|
||||
t = t.addMSecs(int((*(ISC_TIME*)buffer) / 10));
|
||||
|
Loading…
Reference in New Issue
Block a user