Skip to content

Commit

Permalink
Fix compilation of thee OCI driver
Browse files Browse the repository at this point in the history
Amends change befd198

Change-Id: I11cc116d31fa1f71acd9579e60a6b265811def1e
Reviewed-by: Samuel Gaist <[email protected]>
  • Loading branch information
laknoll committed Apr 24, 2020
1 parent 43031d9 commit 9260662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/sqldrivers/oci/qsql_oci.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9260662

Please sign in to comment.