diff options
Diffstat (limited to 'connectivity/source/drivers/postgresql/pq_statement.cxx')
-rw-r--r-- | connectivity/source/drivers/postgresql/pq_statement.cxx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_statement.cxx b/connectivity/source/drivers/postgresql/pq_statement.cxx index bff2a1967340..8a0056a7ecdc 100644 --- a/connectivity/source/drivers/postgresql/pq_statement.cxx +++ b/connectivity/source/drivers/postgresql/pq_statement.cxx @@ -242,17 +242,11 @@ void Statement::close( ) throw (SQLException, RuntimeException, std::exception) } void Statement::raiseSQLException( - const OUString & sql, const char * errorMsg, const char *errorType ) + const OUString & sql, const char * errorMsg ) throw( SQLException ) { OUStringBuffer buf(128); buf.append( "pq_driver: "); - if( errorType ) - { - buf.append( "[" ); - buf.appendAscii( errorType ); - buf.append( "]" ); - } buf.append( OUString( errorMsg, strlen(errorMsg) , m_pSettings->encoding ) ); buf.append( " (caused by statement '" ); |