Caolán McNamara
0ea05f930f
drop various _MSC_VER < 1900 conditionals
...
Change-Id: I68d93b260db1f542bb3b44858b61b2d30ae93530
Reviewed-on: https://gerrit.libreoffice.org/34856
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2017-03-06 09:21:24 +00:00
Stephan Bergmann
f89f9aa6ad
With GCC -std=gnu++17, dynamic exception specifications cause an error
...
...instead of a warning (as with Clang), so this follow-up to
e16644fa1c "external/mysqlcppconn: Silence
-Wdynamic-exception-spec errors" patches the (few) dynamic exception
specifications out of external/mysqlcppconn completely
Change-Id: I83a42f1c09e60c15fad1564cf7c42eb3370485da
2017-02-23 12:20:49 +01:00
Stephan Bergmann
e16644fa1c
external/mysqlcppconn: Silence -Wdynamic-exception-spec errors
...
...with Clang in C++17 mode
Change-Id: If51c0788439688f6fbd77c1a05cb3295ac6e8cb4
2017-02-16 18:11:24 +01:00
Stephan Bergmann
8646ab97dc
Remove MinGW support
...
In OOo times, there'd originally been efforts to allow building on Windows with
MinGW. Later, in LO times, this has been shifted to an attempt of cross-
compiling for Windows on Linux. That attempt can be considered abandoned, and
the relevant code rotting.
Due to this heritage, there are now three kinds of MinGW-specific code in LO:
* Code from the original OOo native Windows effort that is no longer relevant
for the LO cross-compilation effort, but has never been removed properly.
* Code from the original OOo native Windows effort that is re-purposed for the
LO cross-compilation effort.
* Code that has been added specifially for the LO cross-compilation effort.
All three kinds of code are removed.
(An unrelated, remaining use of MinGW is for --enable-build-unowinreg, utilizing
--with-mingw-cross-compiler, MINGWCXX, and MINGWSTRIP.)
Change-Id: I49daad8669b4cbe49fa923050c4a4a6ff7dda568
Reviewed-on: https://gerrit.libreoffice.org/34127
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Stephan Bergmann <sbergman@redhat.com >
2017-02-10 18:01:27 +00:00
Michael Stahl
0cee740c95
replace #ifdef SOLARIS with #ifdef __sun
...
Check for a macro that is defined by the compiler, we don't really need
one defined by the build system.
Change-Id: Iccb8e3198396881395c97a6b81690ebe64b7e9d2
2017-01-17 16:38:33 +01:00
Stephan Bergmann
86ba184394
Introduce gb_*_set_external_code
...
...to harmonize the mechanisms to not define LIBO_INTERNAL_ONLY for extension
code and CppunitTest_odk_checkapi. (It also needs to revert any -Wundef, as the
config_host/config_*.h files will not be included, so the HAVE_* macros will be
undefined.)
This obsoletes the need for RTL_DISABLE_FAST_STRING.
Change-Id: If5eacba80c349efb90762aade8f2ea6d2db7e314
2014-12-18 16:39:43 +01:00
Stephan Bergmann
efc0752802
external/mysqlcppconn/patches/cmake.patch is dead
...
...since 4c232e4962 "remove build dependency on
cmake for sqlconnector"
Change-Id: I9ed77e7db6214e07e5671b07a0d878be1c34be6c
2014-12-09 16:45:02 +01:00
Stephan Bergmann
67d7ba55a0
Revert "Fix common typos. No automatic tools. Handmade…"
...
This reverts commit 759c4d18d5 , every part of it
is wrong.
2014-12-09 16:44:18 +01:00
Andrea Gelmini
759c4d18d5
Fix common typos. No automatic tools. Handmade…
...
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959
Reviewed-on: https://gerrit.libreoffice.org/12164
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
Tested-by: Noel Grandin <noelgrandin@gmail.com >
2014-12-09 12:35:01 +00:00
Andrea Gelmini
702d14d954
Partial revert of da40cac540
...
As requested from Michael Stahl here:
https://gerrit.libreoffice.org/#/c/12164/
Change-Id: Ie00bc789c1dfa3f0049c8915e0deeac7fab6e0fd
Reviewed-on: https://gerrit.libreoffice.org/12432
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2014-11-15 15:38:05 +00:00
Andrea Gelmini
da40cac540
Fix common typos. No automatic tools. Handmade…
...
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959
Reviewed-on: https://gerrit.libreoffice.org/12164
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
Tested-by: Noel Grandin <noelgrandin@gmail.com >
2014-11-12 11:04:11 +00:00
Robert Antoni Buj i Gelonch
5c6d26753d
Fix for CONC-104: mysql_options doesn't support MYSQL_SECURE_AUTH option
...
http://bazaar.launchpad.net/~maria-captains/mariadb-native-client/trunk/revision/149
Change-Id: I273f355b9fc922fdb9d9692e0057cfccfdcbcde1
Reviewed-on: https://gerrit.libreoffice.org/11492
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2014-09-25 16:14:27 +00:00
Norbert Thiebaud
67034cb668
mariadb iconv dep apparently is only for Mac
...
Change-Id: Ic49fa8c62eb7ce01e4488bc32ef9167a9b77662d
2014-09-05 12:52:56 +02:00
Norbert Thiebaud
e68a4a40ee
non-system mariadb need iconv
...
Change-Id: I2c150d9adf9f5d21b36c9cf57f62e214dc97b680
2014-09-04 08:23:12 +02:00
Norbert Thiebaud
4c232e4962
remove build dependency on cmake for sqlconnector
...
Change-Id: I73a56b902099939972b8f5c8a55d231459e5421b
2014-09-04 08:23:12 +02:00
Lionel Elie Mamane
8994fac528
mysqlcppconn: do not force (partial) rebuild each time
...
Change-Id: I2eb014f143dda22011161e82fbf06fcba32ce3c6
2014-08-12 10:04:45 +02:00
Lionel Elie Mamane
6ec17530c5
mysqlcppconn: limit cmake to the role we left it
...
generate version_info.h
Change-Id: I6ea57ef1403974d19a0dca1f76e40a6d68a9e44c
2014-08-12 09:11:43 +02:00
Lionel Elie Mamane
a1bed60da4
mysqlcppconn: when using internal boost, point cmake to it
...
Change-Id: Ibc6971599be3e4a4b6bd95fabd74c8cacaf350d6
2014-08-12 04:40:19 +02:00
Lionel Elie Mamane
2493184153
mysqlcppconn: make mysqlcppconn_configure depend on one .o file
...
so that the build directory at least exists
Change-Id: Iaddeb59d60e81b0823ded73c85c2ffd19244d3c2
2014-08-12 03:51:28 +02:00
Lionel Elie Mamane
213e1f9f85
fixup
...
Change-Id: I35996d4337421317ae1c6da2a4647b231782d882
2014-08-11 16:27:30 +02:00
Lionel Elie Mamane
d9c2eb046c
update mysqlcppconn to latest version
...
Change-Id: I2e60d97b777727878daf811c2f3da697af69c484
2014-08-11 15:48:00 +02:00
Thomas Arnhold
70fc3a299c
remove some external header guards
...
Change-Id: I5a51dc496835f0998a3422f2a1f0f2ff8bb3c13f
2014-05-18 11:58:21 +02:00
Thomas Arnhold
3c56e0b8f0
update mysqlcppconn url
...
Change-Id: I96579ed4be05cc22bc66f80bd39d7af961d47470
2014-05-18 11:58:20 +02:00
Julien Nabet
b26f2645d3
Resolves: fdo#76638 Patch retrieve_grants.patch.1 fails
...
Let's remove this since the future is MariaDB
Change-Id: I39641f81c59e7d024aaf48e8e3cc9fc9a7c3127c
2014-03-26 18:59:33 +01:00
Stephan Bergmann
9a5f4019e2
-Wunused-parameter (when included from mysqlc/source/)
...
Change-Id: I4889864a3db2090c687c32e11d4d28c3dda63eb0
2014-02-03 11:15:56 +01:00
Julien Nabet
bfefe113f6
User grants debug Mysql part: retrieve IS_GRANTABLE + update column privs
...
(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 >
2014-01-30 15:14:37 +00:00
Lionel Elie Mamane
02a11749da
fdo#70496 revert to using libmysqlclient
...
Change-Id: I5b98b5e7840e4f1c6005aee0c1f43ef814ecf77b
2013-10-19 23:03:14 +02:00
Khaled Hosny
7495d220dd
fdo#70393: move mysqlcppconn to a subdir of external
...
Change-Id: I5945fa432a9371854e25454feabcafabed7f7b7d
Reviewed-on: https://gerrit.libreoffice.org/6346
Reviewed-by: David Tardon <dtardon@redhat.com >
Tested-by: David Tardon <dtardon@redhat.com >
2013-10-19 07:47:22 +00:00