Skip to content

Commit

Permalink
Fix: don't mix Decimal and Double in one batch (HANA)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrylov authored and nyalldawson committed May 17, 2021
1 parent 08a21d1 commit 55bb872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/hana/qgshanaprovider.cpp
Expand Up @@ -197,7 +197,7 @@ namespace
case SQLDataTypes::Numeric:
case SQLDataTypes::Decimal:
if ( isNull )
stmt->setDecimal( paramIndex, Decimal() );
stmt->setDouble( paramIndex, Double() );
else
{
double dvalue = value.toDouble();
Expand Down

0 comments on commit 55bb872

Please sign in to comment.