summaryrefslogtreecommitdiff
path: root/connectivity
AgeCommit message (Collapse)AuthorFilesLines
2014-01-08SAL_WARN_UNUSED css::uno::TypeStephan Bergmann1-2/+0
Change-Id: I3b165e2a4414fd3d6c3cede5eb39beffa9fe7576
2014-01-07remove unnecessary sal_Unicode casts in OUStringBuffer::append callsNoel Grandin1-1/+1
Convert code like: buf.append( static_cast<sal_Unicode>('!') ); to: buf.append( '!' ); Change-Id: Iacb03a61de65a895540940953b49620677b3d051
2014-01-06fdo#37167 create statement before execute/wasNull/getBooleanLionel Elie Mamane2-0/+9
This populates "object" member variable. The "createStatement" calls were removed in: commit b9392a36645d8632b97ad79240f483b3a1683b61 Author: Ivo Hinkelmann <ihi@openoffice.org> Date: Thu Apr 23 10:42:05 2009 +0000 CWS-TOOLING: integrate CWS dbaperf1 This was most probably in error since the call is not removed from the other modified member functions in this commit and/or failed to aaccount for the scenario of no parameter (and thus no setXXX call before execute). Change-Id: Ic0e7b7b64ea496791f32c1416aa7d4416f909616
2014-01-03WaE: C4701: potentially uninitialized local variable 'aErr' usedTor Lillqvist1-2/+2
Change-Id: I420a103fc62091319ec2d466c037d7c6631dde5d
2014-01-01fdo#70664 Allow reading firebird Blob as InputStream.Andrzej Hunt2-99/+190
Change-Id: Ie0cb93a902961b3f37daf435828263478c9d2997
2014-01-01fdo#70664 Implement Blob writing (firebird-sdbc).Andrzej Hunt2-10/+126
Change-Id: Ia95c6e1a0ede2103aae25610baeb3c7a9642113a
2013-12-30drop STRING_MAXLEN uses from connectivityCaolán McNamara3-5/+5
Change-Id: I12a999c2c6bdd119c2e3e544bbbdabb0b0ce2ba2
2013-12-27Transex3: NO_LOCALIZE_EXPORTZolnai Tamás1-1/+1
In the past, NO_LOCALIZE_EXPORT macro must be used to skip uneeded parsing of src files which has no localizable content. It is unsued by now and it is more effective to handle this files on gmake level: gb_SrsTarget_add_nonlocalizable_files gb_SrsTarget_add_nonlocalizable_templates Plus remove some empty src file. Change-Id: I8fc9b2db0b5fd7a3379d3c5be970c4fc691f4c53
2013-12-24fdo#60698: Merge odbcbase into odbcMarcos Paulo de Souza12-60/+21
We odbcbase is just used inside odbc library, so merge them. Change-Id: I4f4b34873b570ddcf1065c49e5310a1e73092fd6
2013-12-22Fix other typosJulien Nabet2-5/+5
Change-Id: I3f0a51c53efdd383d49d978a1e8531afe9dac896
2013-12-21fdo#72916 correct rounding of time part of DateTimeLionel Elie Mamane1-3/+13
Change-Id: I135478755f9e5a844119129b470fef8de2cd0409
2013-12-20Spelling correction: s/retrive/retrieve/Tor Lillqvist2-8/+8
Change-Id: I96845d358765e2d2507763a9b15a30388b32bc6b
2013-12-20typo fixesAndras Timar6-8/+8
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-19CID#736937 Not restoring ostream formatCaolán McNamara1-13/+22
Change-Id: I07b1d90258647453e498b574bc38c78872041c2d
2013-12-18nIndex can only be -1 or < sSystemPath.getLength()Caolán McNamara1-4/+2
from sal_Int32 nIndex = sSystemPath.lastIndexOf('.'); so OUString sConnPartURL = sSystemPath.copy( 0, ::std::max< sal_Int32 >( nIndex, sSystemPath.getLength() ) is equivalent to OUString sConnPartURL = sSystemPath.copy( 0, sSystemPath.getLength() ) which is OUString sConnPartURL = sSystemPath; so drop sConnPartURL and replace with sSystemPath Change-Id: I3fc8e88a4b3e474c3dccd08cf356e4663503ae02
2013-12-18STROAGE->STORAGECaolán McNamara4-4/+4
Change-Id: I2c83c87d15f5fdc766a8464a8389e22120eabc52
2013-12-17HSQLDB: correct syntax of change password from MySQL to HSQLDBLionel Elie Mamane1-3/+6
Change-Id: Iacf60c456912f2e38c7a082e48c45164e79c1097
2013-12-17HSQLDB: quote usernamesLionel Elie Mamane1-3/+7
Change-Id: I8384920bc55dafb2cc6581fe82f38d4e2659cc3d
2013-12-17Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann19-35/+37
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-17Unnecessary use of OUString constructor inside OUStringBuffer constructorNoel Grandin3-3/+3
Convert code like: OUStringBuffer sVal(OUString("0x")); to: OUStringBuffer sVal("0x"); Change-Id: Idc5a3f6a8bf1dc33f93c2b488f866c8ea58d582a
2013-12-17Remove unnecessary use of OUString constructor in OUStringBuffer::append callsNoel Grandin2-11/+11
Convert code like aStrBuffer.append(OUString(" AS ")); to aStrBuffer.append(" AS "); Change-Id: I8c1884b5a875f40f0b5e511b6ef38c6c8eeee656
2013-12-17remove unnecessary double calls to OUString constructorNoel Grandin5-7/+6
Change-Id: Ib2690e3ec9987b97363687b61fe8ddae4ace9058
2013-12-17Remove unnecessary use of OUString constructor in + expressionsNoel Grandin9-18/+16
Convert code like aFilename = OUString::number(nFilePostfixCount) + OUString(".bmp"); to aFilename = OUString::number(nFilePostfixCount) + ".bmp"; Change-Id: I03f513ad1c8ec8846b2afbdc67ab12525ed07e50
2013-12-17cppcheck: fix statements that begin with string constantJulien Nabet1-2/+2
Change-Id: I42427beeae06f607e60aeeb7142714fd1f5d740d
2013-12-16Allow setting environment value directly in .component filesStephan Bergmann4-27/+14
...for internal loader="com.sun.star.loader.SharedLibrary" components, instead of exported component_getImplementationEnvironmen (or implicit CPPU_CURRENT_LANGUAGE_BINDING_NAME). Adapted a few .component files as proof- of-concept, more to follow. Change-Id: I82332e0a48e6fc1da245990bb72265fe6e58447e
2013-12-16Clean-up uno/lbnames.hStephan Bergmann2-0/+2
Change-Id: I4bd729499aa8be58f04194656e35c1f79d5d4919
2013-12-14Let's apply the same for theseJulien Nabet1-8/+8
Change-Id: Icd0f4ecee7d3d633f7a41e479729688829b4cf9d
2013-12-14odbc DBMetaData: NULL pattern equivalent to "%", not "%foo"Lionel Elie Mamane1-9/+9
Change-Id: Ief475a1bf6e65b4786e8ee9c025b204f143a30e0
2013-12-14cppcheck: fix same expressionJulien Nabet1-1/+1
!pSchemaPat->isEmpty() checked twice where line before we test if aPKQ is empty so it seemed quite logical to test aPKO here Change-Id: I79d7ec89f7ae67520492bbd4121a4a86918f2fbf
2013-12-13assert non-nullnessStephan Bergmann1-0/+1
dd0990db74a4a5c3a129a7ff0ed2a739cd74a381 "fdo#72463 RowSet: on execute when not dirty, rebuild cache" had temporarily introduced a bug that caused m_pParseTree to be null here during JunitTest_dbaccess_unoapi, but Lionel states that it cannot legitimately be null, even though the computation of m_bIsCount in the ctor takes potentially null m_pParseTree into account. Change-Id: If95f076a4c80f80cd58bba83521633fe8bb71f5d
2013-12-13sdbc file driver (Prepared)Statement: created ResultSet owned by *caller*Lionel Elie Mamane6-83/+40
That is the only choice that makes sense, since the (Prepared)Statement could die (go out of scope) before the ResultSet. User code could do that, if it does not "need" the (Prepared)Statement anymore. Also, it is only natural for user code to dispose a ResultSet that it does not need anymore. So we need to create a fresh ResultSet each time. The "luck" here is that the sdbc file driver does not implement the XMultipleResults interface; things get more hairy then. Change-Id: Ibf2cb5e5b7ca90432a289c185a6b4fe32d1ba565
2013-12-13fdo#72598 Remove SunStudio cruft from code baseJelle van der Waa10-40/+4
Change-Id: Ia6799c852eb95d496fbc8dcfdabde62dffc263a6 Reviewed-on: https://gerrit.libreoffice.org/7066 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2013-12-11Related: rhbz#1040291 Change language name from 'Oriya' to 'Odia'Caolán McNamara1-1/+1
Except for our external api where the Oriya is stuck (and similar for the vba implementation) Change-Id: I8288c930567385eea49a4c303727b13ef8b8a89f
2013-12-09fix equalsAscii conversion. Noticed in fdo#72391Noel Grandin1-2/+2
In commit 363cc397172f2b0a94d9c4dc44fc8d95072795a3 "convert equalsAsciiL calls to startWith calls where possible" I incorrectly converted equalsAsciiL calls to startsWith calls. This commit fixes those places to use the == OUString operator. Change-Id: If76993baf73e3d8fb3bbcf6e8314e59fdc1207b6
2013-12-08Drop duplicate #includeTakeshi Abe2-5/+0
Change-Id: I05569ef98293445916e8f48e7f06abd795fe9bb5
2013-12-07fdo#72267 boolean_test is subsumed by general case "foo IS [NOT] bar"Lionel Elie Mamane2-39/+50
Change-Id: Ie9666b1c8878dd26593629b4b64d74b7448f98c1
2013-12-06Clean up includes of comphelper/stl_types.hxxStephan Bergmann7-8/+0
Change-Id: I00a8e794189d17ad91a90beb9ce6cb89b7bab2aa
2013-12-06Combine comphelper::UStringMixEqual, comphelper::TStringMixEqualFunctorStephan Bergmann3-3/+3
Change-Id: I3ab3777a65fd68f8cbaf17a8e2a989dc4ad7b1cc
2013-12-06Missing includeStephan Bergmann1-0/+4
Change-Id: Ie5036134f03a0e9bfdfcb28190444b5d2ddcc323
2013-12-06Remove unused typedefsStephan Bergmann2-7/+0
Change-Id: I59f3fba9d4602cddfef1bd6862cbcfb9eec133ae
2013-12-06Get rid of DECLARE_STL_MAPStephan Bergmann3-12/+12
Change-Id: Ifbda934a89087fcc1c031978d3e5b5783722b328
2013-12-06Get rid of DECLARE_STL_VECTORStephan Bergmann4-10/+18
Change-Id: If4588034fc09e4663b5217669c71f26c0a3b8c8a
2013-12-06Get rid of DECLARE_STL_USTRINGACCESS_MAPStephan Bergmann6-13/+31
Change-Id: I00d02eaeff3eaa5f49550eb9c1d4e4e7e0b2203c
2013-12-05Get rid of DECLARE_STL_STDKEY_SETStephan Bergmann2-0/+2
Change-Id: I4817694d183d525fa5a29eb9693a20d491549e5d
2013-12-04remove unused #define SQL_COLUMN_NOTFOUNDNoel Grandin1-2/+0
Change-Id: Ic8914484c23c586036280bdf12a3fef3128d03ff
2013-11-30flat text DB: fix move by bookmarkLionel Elie Mamane1-13/+4
To test whether the range [a,b( is *before* e, compare e to b, not to a. This makes a difference when a==b, which happens for row 0 (header) when there is no header. Change-Id: I629b71936f82a468febe0360909264dd80304437
2013-11-30debug mode is OSL_DEBUG_LEVEL > 0, not > 1Lionel Elie Mamane1-1/+1
Change-Id: I39465b1b22a537de95db9f65b04ecf4bce667d0c
2013-11-30factorise codeLionel Elie Mamane1-7/+2
Change-Id: Ifd1829843886b8c58669fd4ccf04bc35bf4a0e10
2013-11-30fdo#72148 if expecting table at begin, explicitly set it soLionel Elie Mamane1-1/+5
Change-Id: Ic876603e5860b987280b73726fd79a071a9c833c
2013-11-26sqlbison.y string clean-upStephan Bergmann1-129/+69
Change-Id: I1ab32794a10f78f305de8057af5885d7719f87a3