diff options
Diffstat (limited to 'connectivity/source/drivers/postgresql/pq_preparedstatement.cxx')
-rw-r--r-- | connectivity/source/drivers/postgresql/pq_preparedstatement.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_preparedstatement.cxx b/connectivity/source/drivers/postgresql/pq_preparedstatement.cxx index 6e624ac1316f..27fe0bd1a392 100644 --- a/connectivity/source/drivers/postgresql/pq_preparedstatement.cxx +++ b/connectivity/source/drivers/postgresql/pq_preparedstatement.cxx @@ -297,7 +297,7 @@ void PreparedStatement::close( ) throw (SQLException, RuntimeException, std::ex Reference< XCloseable > resultSet; { MutexGuard guard( m_refMutex->mutex ); - m_pSettings = 0; + m_pSettings = nullptr; r = m_connection; m_connection.clear(); @@ -725,7 +725,7 @@ void PreparedStatement::setArray( const Reference< XArray >& x ) throw (SQLException, RuntimeException, std::exception) { - setString( parameterIndex, array2String( x->getArray( 0 ) ) ); + setString( parameterIndex, array2String( x->getArray( nullptr ) ) ); } void PreparedStatement::clearParameters( ) |