Postgresql unused POSTGRE_TRACE

there was "#ifdef POSTGRE_TRACE", but it was nowhere to be seen
except in the following purged files.

Change-Id: Id77aef0869d112cb1a5282d8db79da4bc78a56e5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89378
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
This commit is contained in:
Julien Nabet
2020-02-24 20:43:33 +01:00
parent 74a25e3805
commit 254db7f4e8
5 changed files with 0 additions and 12 deletions

View File

@@ -114,7 +114,6 @@ BaseResultSet::BaseResultSet(
, m_fieldCount( colCount ) , m_fieldCount( colCount )
, m_wasNull(false) , m_wasNull(false)
{ {
POSTGRE_TRACE( "ctor BaseResultSet" );
} }
// LEM TODO: refMutex->GetMutex() should live longer than OComponentHelper, // LEM TODO: refMutex->GetMutex() should live longer than OComponentHelper,
@@ -122,7 +121,6 @@ BaseResultSet::BaseResultSet(
// BaseResultSet::~BaseResultSet in an infinite loop :( // BaseResultSet::~BaseResultSet in an infinite loop :(
BaseResultSet::~BaseResultSet() BaseResultSet::~BaseResultSet()
{ {
POSTGRE_TRACE( "dtor BaseResultSet" );
} }
Any BaseResultSet::queryInterface( const Type & rType ) Any BaseResultSet::queryInterface( const Type & rType )

View File

@@ -184,7 +184,6 @@ Connection::Connection(
Connection::~Connection() Connection::~Connection()
{ {
POSTGRE_TRACE( "dtor connection" );
if( m_settings.pConnection ) if( m_settings.pConnection )
{ {
PQfinish( m_settings.pConnection ); PQfinish( m_settings.pConnection );

View File

@@ -63,12 +63,6 @@
namespace pq_sdbc_driver namespace pq_sdbc_driver
{ {
#ifdef POSTGRE_TRACE
#define POSTGRE_TRACE( x ) printf( "%s\n" , x )
#else
#define POSTGRE_TRACE(x) ((void)0)
#endif
struct ConnectionSettings; struct ConnectionSettings;

View File

@@ -191,7 +191,6 @@ PreparedStatement::PreparedStatement(
PreparedStatement::~PreparedStatement() PreparedStatement::~PreparedStatement()
{ {
POSTGRE_TRACE( "dtor PreparedStatement" );
} }
void PreparedStatement::checkColumnIndex( sal_Int32 parameterIndex ) void PreparedStatement::checkColumnIndex( sal_Int32 parameterIndex )

View File

@@ -154,7 +154,6 @@ Statement::Statement( const ::rtl::Reference< comphelper::RefCountedMutex > & re
Statement::~Statement() Statement::~Statement()
{ {
POSTGRE_TRACE( "dtor Statement" );
} }
void Statement::checkClosed() void Statement::checkClosed()
@@ -204,7 +203,6 @@ void Statement::close( )
if( resultSet.is() ) if( resultSet.is() )
{ {
resultSet->close(); resultSet->close();
POSTGRE_TRACE( "statement closed" );
} }
} }