Kaydet (Commit) b8361945 authored tarafından Lionel Elie Mamane's avatar Lionel Elie Mamane

pgsql-sdbc: ResultSetMetaData::getTableName return tablename (without schema)

Change-Id: I319ba91045fa43922d7b694a4f13322295590c81
üst dcce505e
...@@ -402,16 +402,7 @@ OUString ResultSetMetaData::getTableName( sal_Int32 column ) ...@@ -402,16 +402,7 @@ OUString ResultSetMetaData::getTableName( sal_Int32 column )
{ {
(void) column; (void) column;
// LEM TODO This is very fishy.. Should probably return the table to which that column belongs! // LEM TODO This is very fishy.. Should probably return the table to which that column belongs!
OUString ret; return m_tableName;
if( m_tableName.getLength() )
{
OUStringBuffer buf( 128 );
buf.append( m_schemaName );
buf.appendAscii( "." );
buf.append( m_tableName );
ret = buf.makeStringAndClear();
}
return ret;
} }
OUString ResultSetMetaData::getCatalogName( sal_Int32 column ) OUString ResultSetMetaData::getCatalogName( sal_Int32 column )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment