Commit Graph

144 Commits

Author SHA1 Message Date
Alex Fabijanic
5cad99a704 fix test table name 2017-06-30 16:51:07 +02:00
Alex Fabijanic
303861cf11 replace Mutex with FastMutex 2017-06-22 23:09:22 +02:00
Alex Fabijanic
19417c57a9 add some comments 2017-06-22 22:46:19 +02:00
Alex Fabijanic
574fc131db add docker test run script 2017-06-22 22:43:07 +02:00
Alex Fabijanic
8aecf8a9b0 move mysql init to createSession() and protect it with mutex 2017-06-22 22:42:21 +02:00
Guenter Obiltschnig
f453dd145c added Visual Studio 2017 project files 2017-02-20 16:46:44 +01:00
Guenter Obiltschnig
97d8c42a4e fixed file headers 2017-02-18 14:29:15 +01:00
Friedrich Wilckens
d98a0ae1e6 Add tests for std::tuple to Data/MySQL. 2017-01-18 11:28:24 -08:00
Guenter Obiltschnig
e87a8fe962 handle MySQL connection lost/server gone when starting a transaction 2016-09-15 12:01:30 +02:00
zosrothko
d194e570dc Add typedef ulong needed by MySQL/my_global.h
Add typedef ulong needed by MySQL/my_global.h but invisible on Cygwin with defined constant XOPEN_SOURCE=500
2016-08-30 17:12:05 +02:00
Jörg Krause
55d22512fc MySQL: allow to override search path
The default search pathes for the MySQL library and header files are for hosts
only and do not allow cross-compilation of poco against a target MySQL.

Allow to pass the pathes through the build environment by setting MYSQL_LIBDIR
and MYSQL_INCDIR.
2016-04-05 20:32:32 +02:00
FrancisANDRE
f85486987c Remove reference to CppUnit.lib
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2016-03-30 11:07:29 +02:00
FrancisANDRE
c0a9263e3d Starting from VS2015, struct timespec is defined by windows.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2016-03-30 09:43:58 +02:00
FrancisANDRE
abb5ccaf0f Remove reference to CppUnit.lib
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2016-03-30 09:42:41 +02:00
FrancisANDRE
eda8a13b96 Adding <my_glob.h> introduces the macro max with #define max on Linux.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2016-03-12 11:51:13 +01:00
Alex Fabijanic
2a80322ecb merge dev and resolve conflicts 2016-03-11 20:57:28 -08:00
Guenter Obiltschnig
c4ca7bb732 another attempt at #1187: retry mysql_stmt_prepare if server has gone away 2016-03-11 14:47:30 +01:00
Alex Fabijanic
d63c8afbb8 merge develop 2016-03-10 19:33:24 -08:00
FrancisANDRE
dd7455f4e8 Merge remote-tracking branch 'pocoproject/develop' into MySQLOnTravisAndAppVeyor 2016-03-10 23:16:01 +01:00
Guenter Obiltschnig
a42505b9ed fix for #1187: don't send timeout to zero 2016-03-10 21:30:17 +01:00
FrancisANDRE
ec168cad6f Use empty password for root user on Travis.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2016-03-08 10:55:14 +01:00
Alex Fabijanic
3eb023132b Merge branch 'develop' into pr/1113
Conflicts:
	Foundation/testsuite/TestSuite_vs120.vcxproj
2016-03-07 21:38:26 -08:00
FrancisANDRE
660cae629b WIP Data/MySQL
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2016-03-07 16:06:03 +01:00
Francis ANDRE
29140dbf61 use Poco::NumberParser to convert the port to int 2016-03-07 11:48:45 +01:00
FrancisANDRE
3e47ae2fb1 Run Data/MySQL on AppVeyor
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2016-03-07 08:16:48 +01:00
Alex Fabijanic
32f3f4a146 merge Data changes (ODBC Sybase, PostgreSQL etc) 2016-02-28 11:06:08 -06:00
FrancisANDRE
ce797f7700 Make CppUnit a component of Poco
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2016-01-08 00:17:13 +01:00
Csaba Keszegh
61305c01ee fix: set public compiler flags on library targets
POCO_STATIC: has to be set when using poco as static library
POCO_NO_ATUMATIC_LIBS: CMake config module will find the correct libraries.
  Don't need to guess in headers.
