summaryrefslogtreecommitdiffstats
path: root/external/mariadb-connector-c
Commit message (Collapse)AuthorAgeFilesLines
* disable warnings in external libsLuboš Luňák2019-05-241-1/+1
| | | | | | | | | | As in, really disable, so that they do not even show. This moreover avoids tons of D9025 warnings from MSVC about overriding -W4 with -w. Change-Id: Ia2e72fd72d883d91bdd89e467ee42f259e2ae033 Reviewed-on: https://gerrit.libreoffice.org/72899 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
* clang-cl: Don't define "const" away in external/mariadb-connector-cStephan Bergmann2018-09-112-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | Mimicing MSCV, clang-cl doesn't predefine __STDC__ (InitializeStandardPredefinedMacros in clang/lib/Frontend/InitPreprocessor.cpp) when LangOpts.MSVCCompat aka -fms-compatibility is set, which it is by default for clang-cl (Clang::ConstructJob in clang/lib/Driver/ToolChains/Clang.cpp). But clang-cl still needs to be called with /FIIntrin.h to preload declarations of intrinsics from the Clang-provided Intrin.h, some of which like unsigned char _bittest(long const *, long); both make use of "const" (which isn't defined away because the file is loaded so early) and are duplicated in the system-provided winnt.h---where the "const" /is/ defined away when that header is included later, causing "conflicting types" errors. ("Real" MSVC also runs into the #if defining "const" away, but it seems it happens to not have bad consequences there.) Change-Id: Ice92a059330bd945f8a3d9e5fa1635a01d08ad8b Reviewed-on: https://gerrit.libreoffice.org/60321 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* Moving mysqlc into connectivity as a libraryTamas Bunth2018-08-241-0/+2
| | | | | | | | | | | | | | Additionally I erased the remains of the old mysql C++ connector. Also update the code where the clang plugins were unhappy after moving the mysqlc module. Remove mysql-cpp-connector external. Change-Id: I771cc7afacf5012fc349afb6b36828fb0fee5a66 Reviewed-on: https://gerrit.libreoffice.org/59200 Tested-by: Jenkins Reviewed-by: Tamás Bunth <btomi96@gmail.com>
* mariadb-connector-c: fix Windows buildMiklos Vajna2018-05-301-0/+8
| | | | | | | | | | | | --enable-ext-mariadb-connector is not the default, this fixes the build after using that switch up to the mariadb-connector-c module. mysql-connector-cpp is still broken, VS 2015 gives internal compiler error there for the used boost pieces... Change-Id: I1845cde03d5166594aac67c23e61186920ab3785 Reviewed-on: https://gerrit.libreoffice.org/55055 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
* consistent naming of externals: libmariadb -> mariadb-connector-cMichael Stahl2017-09-1512-0/+880
The used version is actually named mariadb_client but since 2.1.0 upstream calls it MariaDB Connector/C. Change-Id: I51b12a9be55151919585dec91a5fc802ff4fc86b Reviewed-on: https://gerrit.libreoffice.org/42295 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>