QSql/IBase: fix compilation

Looks like the CI does not compile the IBase/Firebird plugin so this
compile error slipped through.

Change-Id: I2e20088e10baa91f2e1e5e2b5656dfb7bdf42896
Reviewed-by: Samuel Gaist <samuel.gaist@idiap.ch>
bb10
Christian Ehrlicher 2024-04-28 19:54:27 +02:00 committed by Ari Parkkila
parent b2c236792c
commit 922ec9093d
1 changed files with 1 additions and 0 deletions

View File

@ -1281,6 +1281,7 @@ bool QIBaseResult::gotoNext(QSqlCachedResult::ValueCache& row, int rowIdx)
const auto scale = d->sqlda->sqlvar[i].sqlscale;
row[idx] = applyScale(val, scale);
break;
}
case SQL_LONG:
if (d->sqlda->sqlvar[i].sqllen == 4) {
const auto val = *(qint32 *)buf;