quote QUuid values
Task-number: QTBUG-44480 Change-Id: I125ab913c867758d958a2774ad125533d6a07a83 Reviewed-by: Evgeniy Fominov <fm@stilsoft.ru> Reviewed-by: Mark Brand <mabrand@mabrand.nl>
This commit is contained in:
parent
d1ce29557c
commit
34014406ba
@ -1320,6 +1320,9 @@ QString QPSQLDriver::formatValue(const QSqlField &field, bool trimStrings) const
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case QVariant::Uuid:
|
||||||
|
r = QLatin1Char('\'') + field.value().toString() + QLatin1Char('\'');
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
r = QSqlDriver::formatValue(field, trimStrings);
|
r = QSqlDriver::formatValue(field, trimStrings);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user