summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-18 12:04:26 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-18 15:18:08 +0000
commit4a030f1b8276ef7f2fa9cdb315ffe7873c5ee3e8 (patch)
tree577353bf4ff8c0e7f3b4545024eeeadf175b689b /connectivity
parent21211c1ec1b67ddd10722963866617cb3fd37305 (diff)
coverity#984081 Uninitialized scalar field
Change-Id: I076439b3f1f6766f7215ed4342abf97358b09fef
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/postgresql/pq_preparedstatement.cxx16
1 files changed, 9 insertions, 7 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_preparedstatement.cxx b/connectivity/source/drivers/postgresql/pq_preparedstatement.cxx
index af99b4b6f77c..6c1d6ce0a78a 100644
--- a/connectivity/source/drivers/postgresql/pq_preparedstatement.cxx
+++ b/connectivity/source/drivers/postgresql/pq_preparedstatement.cxx
@@ -169,13 +169,15 @@ PreparedStatement::PreparedStatement(
const Reference< XConnection > & conn,
struct ConnectionSettings *pSettings,
const OString & stmt )
- : OComponentHelper( refMutex->mutex ),
- OPropertySetHelper( OComponentHelper::rBHelper ),
- m_connection( conn ),
- m_pSettings( pSettings ),
- m_stmt( stmt ),
- m_refMutex( refMutex ),
- m_lastOidInserted( InvalidOid )
+ : OComponentHelper(refMutex->mutex)
+ , OPropertySetHelper(OComponentHelper::rBHelper)
+ , m_connection(conn)
+ , m_pSettings(pSettings)
+ , m_stmt(stmt)
+ , m_refMutex(refMutex)
+ , m_multipleResultAvailable(false)
+ , m_multipleResultUpdateCount(0)
+ , m_lastOidInserted( InvalidOid )
{
m_props[PREPARED_STATEMENT_QUERY_TIME_OUT] = makeAny( (sal_Int32)0 );
m_props[PREPARED_STATEMENT_MAX_ROWS] = makeAny( (sal_Int32)0 );