207 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
martin-osborne
12c0594db6 Corrected misspelt 'b' and 'c' words. 2015-04-06 17:56:13 +01:00
Alex Fabijanic
07a2529d9d JSON Formatter modifications 2015-02-12 20:49:35 -06: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
Guenter Obiltschnig
8859346898 fixed POCO_SQLITE_INV_ROW_CNT initialization 2014-12-18 12:14:09 +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
Guenter Obiltschnig
c49a954a8d workaround for GH #578 2014-12-17 09:20:52 +01: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
Guenter Obiltschnig
b8503e82e0 upgraded bundled SQLite to 3.8.7.2, take care of SQLITE_BUSY_RECOVERY and SQLITE_BUSY_SNAPSHOT 2014-11-19 18:46:17 +01:00
Guenter Obiltschnig
e95b6dea87 upgraded bundled SQLite to 3.8.7.1;
fixed #590: Poco::Data::SQlite doesn't support URI filenames
2014-11-07 11:12:04 +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
edf4645cf9 upgraded SQLite to 3.8.6 2014-09-30 15:10:55 +02:00
Guenter Obiltschnig
85fd968a1e #538 prevent destructors from throwing exceptions 2014-09-19 10:13:03 +02:00
Günter Obiltschnig
e30ff7dd8c Merge pull request #517 from cristiantm/enh-sqlite-timeoutProperty
Adding timeout as property on SQLite
2014-09-17 19:44:46 +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
Cristian Thiago Moecke
48d387e33d Removing unecessary temporary variable 2014-08-05 11:25:54 -03:00
Cristian Thiago Moecke
40ce74141f Removing unecessary include 2014-08-04 17:16:04 -03:00
Cristian Thiago Moecke
0ba87ea2c2 Adding property to SQLite SessionImpl as solution for issue #248 2014-08-04 17:05:57 -03:00