summaryrefslogtreecommitdiff
path: root/connectivity
AgeCommit message (Collapse)AuthorFilesLines
2012-03-04Fix lacking break in switchJulien Nabet1-0/+1
2012-02-27fdo#46675: expand group memberships in PostgreSQL-SDBC get*PrivilegesLionel Elie Mamane1-3/+5
Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2012-02-21fdo#46206 accept an arbitrary query for INSERTLionel Elie Mamane1-1/+1
Signed-off-by: Petr Mladek <pmladek@suse.cz>
2012-02-21fdo#46198: NULL is a perfectly fine general_valueLionel Elie Mamane1-2/+1
Signed-off-by: Petr Mladek <pmladek@suse.cz>
2012-02-21ORowSetValue::setTypeKind: correctly convert to (C)LOB/OBJECT/OTHERLionel Elie Mamane1-2/+2
as opposed to crashing Signed-off-by: Petr Mladek <pmladek@suse.cz>
2012-02-14unsigned int->sal_uInt32Caolán McNamara1-1/+1
Signed-off-by: Lionel Elie Mamane <lionel@mamane.lu>
2012-02-14odbc 64 bit crash: correct buffer length allocation for a SQLLENLionel Elie Mamane1-1/+1
(cherry picked from commit 84d21e4de26bd69f7ca5b10f2c72779f07e11347) Signed-off-by: Michael Stahl <mstahl@redhat.com>
2012-02-13pgsql getColumns: order by columns, not by their concatenation...Lionel Elie Mamane1-1/+1
2012-02-13postgres getColumns: skip dropped columns, make ORDINAL_POSITION consecutiveLionel Elie Mamane1-19/+38
2012-02-13fdo#45249 declare support for Core SQL -> Base allows user aggregate functionsLionel Elie Mamane1-1/+6
2012-02-13Fixed wrong mapping to log level from postgresql-sdbc.iniTakeshi Abe1-1/+1
2012-02-08fdo#45254 getTablePrivileges: rely on information_schemaLionel Elie Mamane1-42/+31
This avoids the use of aclexplode(), which is only SQL-available in PostgreSQL 9.0 and later. With PostgreSQL versions known to have the information_schema.table_privileges bug of not filling in the default ACL in the absence of an ACL, fill in "owner has all rights", which is the default state of the default ACL. (cherry picked from commit 8c922d832792402554cc3dfd174d6d4da50847f4) Signed-off-by: Michael Stahl <mstahl@redhat.com>
2012-02-02increase the sleep time of the Mozilla UI ThreadMarkus Mohrhard1-2/+2
Signed-off-by: Kohei Yoshida <kohei.yoshida@suse.com>
2012-02-01remove erroneously committed debug codeLionel Elie Mamane1-1/+0
(cherry picked from commit ab2fb9c4f95f13a1579e0ac199a109d082fbe945) Conflicts: connectivity/source/drivers/odbcbase/OStatement.cxx Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2012-01-30use proper sizes for SQL(Get|Set)StmtAttrLionel Elie Mamane4-101/+79
Fixes fdo#34432 (driver smashes our stack) Continuation of commit 9a466d9718cceeb4ace9e3352a173c7b62387eee Author: Lionel Elie Mamane <lionel@mamane.lu> Date: Tue Nov 29 17:49:36 2011 +0100 ODBC: use right integer length to get Statement Options
2012-01-23fdo#45090: Changed postgresql-sdbc from bundled oxt to proper optional part.Stephan Bergmann10-110/+103
Replaced --enable-ext-postgresql-sdbc with --disable-postgresql-sdbc. Renamed postgresql-sdbc.uno{.ini,rc} to consistent postgresql-sdbc.ini (which made the code a little easier). Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2012-01-23connectivity: fdo#43479: fix crash on DISTINCT:Michael Stahl1-31/+17
Since commit f89f2b8bf506de0cc547ad596c75cbe1a0cf1ef1, OResultSet::sortRows() works on the rows after SELECT, not on full rows. So OResultSet::OpenImpl() has to be adapted to not use the mapping from selected columns to entries rows in m_aColMapping any more; instead, use the given ORDER BY clause for sorting. But first extend the sort order to cover all columns, so it is no longer necessary to call sortRows twice (this should be legal, because SQL says the order of rows that are equal in ORDER BY columns is unspecified). Signed-off-by: Lionel Elie Mamane <lionel@mamane.lu>
2012-01-14connectivity: dbase: global variable cleanupMichael Stahl1-7/+14
(cherry picked from commit 88cceffc271e747be830675d62d24b6749a417f5)
2012-01-13Confine JDBC driver to thread-affine apartment for Java 6 performanceStephan Bergmann3-3/+16
... so that the massive number of the JDBC driver's calls to JNI Attach/Detach- CurrentThread are guaranteed not to happen on the main thread (where they are extremely expensive, see <http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6978641> "Fix for 6929067 introduces additional overhead in thread creation/termination paths"). (cherry picked from commit bb59742bcf4883af5876a2ffadcc4a689e414b60)
2012-01-10Enabling Icedove addressbook connection for Base (Thank you Caolan)Julien Nabet3-15/+18
2012-01-08Cherry pick fix for fdo#44065Julien Nabet1-1/+1
2012-01-06generic unix .mozilla dir is under home dir, not xdg-config-dirCaolán McNamara1-0/+8
2011-12-31now that QADEVOOO build_type exist we need to use it...Norbert Thiebaud2-0/+13
2011-12-30build qadevOOo only if OOO_JUNIT_JAR are set (add BUILD_TYPE)Rene Engelhard1-1/+1
2011-12-24support libebook-1.2.so.12 (evolution 3.2)Rene Engelhard1-0/+1
2011-12-16Adding more dbf file types.Muthu Subramanian1-0/+11
Uses info from comments in i18728.
2011-12-15fdo#43707: tweak workarounds for fdo#42865:Michael Stahl2-0/+16
Apparently on Windows the SAL_DLLPUBLIC_EXPORT does not work for unknown reasons, so use the old mapfiles on that platform. Should fix regressions from 1fb5eb21, 48dbaa51, a9da5a0b. (cherry picked from commit 5bb7eea39420c79ee72b7559f4e3d90d1abb4994)
2011-12-15-Wl,-dead_strip_dylibs is not supported with XCode 2.5, align with masterChristian Lohmaier1-9/+2
2011-12-13postgresql-sdbc: correctly recognise MacOS X buildLionel Elie Mamane1-2/+2
2011-12-12postgresql-sdbc: do not use GNU ld-specific options on MacOS XLionel Elie Mamane1-0/+7
2011-12-12postgresql-sdbc: get libpq link deps from postgresql build systemLionel Elie Mamane1-3/+6
2011-12-12Hopefully the last of the pgsql sagaFridrich Štrba1-2/+8
2011-12-12Enable pgsql LDAP support when building with OpenLDAPFridrich Štrba1-2/+3
Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2011-12-12Enable OpenSSL support in the internal libpqFridrich Štrba1-0/+1
Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2011-12-12Some more postgresql fixesFridrich Štrba1-16/+12
1. The --enable-extension-integration affects only packaging 2. OUTDIR_FOR_BUILD is for native build in case of crosscompiling Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2011-12-09Make link and deliver the postgresql.oxt extension also on windowsFridrich Štrba2-5/+6
Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2011-12-08WaE Mac gcc is confused with >>= operator overload (it is not alone)Norbert Thiebaud3-3/+3
>>= operator overload turn the right-value of the operator into a left value... which confuse the heck out of the compiler's detection of use of unitialized variables (and also C-reader like me for whom >>= means something else altogether... (why on earth are we right-bitshifting... with an unitialized variable... oh! fracking operator overload!!!)
2011-12-07Fix build of pgsql connector (std::hash -> boost::hash)Fridrich Štrba3-10/+2
Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2011-12-06pgsql-sdbc: do not use -s option to sed; GNU extension, breaks MacOS buildLionel Elie Mamane1-1/+1
2011-12-05PostgreSQL-SDBC: increment version numberLionel Elie Mamane1-1/+1
2011-12-04ODBC DBMetaDataResultSet: on move, update internal state as necessaryLionel Elie Mamane1-3/+16
After successful last(), isLast() should return true! Thus, when moving to last record, keep that fact in mind (update m_bEOF) so that isLast returns right result. Also update m_bEOF on other moves. Update m_nRowPos on next(), for the same reasons, mutatis mutandi.
2011-12-01Internal libpq (PostgreSQL client lib)Lionel Elie Mamane2-1/+8
2011-12-01fdo#41474: remove setCharAt and charAt from O[U]StringBufferAugust Sodora1-5/+5
2011-12-01get rid of class Date and Time default ctor with system time penaltyEike Rathke3-4/+5
2011-12-01Remove uses of charAtAugust Sodora1-6/+6
2011-11-30postgresql-sdbc: review build rulesLionel Elie Mamane1-4/+5
2011-11-30pgsql-sdbc: adapt comment to new code situationLionel Elie Mamane1-2/+3
2011-11-30pq-sdbc statics: properly initialise defTypeInfoMetaDataLionel Elie Mamane1-19/+19
2011-11-30pgsql-sdbc: Robustify against empty arrays, etcLionel Elie Mamane11-74/+113
2011-11-30ODBC: use right integer length to get Statement OptionsLionel Elie Mamane2-13/+14
Else (on 64bits platform) the driver smashes our stack: SQL_ULEN is 64 bits Widen result type of getQueryTimeOut, getMaxFieldSize and getMaxRows so that it will always fit