Commit Graph

524 Commits

Author SHA1 Message Date
Guenter Obiltschnig
9df405b580 fixed GH #1203: Poco::Data::RecordSet should be reusable 2016-03-16 23:15:36 +01:00
Guenter Obiltschnig
b30da7bcca better logging if rollback fails with Exception 2016-03-12 20:40:39 +01:00
Aleksandar Fabijanic
d49ea8a51b Merge pull request #1189 from mathausmendel/develop
Compilation fixes for AIX (IBM XLC)
2016-03-11 20:39:47 -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
Mathäus Mendel
8895045fb5 Made all testsuite link with pthreads on Unix systems
This fixes the linker errors due to missing pthreads library on AIX.
2016-03-11 10:30:15 -03: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
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
b158ae11db Use getPass instead of getPassword as in MySQL.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2016-03-07 08:21:53 +01:00
FrancisANDRE
3e47ae2fb1 Run Data/MySQL on AppVeyor
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2016-03-07 08:16:48 +01:00
FrancisANDRE
690104595d Merge remote-tracking branch 'pocoproj@github/develop' into PostgreSQLonTravisAndAppVeyor 2016-03-06 08:24:09 +01:00
FrancisANDRE
26232dfce5 AppVeyor fixes
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2016-03-05 17:57:11 +01:00
FrancisANDRE
7f38fc4ef0 Add Data/PostgreSQL to CMake build
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2016-03-05 17:55:28 +01:00
Günter Obiltschnig
fd4dcce4b8 Merge pull request #1134 from agalanin/sqlite-named-bind
Data::SQLite: added support for named bind parameters
2016-03-05 15:02:21 +01:00
FrancisANDRE
edbe20a1bd Setup the connection string when needed.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2016-03-05 13:57:46 +01:00
FrancisANDRE
6017de3598 AppVeyor CI for Data/PostgreSQL
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2016-03-05 11:57:09 +01:00
Guenter Obiltschnig
830894792d fixed GH #1171: Poco::Data::RecordSet: rowCount not reset after execute 2016-03-04 14:06:43 +01:00
Guenter Obiltschnig
634fc133b6 fix leap year issues in testsuites 2016-02-29 10:21:31 +01:00
Alex Fabijanic
86657f38f4 add PostgreSQL and ODBC Sybase tests 2016-02-28 15:11:12 -06:00
Alex Fabijanic
32f3f4a146 merge Data changes (ODBC Sybase, PostgreSQL etc) 2016-02-28 11:06:08 -06:00
Guenter Obiltschnig
266ea3117d fixed GH #1137: Missing 'longint' type in SQLite 2016-02-27 16:31:25 +01:00
Günter Obiltschnig
81e15f393f Merge pull request #1127 from vmiklos/data-wshadow-fixes
GH #1050 Data: fix gcc -Wshadow warnings
2016-02-16 10:03:08 +01:00
Marian Krivos
a75207b2e1 bump to sqlite 3.8.2 2016-02-07 11:33:08 +01:00
Scott Talbert
48111c3809 Guard SQLITE_BUSY_SNAPSHOT which is not available in older SQLite releases
When building POCO unbundled with older versions of SQLite (such as on RHEL7)
SQLITE_BUSY_SNAPSHOT is not defined, so #ifdef guard it.
2016-02-06 20:36:05 -05:00
Alexander Galanin
5608e84af4 Data::SQLite: added support for named bind parameters 2016-01-24 12:53:57 +03:00
Miklos Vajna
6d1a4f20ba GH #1050 Data: fix gcc -Wshadow warnings 2016-01-18 22:52:27 +01:00
FrancisANDRE
6e97a9f11b Split tests into samples & tests.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-19 17:15:55 +01:00
FrancisANDRE
f408331525 Use import libraries for Cygwin.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-11-18 19:57:15 +01:00
FrancisANDRE
f56ee9c0ac Restore erased return.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-11-18 19:56:21 +01:00
FrancisANDRE
d3d11e25d9 Restore previous version.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-11-18 12:34:16 +01:00
FrancisANDRE
75f0819737 IncrementVacuum test commented out since it fails on Travis.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-11-18 11:41:23 +01:00
FrancisANDRE
cf33959a49 Run IncrementVacuum only if sqlite3 version >= 3.9.0
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-11-18 09:27:45 +01:00
FrancisANDRE
629d2f12ba When we call statement execution for "PRAGMA incremental_vacuum(1024);"
it fails with null std iterator exception. It happens because variable
"extracts" is empty and construction "*extracts.begin()" is invalid.

Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-11-17 21:12:23 +01:00
Aleksandar Fabijanic
2b52b26b92 Merge pull request #1014 from mkrivos/develop
Sqlite 3.9.2
2015-11-05 06:49:48 -06:00
Marian Krivos
41f7870fec bump to sqlite 3.9.2 2015-11-04 18:19:11 +01:00
Guenter Obiltschnig
8fd28947b9 re-added customizeSession() method from 1.4.x releases 2015-11-02 10:22:27 +01:00
Aleksandar Fabijanic
64ed9bacf0 Merge pull request #922 from dimanikulin/develop
fixed sql lite statement for empty extracts
2015-10-21 10:04:57 -05:00
dmitriy.n
4e6ec71c18 deleted commented code 2015-10-20 10:18:59 +03:00
dmitriy.n
044a23b1e8 added test case for pull request 922 2015-10-19 16:55:53 +03:00
Guenter Obiltschnig
ec5580ffa2 fixed GH #967: Missing data types in SQLite 2015-10-05 15:12:42 +02: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
dmitriy.n
325874b9fd When we call statement execution for "PRAGMA incremental_vacuum(1024);" it fails with null std iterator exception. It happens because variable "extracts" is empty and construction "*extracts.begin()" is invalid. 2015-08-26 18:47:42 +03:00
Aleksandar Fabijanic
23f8842a14 Merge pull request #903 from zosrothko/develop
Various fixes for Cygwin X86_64 port and additional minor fixes
2015-08-20 16:56:46 -05:00
Aleksandar Fabijanic
9b56ef406c style fix 2015-08-19 16:59:04 -05:00
Günter Obiltschnig
2423f61e46 Merge pull request #911 from mkrivos/sqlite
SQLite bump to faster version 3.8.11.1
2015-08-19 20:43:41 +02:00
mkrivos
0f3eb63ddb SQLite bump to 3.8.11.1 2015-08-19 14:17:13 +02:00
FrancisANDRE
30cf39df79 -DSQLITE_OS_UNIX added so sqlite3.c compiles as a Unix system on
CYGWIN_NT-6.1 x86_64 instead as a WIN32 platform
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-08-18 11:12:12 +02:00
Günter Obiltschnig
b6ae5128ce added Visual Studio 2015 project files 2015-07-30 15:48:45 +02:00