Skip to content
Permalink
Browse files
Fix: don't mix Decimal and Double in one batch (HANA)
  • Loading branch information
mrylov authored and nyalldawson committed May 17, 2021
1 parent 08a21d1 commit 55bb8729324e84d8fb3cefddcb5acc9620ff5df1
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/hana/qgshanaprovider.cpp
@@ -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();

0 comments on commit 55bb872

Please sign in to comment.