summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/postgresql/pq_xtable.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/postgresql/pq_xtable.cxx')
-rw-r--r--connectivity/source/drivers/postgresql/pq_xtable.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_xtable.cxx b/connectivity/source/drivers/postgresql/pq_xtable.cxx
index e6210eac3850..7ba75f8131dd 100644
--- a/connectivity/source/drivers/postgresql/pq_xtable.cxx
+++ b/connectivity/source/drivers/postgresql/pq_xtable.cxx
@@ -293,8 +293,6 @@ void Table::alterColumnByIndex(
Reference< com::sun::star::container::XIndexAccess > colums =
Reference< com::sun::star::container::XIndexAccess>( getColumns(), UNO_QUERY );
Reference< com::sun::star::beans::XPropertySet> column(colums->getByIndex( index ), UNO_QUERY );
- OUString oldName = extractStringProperty( column, getStatics().NAME );
- OUString newName = extractStringProperty( descriptor, getStatics().NAME );
::pq_sdbc_driver::alterColumnByDescriptor(
extractStringProperty( this, getStatics().SCHEMA_NAME ),
extractStringProperty( this, getStatics().NAME ),
@@ -302,7 +300,6 @@ void Table::alterColumnByIndex(
m_conn->createStatement(),
column,
descriptor );
-// m_pColumns->rename( oldName, newName );
m_pColumns->refresh();
}