sqldrivers: Fix typo in error message
Pick-to: 5.15 6.2 Change-Id: I6354275d04ee9474d4baeaaf0b14a52aca3dd70c Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
parent
723a2c34a5
commit
2f2fdc418d
@ -798,7 +798,7 @@ bool QIBaseResultPrivate::writeArray(int column, const QList<QVariant> &list)
|
||||
ba.resize(int(bufLen));
|
||||
|
||||
if (list.size() > arraySize) {
|
||||
error = QLatin1String("Array size missmatch: size of %1 is %2, size of provided list is %3");
|
||||
error = QLatin1String("Array size mismatch: size of %1 is %2, size of provided list is %3");
|
||||
error = error.arg(QLatin1String(sqlname)).arg(arraySize).arg(list.size());
|
||||
q->setLastError(QSqlError(error, QLatin1String(""), QSqlError::StatementError));
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user