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 )
{
(void) column;
// LEM TODO This is very fishy.. Should probably return the table to which that column belongs!
OUString ret;
if( m_tableName.getLength() )
{
OUStringBuffer buf( 128 );
buf.append( m_schemaName );
buf.appendAscii( "." );
buf.append( m_tableName );
ret = buf.makeStringAndClear();
}
return ret;
return m_tableName;
}
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