From 9260662cb1d8f4eb27afa159025c1feebe1ef286 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Wed, 22 Apr 2020 17:16:52 +0200 Subject: [PATCH] Fix compilation of thee OCI driver Amends change befd198c15b7a2b95f539372d2557063b6b397a6 Change-Id: I11cc116d31fa1f71acd9579e60a6b265811def1e Reviewed-by: Samuel Gaist --- src/plugins/sqldrivers/oci/qsql_oci.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/sqldrivers/oci/qsql_oci.cpp b/src/plugins/sqldrivers/oci/qsql_oci.cpp index 66ee8907343..cf50942c692 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;