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:
@@ -114,7 +114,6 @@ BaseResultSet::BaseResultSet(
|
||||
, m_fieldCount( colCount )
|
||||
, m_wasNull(false)
|
||||
{
|
||||
POSTGRE_TRACE( "ctor BaseResultSet" );
|
||||
}
|
||||
|
||||
// LEM TODO: refMutex->GetMutex() should live longer than OComponentHelper,
|
||||
@@ -122,7 +121,6 @@ BaseResultSet::BaseResultSet(
|
||||
// BaseResultSet::~BaseResultSet in an infinite loop :(
|
||||
BaseResultSet::~BaseResultSet()
|
||||
{
|
||||
POSTGRE_TRACE( "dtor BaseResultSet" );
|
||||
}
|
||||
|
||||
Any BaseResultSet::queryInterface( const Type & rType )
|
||||
|
@@ -184,7 +184,6 @@ Connection::Connection(
|
||||
|
||||
Connection::~Connection()
|
||||
{
|
||||
POSTGRE_TRACE( "dtor connection" );
|
||||
if( m_settings.pConnection )
|
||||
{
|
||||
PQfinish( m_settings.pConnection );
|
||||
|
@@ -63,12 +63,6 @@
|
||||
|
||||
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;
|
||||
|
||||
|
||||
|
@@ -191,7 +191,6 @@ PreparedStatement::PreparedStatement(
|
||||
|
||||
PreparedStatement::~PreparedStatement()
|
||||
{
|
||||
POSTGRE_TRACE( "dtor PreparedStatement" );
|
||||
}
|
||||
|
||||
void PreparedStatement::checkColumnIndex( sal_Int32 parameterIndex )
|
||||
|
@@ -154,7 +154,6 @@ Statement::Statement( const ::rtl::Reference< comphelper::RefCountedMutex > & re
|
||||
|
||||
Statement::~Statement()
|
||||
{
|
||||
POSTGRE_TRACE( "dtor Statement" );
|
||||
}
|
||||
|
||||
void Statement::checkClosed()
|
||||
@@ -204,7 +203,6 @@ void Statement::close( )
|
||||
if( resultSet.is() )
|
||||
{
|
||||
resultSet->close();
|
||||
POSTGRE_TRACE( "statement closed" );
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user