Skip to content
Permalink
Browse files

Deprecate QSqlError constructor

  • Loading branch information
nyalldawson committed Feb 7, 2020
1 parent 6340fb5 commit 8b21a5baa6aa8d25c68345624d35b48120458b4a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/oracle/ocispatial/qsql_ocispatial.cpp
@@ -925,7 +925,7 @@ QSqlError qMakeError( const QString &errString, QSqlError::ErrorType type, OCIEr
ENTER
int errorCode = 0;
const QString oraErrorString = qOraWarn( err, &errorCode );
return QSqlError( errString, oraErrorString, type, errorCode );
return QSqlError( errString, oraErrorString, type, QString::number( errorCode ) );
}

QVariant::Type qDecodeOCIType( const QString &ocitype, QSql::NumericalPrecisionPolicy precisionPolicy )

0 comments on commit 8b21a5b

Please sign in to comment.
You can’t perform that action at this time.