summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/postgresql/pq_xindexes.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/postgresql/pq_xindexes.cxx')
-rw-r--r--connectivity/source/drivers/postgresql/pq_xindexes.cxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_xindexes.cxx b/connectivity/source/drivers/postgresql/pq_xindexes.cxx
index 705ffefa818e..aa8d3036b9a9 100644
--- a/connectivity/source/drivers/postgresql/pq_xindexes.cxx
+++ b/connectivity/source/drivers/postgresql/pq_xindexes.cxx
@@ -96,12 +96,11 @@ void Indexes::refresh()
{
if (isLog(m_pSettings, LogLevel::Info))
{
- OStringBuffer buf;
- buf.append( "sdbcx.Indexes get refreshed for table " );
- buf.append( OUStringToOString( m_schemaName, ConnectionSettings::encoding ) );
- buf.append( "." );
- buf.append( OUStringToOString( m_tableName, ConnectionSettings::encoding ) );
- log( m_pSettings, LogLevel::Info, buf.makeStringAndClear().getStr() );
+ OString buf = "sdbcx.Indexes get refreshed for table " +
+ OUStringToOString( m_schemaName, ConnectionSettings::encoding ) +
+ "." +
+ OUStringToOString( m_tableName, ConnectionSettings::encoding );
+ log( m_pSettings, LogLevel::Info, buf.getStr() );
}
osl::MutexGuard guard( m_xMutex->GetMutex() );