SQL/OCI: fix compilation
Fix compilation error introduced with
917b4d3802
and add a missing override
Pick-to: 6.4
Fixes: QTBUG-107544
Change-Id: I53571a0a113dc0f1e65f8773e66c02c1764739ee
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Sze Howe Koh <szehowe.koh@gmail.com>
This commit is contained in:
parent
c017ef8bda
commit
c3dccfef22
@ -17,7 +17,7 @@ class QOCIDriverPlugin : public QSqlDriverPlugin
|
||||
public:
|
||||
QOCIDriverPlugin();
|
||||
|
||||
QSqlDriver* create(const QString &);
|
||||
QSqlDriver* create(const QString &) override;
|
||||
};
|
||||
|
||||
QOCIDriverPlugin::QOCIDriverPlugin()
|
||||
|
@ -426,6 +426,7 @@ int QOCIResultPrivate::bindValue(OCIStmt *sql, OCIBind **hbnd, OCIError *err, in
|
||||
break;
|
||||
}
|
||||
} // fall through for OUT values
|
||||
Q_FALLTHROUGH();
|
||||
default: {
|
||||
if (val.typeId() >= QMetaType::User) {
|
||||
if (val.canConvert<QOCIRowIdPointer>() && !isOutValue(pos)) {
|
||||
@ -2434,7 +2435,7 @@ static QString make_where_clause(const QString &user, Expression e)
|
||||
"WMSYS",
|
||||
};
|
||||
static const char joinC[][4] = { "or" , "and" };
|
||||
static constexpr QLatin1Char bang[] = { u' ', u'!' };
|
||||
static constexpr char16_t bang[] = { u' ', u'!' };
|
||||
|
||||
const QLatin1StringView join(joinC[e]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user