2015-09-15 10:02:38 +02:00
Günter Obiltschnig
b6ae5128ce added Visual Studio 2015 project files 2015-07-30 15:48:45 +02:00
martin-osborne
7780ab3ae0 Corrected more spellings. 2015-04-10 11:43:49 +01:00
martin-osborne
4cf45ea4a3 Corrected more words. 2015-04-10 11:31:12 +01:00
Sascha Zelzer
10425a9556 Do not overwrite CMAKE_PREFIX_PATH in component config files.
This fixes problems when a project adds a directory to
CMAKE_PREFIX_PATH, then calls find_package(Poco ...) and afterwards
calls find_package() for another project located in one of the
directories of the original CMAKE_PREFIX_PATH variable.
2015-02-04 04:35:23 +01:00
Pascal Bach
f778e67430 CMake: Improve installation and package generation
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
2015-01-27 15:52:18 +01:00
Pascal Bach
10ef2b2335 CMake: Remove WinDriver usage in tests
Add WinCEDriver to packages supporting it
2014-12-21 16:23:35 +01:00
Aleksandar Fabijanic
86b81bfcbd GH #499: Poco::Data::Statement::execute returns wrong value when zero results (ODBC) 2014-12-17 23:36:26 -06:00
Aleksandar Fabijanic
76573294e5 Fix for #641 MySQL - LONGBLOB problem on 64-bit systems 2014-12-16 19:24:33 -06:00
Guenter Obiltschnig
931a5a5252 Removing support for Visual Studio.NET 2003 and Visual Studio 2005 - it's time to say goodbye to the past 2014-12-15 11:05:13 +01:00
Günter Obiltschnig
bc0978d01e fixed GH #471: vs2010 release builds have optimization disabled
fixed GH #616: Visual Studio warning C4244
2014-11-20 21:22:52 +01:00
Pascal Bach
b69fafb84c CMake: Create PocoConfig.cmake to make importable from other CMake projects
The generated PocoConfig.cmake can be used by other CMake projects using find_package.
2014-10-14 17:58:46 +02:00
Günter Obiltschnig
6fe2e4fb11 VS project files: do not share intermediate directory between projects in same folder 2014-10-06 13:51:49 +02:00
Guenter Obiltschnig
85fd968a1e #538 prevent destructors from throwing exceptions 2014-09-19 10:13:03 +02:00
Pascal Bach
7950001803 cmake: Cleanup CMakeLists.txt for all components
- Add missing CMakeLists.txt
- Use POCO_ macros to improve code structure in XCode/VisualStudio
- Better ODBC detection
- Remove unnecessary commented out code

The CMake documentation recommends explicitly listing source files, but because CMake is not the primary build system GLOB patterns are used for the moment.
2014-08-22 17:11:03 +02:00
Christopher Baker
e469e4fc62 Fix static init exceptions for MinGW*. 2014-08-21 14:27:51 -05:00
Günter Obiltschnig
30bb18f394 added VS2013 project/solution files for Windows Embedded Compact 2013 2014-08-09 10:49:04 +02:00
Pascal Bach
0fd90ec722 cmake: Data cleanup
- explicitly list files
- use find_package for MySQL and ODBC
- remove unused code
- remove unnecessary include dirs
- support unbundled SQLite3
- replace tabs by spaces

Reviewed-by: Roger Meier <r.meier@siemens.com>
2014-07-10 09:15:06 +02:00
Josh Blum
f442148670 poco: library install dirs per RUNTIME/LIBRARY/ARCHIVE
For a unix system, this commit implies no changes by default. However, the ${LIB_SUFFIX} convention was added so the build can be configured for a red-hat style installation which uses lib64 by specifying cmake -DLIB_SUFFIX=64

For a windows build (msvc), this commit will cause the .dll files to be installed in the bin/ path; import libraries .lib are still installed in the lib/ path. Installing dlls into the bin path is preferable because dlls must be in the executable %PATH% to be found at runtime, as there is not equivalent of a separate library path as there is on unix.
2014-05-21 14:16:34 -07:00
Roger Meier
b0581433a7 LICENSE: add info about SPDX-License-Identifier usage and use it
fix: remove executable flag and change back to 100644 (was 100755)

Signed-off-by: Roger Meier <r.meier@siemens.com>
2014-05-14 08:38:09 +02:00
Alex Fabijanic
0a61d7a2b9 GH #154 Add support for MYSQL_TYPE_NEWDECIMAL
GH #154 Add support for MYSQL_TYPE_NEWDECIMAL to Poco::Data::MySQL
2014-05-12 02:41:48 -05:00
Alex Fabijanic
74176f7c90 restore id and add tested DB version 2014-05-05 20:10:14 -05:00
Alex Fabijanic
ea56db0e55 restore SPDX license 2014-05-05 20:00:25 -05:00