summaryrefslogtreecommitdiffstats
path: root/connectivity
Commit message (Collapse)AuthorAgeFilesLines
* Typo: caracter -> characterJulien Nabet2014-02-061-1/+1
| | | | Change-Id: If2d6aec870f8e8ea11eab9fd30687f7ff9f20bce
* Enable -Werror in Library_odbc againStephan Bergmann2014-02-061-2/+0
| | | | | | | ...had been disabled with 9a84a112c52dc2b42ffad976b2ce29e496783ee6 "WaE: 'SQL_API' redefined," but unclear if that is still relevant. Change-Id: Ia03929879f552123022b6e63a8f892805804ebe4
* WaE: -Werror=missing-field-initializersCaolán McNamara2014-02-021-2/+2
| | | | Change-Id: I7d1c9c460d41dec416275e1ce8e6328020118682
* accidentally used a c++11 only constructNorbert Thiebaud2014-02-011-1/+1
| | | | Change-Id: I3c89cdf3c3ea6214f4313afde70677f0752dc66b
* coverity#707709 : Uninitialized scalar fieldNorbert Thiebaud2014-02-011-0/+1
| | | | Change-Id: I65d3a65c67467338bc8a4b1d03d859fc079613c3
* coverity#707708 : Uninitialized scalar fieldNorbert Thiebaud2014-02-011-7/+5
| | | | Change-Id: I5bcb4a1b23c67546c247747c883f0d5dafda3896
* coverity#707707 : Uninitialized scalar fieldNorbert Thiebaud2014-02-011-1/+17
| | | | Change-Id: I45fd57dcb3a02290287552e05dbfb6d44d944731
* coverity#707694 : Uninitialized scalar fieldNorbert Thiebaud2014-02-011-7/+9
| | | | Change-Id: I77c5e82c64dd8385a75f4b0eaf9d412e94534e6d
* coverity#707692-93 : Uninitialized scalar fieldNorbert Thiebaud2014-02-011-21/+20
| | | | Change-Id: I72f1e29ef4f5e8af1e3bd300bc2604396080912c
* coverity#707691 : Uninitialized scalar fieldNorbert Thiebaud2014-02-011-5/+8
| | | | Change-Id: I7bd74a8cb2b3cd5a57e960605816fc8373f8bae4
* coverity#707690 : Uninitialized scalar fieldNorbert Thiebaud2014-02-011-6/+9
| | | | Change-Id: Ie8df6f61610083afd46bccc3a1363e62f54a40db
* User grants debug Mysql part: first stepsJulien Nabet2014-01-301-1/+1
| | | | | | | | | | | | Select all user/host instead of just user so we'll have 'root'@'localhost', 'root'@'127.0.0.1', etc. instead of just root Next step: retrieve IS_GRANTABLE value (so patch mysqlcppconn) Change-Id: Ib0ce7d0745ace17ce8058f3ff9806bea2bdc56f1 Reviewed-on: https://gerrit.libreoffice.org/7140 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
* User grants debug Mysql part: retrieve IS_GRANTABLE + update column privsJulien Nabet2014-01-301-1/+1
| | | | | | | | | | (See http://dev.mysql.com/doc/refman/5.6/en/grant-table-structure.html Table 6.7. Set-Type Privilege Column Values Section) Change-Id: I6173ba0df84f722a872afa59d7d7dc9eefe3e368 Reviewed-on: https://gerrit.libreoffice.org/7155 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
* We want to drop the user here not revoke some rightsJulien Nabet2014-01-301-1/+1
| | | | | | | | | Change-Id: Ia31345d9e3cf8dce147402bc6c6592fd57bc88b9 Reviewed-on: https://gerrit.libreoffice.org/7178 Reviewed-by: Andrzej Hunt <andrzej.hunt@collabora.com> Tested-by: Andrzej Hunt <andrzej.hunt@collabora.com> Tested-by: Lionel Elie Mamane <lionel@mamane.lu> Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
* firebird driver: do not assume sizeof(short) == 2Lionel Elie Mamane2014-01-301-1/+1
| | | | Change-Id: I4b4e6caa34c23baa75a87cf1750dce3ca3ae8aed
* TODO commentLionel Elie Mamane2014-01-301-0/+1
| | | | Change-Id: I3df4810534d64bb7f546cc18124edb6ebf3a147d
* fdo#74160 firebird XParameters::setString truncate to 65535 charactersLionel Elie Mamane2014-01-301-2/+3
| | | | | | as opposed to 17 characters Change-Id: I65c82243946c22eee0f033977b1cd0c5a84d226b
* bool improvementsStephan Bergmann2014-01-296-6/+6
| | | | Change-Id: I0dc09b7a6ee2849bd0c2ffc31be45f81cd2c15ee
* bool improvementsStephan Bergmann2014-01-292-5/+5
| | | | Change-Id: I4e428e5d7093dbc8a1e7fd47ec49998ce143e5ac
* bool improvementsStephan Bergmann2014-01-2821-117/+117
| | | | Change-Id: If35c939adede6a912dee14714a7ceeab84ac977e
* Don't use OSL_LOG_PREFIX when throwing exceptions in non-debug builds.Jan Holesovsky2014-01-271-1/+8
| | | | | | | | | | | | Using OSL_LOG_PREFIX in the exceptions is not a good idea; it blows the size of the string literals tremendously - full build path for every line that uses that, including the line. Let's not remove it for good, but hide it for non-debug builds (OSL_DEBUG_LEVEL == 0) so that anybody who would like to use this during debugging could still do (but I doubt it has any value for anybody). Change-Id: Icc8db95ae0862671a206e681f92c60cdf51ffc32
* coverity#707688 Uninitialized scalar fieldCaolán McNamara2014-01-271-0/+1
| | | | Change-Id: If45153679e199eb749b8c877fc8593304ac35100
* coverity#707687 Uninitialized scalar fieldCaolán McNamara2014-01-271-0/+1
| | | | Change-Id: I955a302418c56b6f34f89ff04b1e27c4d1b2722e
* coverity#440706 : Explicit null dereferencedNorbert Thiebaud2014-01-271-3/+3
| | | | Change-Id: I9c078ba5cb413bdb1c790adc327796a85d870974
* fdo#72804 Add firebird.msg to install.Andrzej Hunt2014-01-272-0/+18
| | | | | | | This provides saner error messages for malformed or invalid sql. Change-Id: I86664db1f1446128bb73e6749f8c00f8313dd414
* coverity#4407301 Dereference after null checkNorbert Thiebaud2014-01-251-1/+1
| | | | Change-Id: I3cbb28a65dc75ac641cac88148e36ec3a819ffc4
* coverity#440730 Dereference after null checkNorbert Thiebaud2014-01-251-1/+1
| | | | Change-Id: Iab8f02e3bb1e03c0ee7efdd0b47d8329d786578d
* Fix FTBFS when TDE integration is enabledTimothy Pearson2014-01-241-0/+1
| | | | | | | Change-Id: Ia44e15044879fbbc169f7097a6f5f14346a0cf39 Reviewed-on: https://gerrit.libreoffice.org/7626 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* coverity#440728 Explicit null dereferencedCaolán McNamara2014-01-231-5/+3
| | | | Change-Id: I76b8d6eb59d2558a7ff8a1b1573f24e41a03b8b6
* coverity#1158204 Unintentional integer overflowCaolán McNamara2014-01-231-1/+2
| | | | Change-Id: I8e10fb52803dbd81e5490940a9a7e529beebc803
* coverity#440711 Explicit null dereferencedCaolán McNamara2014-01-231-2/+3
| | | | Change-Id: I794ac29dc81b1d42b959135277284de1f8c33ccf
* convert more SvStream::operator<< callsNoel Grandin2014-01-221-1/+1
| | | | | | | | | | | | .. to more explicit SvStream::Write* calls This was done using another run of the clang rewriter, and then a lot of hand tweaking to fix all the places where the rewriter did not play nice with various macros. Change-Id: I7bcab93851c8dfb59cde6bc76290c6484d88fb18 Reviewed-on: https://gerrit.libreoffice.org/7494 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* bool improvementsStephan Bergmann2014-01-221-1/+1
| | | | Change-Id: I989302c6774c4dd01dff3f682bd4b681fc9141df
* Fix bogus mass-conversion equalsAsciiL -> startsWithStephan Bergmann2014-01-211-1/+1
| | | | | | | 3af99e4d59d89c343965a928681a30f36b1007d2 "convert equalsAsciiL calls to startsWith calls" should rather have converted to oprator ==. Change-Id: Id4a8836c5d6d570e54661c40be7214632e202b21
* Drop unused #includeTakeshi Abe2014-01-171-2/+0
| | | | Change-Id: I06d3b5dde967a424df1ad20ab2c02878c7d0fbb9
* convert SvStream::operator<< overloads to more explicit methodsNoel Grandin2014-01-164-13/+14
| | | | | | | | | This is in preparation for more conversion of SvStream::operator<< calls to use more explicit method names. This converts the subclasses that have their own convenience overloads of operator<< to use normal methods. Change-Id: I5efd5d9a24c264cb86d2471303dd5849bf91ba80
* Be explicit when using bool as integral valueStephan Bergmann2014-01-141-10/+10
| | | | Change-Id: I782942e25107ce996f3f31c3f53123c118d81838
* bool improvementsStephan Bergmann2014-01-141-7/+3
| | | | Change-Id: Ibe8e80169b222e425df7016a0012591793546adf
* drop unnecessary tools/string.hxx includesCaolán McNamara2014-01-136-6/+0
| | | | Change-Id: I2439ed19b554381f80e882aacbac05167622df92
* re-write SvStream operator<< to non-overloaded methodsNoel Grandin2014-01-102-48/+48
| | | | | | | | | | | | | | | This is the actual re-write. Use a clang rewriter to rewrite SvStream::operator<< to methods like WriteuInt32. Note that the rewriter is not perfect, and I hand-tweaked the output. In particular, I had to adjust places doing things like (*this) << 1; Change-Id: I5923eda3f4ebaa8b452b6ef109e726e116235a2a Reviewed-on: https://gerrit.libreoffice.org/7342 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* SAL_WARN_UNUSED css::uno::TypeStephan Bergmann2014-01-081-2/+0
| | | | Change-Id: I3b165e2a4414fd3d6c3cede5eb39beffa9fe7576
* remove unnecessary sal_Unicode casts in OUStringBuffer::append callsNoel Grandin2014-01-071-1/+1
| | | | | | | | | Convert code like: buf.append( static_cast<sal_Unicode>('!') ); to: buf.append( '!' ); Change-Id: Iacb03a61de65a895540940953b49620677b3d051
* fdo#37167 create statement before execute/wasNull/getBooleanLionel Elie Mamane2014-01-062-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
* WaE: C4701: potentially uninitialized local variable 'aErr' usedTor Lillqvist2014-01-031-2/+2
| | | | Change-Id: I420a103fc62091319ec2d466c037d7c6631dde5d
* fdo#70664 Allow reading firebird Blob as InputStream.Andrzej Hunt2014-01-012-99/+190
| | | | Change-Id: Ie0cb93a902961b3f37daf435828263478c9d2997
* fdo#70664 Implement Blob writing (firebird-sdbc).Andrzej Hunt2014-01-012-10/+126
| | | | Change-Id: Ia95c6e1a0ede2103aae25610baeb3c7a9642113a
* drop STRING_MAXLEN uses from connectivityCaolán McNamara2013-12-303-5/+5
| | | | Change-Id: I12a999c2c6bdd119c2e3e544bbbdabb0b0ce2ba2
* Transex3: NO_LOCALIZE_EXPORTZolnai Tamás2013-12-271-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
* fdo#60698: Merge odbcbase into odbcMarcos Paulo de Souza2013-12-2412-60/+21
| | | | | | We odbcbase is just used inside odbc library, so merge them. Change-Id: I4f4b34873b570ddcf1065c49e5310a1e73092fd6
* Fix other typosJulien Nabet2013-12-222-5/+5
| | | | Change-Id: I3f0a51c53efdd383d49d978a1e8531afe9dac896