Commit Graph

587 Commits

Author SHA1 Message Date
Günter Obiltschnig
98ba4617ed upgrade bundled SQLite to 3.26.0 2018-12-17 16:18:15 +01:00
Vojtěch Erben
8d4dee26ea Fixed PostgreSQL SessionImpl, use mysql_reset_connection() if it is
available

Use mysql_reset_connection() only if MySQL version is >= 5.7 or MariaDB
version is >= 3.0.0 otherwise fall back to myslq_refresh()
2018-11-21 10:14:07 +01:00
Vojtěch Erben
fc5f1684d5 Use mysql_refresh() instead of mysql_reset_connection() 2018-11-21 09:16:09 +01:00
Vojtěch Erben
5fc6c904bd Fixed missing method in SessionImpl in tests 2018-11-20 13:19:37 +01:00
Vojtěch Erben
a73462aedf Fixed ODBC SessionImpl 2018-11-20 10:57:58 +01:00
Vojtěch Erben
8f2fef23e4 Rename methods
resetConnection() -> reset()
2018-11-20 10:09:40 +01:00
Vojtěch Erben
6e6ad28a1f Reset connection when a session is returned to the SessionPool 2018-11-14 15:50:17 +01:00
Aleksandar Fabijanic
8d95644bad
SQLite Notifier has no table information #1687 (#2540) 2018-11-13 07:23:37 -06:00
Günter Obiltschnig
9f53d07d4c fixed GH #2538: Poco::Data::Session::connector() returns empty string for MySQL session. 2018-11-11 20:50:15 +01:00
Aleksmia
f36e246063 Fix CMakeLitst.txt in Data/PostgreSQL for enabling testsuits (#2519) 2018-10-29 07:40:30 -05:00
Joerg-Christian Boehme
eec8dedbb8
Merge cmake changes from develop (#2504)
* Increase PostgreSQL version number

* Take changes from develop for Define Platform Specific cmake

* Take changes from develop for find MySQL modul

* Take changes from develop for find ODBC modul

* Cleanup standard language compile features

* Fix cmake compile features

* Improve to find ODBC on windows

* Enable 64-bit build on AppVeyor

* Switch MySQL off on AppVeyor because of error LNK2038: mismatch detected for _MSC_VER: value 1800 doesnt match value 1900

* Move LCC define to MySQL
2018-10-18 07:07:46 +02:00
Joerg-Christian Boehme
e624b3315c
CMake improve find third-party libraries (#2478)
* Improve find thirdparty cmake module. Cleanup cmake build system

* Add additional settings for thirdparty paths and fix windows build

* Improve cmake getting started doc

* Fix postgresql build

* Add additional path for odbc windows kits
2018-10-10 13:43:34 +02:00
Francis ANDRE
3e242f741a Fix update PATH with the TestApp directoy for ProcessTest 2018-10-05 15:31:16 +02:00
Francis ANDRE
608d383786 Merge remote-tracking branch 'origin/poco-1.9.1' into poco-1.9.1
Conflicts:
	.travis.yml
2018-09-27 14:45:27 +02:00
Günter Obiltschnig
62bbeaec8f fix documentation of SQLChannel class 2018-09-27 11:25:47 +02:00
Francis ANDRE
4cee0f1b5e Fix defines for non-Windows platforms 2018-09-25 14:02:18 +02:00
Francis ANDRE
9a140fdae2 Fix Clang linker lib 2018-09-25 09:42:55 +02:00
Francis ANDRE
13e7fe1aae Add -lodbc for OSX/Linux 2018-09-24 21:46:23 +02:00
Francis ANDRE
1935abf81a Reformat 2018-09-24 21:31:55 +02:00
Günter Obiltschnig
c8af3f1c92 fixed unused warnings 2018-08-31 10:16:37 +02:00
Aleksandar Fabijanic
9d0a1d1a7a
typo fix 2018-06-27 18:00:10 -05:00
Francis ANDRE
5dbb9cc3de Regenerating VisualStudio projects 2018-06-20 09:47:40 +02:00
Francis ANDRE
b7330492e5 Add <TargetMachine>MachineX64</TargetMachine> on <Lib> element 2018-06-15 14:28:43 +02:00
Francis ANDRE
d603a15b8d Removing WinTestRunner 2018-06-10 20:42:54 +02:00
Francis ANDRE
19eecbaafb Remove WinTestRunner 2018-06-10 19:46:19 +02:00
Joerg-Christian Boehme
612f092235 Cleanup cmake build system to use transitive dependency management from cmake (#2321)
* Some cleanup in the root CMakeLists.txt

* Cleanup cmake targets

* Add find openssl modul for older cmake version

* Set proper scope

* Change crypto default to off

* Fix openssl default to on

* Remove global setting of C99 standard

* Set from C11 to C99

* Fix for NetSSL win build

* Set C99 compile features

* Fix Windows build

* Fix windows build

* Cleanup poco unbundle definition

* Fix PDF build

* Remove unused set affinity

* Add _CRT_SECURE_NO_WARNINGS as target compile definitions

* Add _AFXDLL as target compile definitions

* Remove commented out line

* Refactor add_definitions to target_compile_definitons in Util

* Refactor add_definitions to target_compile_definitons in XML

* Remove THREADSAFE in data sql cmake build

* Refactor add_definitions to target_compile_definition in cmake mysql

* Refactor add_definitions to target_compile_definition in cmake odbc

* Refactor add_definitions to target_compile_definition in cmake sqlite

* Refactor add_definitions to target_compile_definitions in platform specific cmake

* Add _DEBUG as compile definition

* Add build dependencies between Foundation-testrunner and TestApp, TestLibrary in cmake build

* Use cmake property to build shared libs

* Cleanup POCO_NO_AUTOMATIC_LIBS. Set only for Windows in cmake build system

* cleanup LIB_MODE_DEFINITIONS in cmake buld system

* Add POCO_STATIC for CppUnit

* Cleanup target link libraries and add option dependencies.

* Add dependencies management in cmake

* Update cmake documentation

* Squashed commit of the following:

commit 38c233f93fc8e9ad6e24d686c905eb18c86e19a7

    Fix "invalid new-expression of abstract class type ApacheServerRequest" (#2231)

    - abstract method "bool secure() const" defined in HTTPServerRequest was implemented in ApacheServerRequest, one of its derived classes
     - a ap_log_error had one of its parameters changed for fixing a warning "passing NULL to non-pointer argument"
     - minor indentation problems corrected

commit 4cbdfbe828943871618172f9e042176f115d61d8

    Fix build dependencies

* Improve database cmake build dependencies

* Update doc

* Update doc

* Update cmake build commands

* Set public on target link libraries in cmake build system

* Fix PostgreSQL build

* Fix PostgreSQL build in cmake

* Fix PostgreSQL from SQL to Data

* Squashed commit of the following:

commit 1ba7d5dcbfb8d07860dd4efda33b31bedf6184c4

    Add missing cmake file

* Set path to PostgresSQL in AppVoyer

* Try to fix AppVeyor build

* show dir in appvoyer

* Disable PostgreSQL build on Appvoyer

* Refactor add_definitions to target_compile_definitions
2018-06-03 11:17:50 -05:00
Francis ANDRE
4c22b871ae Use CppUnit as a Poco module: regenerate all VS projects 2018-05-28 23:29:12 +02:00
Francis ANDRE
db5d570f33 Add Poco as prefix of CppUnit import libs 2018-05-28 19:58:05 +02:00
Francis ANDRE
be79688077 Use PocoCppUnit instead of CppUnit 2018-05-25 14:05:00 +02:00
zosrothko
36fbbb7a6d Update for Data/PostgreSQL 2018-05-12 14:55:01 +02:00
zosrothko
e9db9bddb1 Build Data/PostgreSQL 2018-05-12 14:19:39 +02:00
Francis ANDRE
ea2de435ea Restore reference to postgres predefined lib 2018-05-12 12:25:35 +02:00
zosrothko
6ba292a567 Update gradle 2018-05-11 17:03:06 +02:00
Francis ANDRE
bbddf9744c Update Gradle 2018-05-07 21:09:22 +02:00
Francis ANDRE
3b3d2652fc Remove POCO_LIB_SUFFIX since PostgreSQL does not provide a debug libpq
library
2018-05-07 20:32:32 +02:00
Francis ANDRE
a5951c7795 Add POCO_LIB_SUFFIX to the #pragma link library name 2018-05-07 20:29:41 +02:00
Francis ANDRE
33dcd181e6 Rename PocoSQLPostgreSQL to PocoDataPostgreSQL 2018-05-07 19:05:51 +02:00
Alex Fabijanic
dc021ae25c Postgres Linux and cmake build 2018-05-07 11:50:39 -05:00
Alex Fabijanic
f6ddfe1d02 fix typeinfo compile error 2018-05-07 11:03:09 -05:00
Alex Fabijanic
f75bc3e00d add postgresql 2018-05-07 15:28:38 +00:00
Alex Fabijanic
55e56b668d data fixes (getters constness, string any handling) 2018-05-07 15:23:19 +00:00
Alex Fabijanic
fa042447a4 regenerate mysql vs projects 2018-05-07 15:22:12 +00:00
Francis ANDRE
cb3c31b4c6 Update Gradle build 2018-05-03 18:04:59 +02:00
zosrothko
215bd88183 Fix ODBC:testsuite build 2018-05-02 23:00:58 +02:00
zosrothko
0ae3bbda13 Use closure to add specific platform c++ code 2018-05-02 22:25:50 +02:00
zosrothko
821a88dd1a Gradle udpate 2018-05-02 15:49:58 +02:00
zosrothko
090d24dce4 Fix for Data/SQLite on Linux 2018-05-02 15:03:08 +02:00
Francis ANDRE
5ee68dc96f Readd Data/SQLite 2018-05-02 14:26:59 +02:00
zosrothko
8ed0f82b64 Update gradle 2018-04-20 13:26:38 +02:00
zosrothko
ca03c6b471 Update gradle 2018-04-20 13:25:51 +02:00