Bugzilla – Attachment 50080 Details for
Bug 35784
EDITING - unable to update postgresql databases using postgres SDBC driver
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
minimal patch
0001-fdo-35784-minimal-fix.patch (text/plain), 1.44 KB, created by
Lionel Elie Mamane
on 2011-08-09 14:16:38 UTC
(
hide
)
Description:
minimal patch
Filename:
MIME Type:
Creator:
Lionel Elie Mamane
Created:
2011-08-09 14:16:38 UTC
Size:
1.44 KB
patch
obsolete
>From 33727ca1161b49536d561806da0b54b035f50c89 Mon Sep 17 00:00:00 2001 >From: Lionel Elie Mamane <lionel@mamane.lu> >Date: Tue, 9 Aug 2011 23:10:03 +0200 >Subject: [PATCH] fdo#35784 minimal fix > >Fake DatabaseMetaData::getImportedKeys: we can get away with not giving column names if we give zero data rows >--- > .../drivers/postgresql/pq_databasemetadata.cxx | 7 ++----- > 1 files changed, 2 insertions(+), 5 deletions(-) > >diff --git a/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx b/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx >index 172dca9..40dd2a4 100644 >--- a/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx >+++ b/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx >@@ -1995,12 +1995,9 @@ static void addPrivilegesToVector( > // makeAny( resolveColumnNames(foreignMap, xRow->getString(8) ) ) ); > > // } >- // fake the getImportedKey() function call in >- // dbaccess/source/ui/relationdesign/RelationController.cxx >- // it seems to be the only place in the office, where this function is needed >+ // LEM TODO: full "real" implementation > return new SequenceResultSet( >- m_refMutex, *this, Sequence< OUString >(), Sequence< Sequence< Any > > (1), m_pSettings->tc ); >+ m_refMutex, *this, Sequence< OUString >(), Sequence< Sequence< Any > > (), m_pSettings->tc ); > } > > ::com::sun::star::uno::Reference< XResultSet > DatabaseMetaData::getExportedKeys( >-- >1.7.2.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 35784
: 50080