summaryrefslogtreecommitdiff
path: root/connectivity
AgeCommit message (Collapse)Author
2012-01-30use proper sizes for SQL(Get|Set)StmtAttrLionel Elie Mamane
Fixes fdo#34432 (driver smashes our stack on 64bits arch) Signed-off-by: Michael Meeks <michael.meeks@suse.com> Signed-off-by: Stephan Bergmann <sbergman@redhat.com> Signed-off-by: Michael Stahl <mstahl@redhat.com>
2012-01-23fdo#45090: Changed postgresql-sdbc from bundled oxt to proper optional part.Stephan Bergmann
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 Stahl
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 Stahl
(cherry picked from commit 88cceffc271e747be830675d62d24b6749a417f5)
2012-01-13Confine JDBC driver to thread-affine apartment for Java 6 performanceStephan Bergmann
... 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 Nabet
2012-01-08Cherry pick fix for fdo#44065Julien Nabet
2012-01-06generic unix .mozilla dir is under home dir, not xdg-config-dirCaolán McNamara
2011-12-31now that QADEVOOO build_type exist we need to use it...Norbert Thiebaud
2011-12-30build qadevOOo only if OOO_JUNIT_JAR are set (add BUILD_TYPE)Rene Engelhard
2011-12-24support libebook-1.2.so.12 (evolution 3.2)Rene Engelhard
2011-12-16Adding more dbf file types.Muthu Subramanian
Uses info from comments in i18728.
2011-12-15fdo#43707: tweak workarounds for fdo#42865:Michael Stahl
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 Lohmaier
2011-12-13postgresql-sdbc: correctly recognise MacOS X buildLionel Elie Mamane
2011-12-12postgresql-sdbc: do not use GNU ld-specific options on MacOS XLionel Elie Mamane
2011-12-12postgresql-sdbc: get libpq link deps from postgresql build systemLionel Elie Mamane
2011-12-12Hopefully the last of the pgsql sagaFridrich Štrba
2011-12-12Enable pgsql LDAP support when building with OpenLDAPFridrich Štrba
Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2011-12-12Enable OpenSSL support in the internal libpqFridrich Štrba
Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2011-12-12Some more postgresql fixesFridrich Štrba
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 Štrba
Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2011-12-08WaE Mac gcc is confused with >>= operator overload (it is not alone)Norbert Thiebaud
>>= 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 Štrba
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 Mamane
2011-12-05PostgreSQL-SDBC: increment version numberLionel Elie Mamane
2011-12-04ODBC DBMetaDataResultSet: on move, update internal state as necessaryLionel Elie Mamane
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 Mamane
2011-12-01fdo#41474: remove setCharAt and charAt from O[U]StringBufferAugust Sodora
2011-12-01get rid of class Date and Time default ctor with system time penaltyEike Rathke
2011-12-01Remove uses of charAtAugust Sodora
2011-11-30postgresql-sdbc: review build rulesLionel Elie Mamane
2011-11-30pgsql-sdbc: adapt comment to new code situationLionel Elie Mamane
2011-11-30pq-sdbc statics: properly initialise defTypeInfoMetaDataLionel Elie Mamane
2011-11-30pgsql-sdbc: Robustify against empty arrays, etcLionel Elie Mamane
2011-11-30ODBC: use right integer length to get Statement OptionsLionel Elie Mamane
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
2011-11-30rename, and bundle the postgresql driver if it is enabledMichael Meeks
2011-11-29postgresql: work around uninitialized warning.Michael Meeks
2011-11-29WaE: sizeable postgresql warning cleanupMichael Meeks
2011-11-29fs34c: #i117666# check first if value is nullmst
* found as LGPLv3-only fix at svn rev 1172125 (http://svn.apache.org/viewvc?view=revision&revision=1172125)
2011-11-28ByteString->rtl::OUStringToOStringCaolán McNamara
2011-11-28ByteString::GetToken->comphelper::string::getTokenCaolán McNamara
2011-11-27remove precompiled_xxx.hxx/cxxNorbert Thiebaud
2011-11-27remove include of pch header in connectivityNorbert Thiebaud
2011-11-27remove PCH support in dmake-moduleNorbert Thiebaud
2011-11-27typos fixingKorrawit Pruegsanusak
2011-11-26Remove some uses of OUString::setCharAtAugust Sodora
2011-11-25Fix Android compilation: 'NULL' was not declared in this scopeTor Lillqvist
2011-11-25gsl_getSystemTextEncoding -> osl_getThreadTextEncodingDavid Tardon
2011-11-24psql-sdbc: TODO noteLionel Elie Mamane