diff options
author | Lars Knoll <lars.knoll@qt.io> | 2020-04-22 17:16:52 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2020-04-24 08:42:12 +0200 |
commit | 9260662cb1d8f4eb27afa159025c1feebe1ef286 (patch) | |
tree | 2cee8aec61975dd0a6c87736a867a178553eb4c8 /src | |
parent | 43031d98fc2864794d6486d03778529330b024f0 (diff) |
Fix compilation of thee OCI driver
Amends change befd198c15b7a2b95f539372d2557063b6b397a6
Change-Id: I11cc116d31fa1f71acd9579e60a6b265811def1e
Reviewed-by: Samuel Gaist <samuel.gaist@idiap.ch>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/sqldrivers/oci/qsql_oci.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/sqldrivers/oci/qsql_oci.cpp b/src/plugins/sqldrivers/oci/qsql_oci.cpp index 66ee890734..cf50942c69 100644 --- a/src/plugins/sqldrivers/oci/qsql_oci.cpp +++ b/src/plugins/sqldrivers/oci/qsql_oci.cpp @@ -2340,7 +2340,7 @@ bool QOCIDriver::open(const QString & db, #if QT_CONFIG(regularexpression) auto match = QRegularExpression(QLatin1String("([0-9]+)\\.[0-9\\.]+[0-9]")).match(versionStr); if (match.hasMatch()) - d->serverVersion = vers.captured(1).toInt(); + d->serverVersion = match.captured(1).toInt(); #endif if (d->serverVersion == 0) d->serverVersion = -1; |