Alex Fabijanic
21704830f1
SQLite not handling parameter count mismatch correctly #2020
2017-11-29 19:39:45 -06:00
Scott Talbert
1724e8ba53
Backport patches ( #2006 )
...
* 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.
* Some of the samples need to link with PocoJSON
* Build parallelization issues #1730
* Fix building XMLStreamParser with unbundled expat
2017-11-20 09:31:20 -06:00
Guenter Obiltschnig
6acbe795b7
upgrade bundled sqlite to 3.21.0
2017-11-09 13:07:39 +01:00
Günter Obiltschnig
88ce18e198
fixed GH #1404 : Add Poco::Data::Statement::bind() method
2017-11-08 19:30:40 +01:00
zosrothko
f2e58c17e8
Add Gradle build scripts.
2017-10-31 09:07:53 +01:00
Alex Fabijanic
1b2bd22d34
wrong field size calculation in ODBC code #1659 and other develop backports
2017-10-30 13:24:32 -05:00
Alex Fabijanic
43195651af
Poco::Data ODBC impl doesn't bind to unsigned numeric types properly #1683
2017-10-20 22:14:07 -05:00
Alex Fabijanic
94e9f2eec2
getConnectionTimeout of SQLite DB wrapper returns wrong value (in milliseconds, should be in seconds) #1729
2017-10-12 20:46:53 -05:00
Alex Fabijanic
c7f105d1cd
DateTime wrong binding/extraction for MySQL database #1897 ; add docker mysql runtests
2017-10-07 12:43:04 -05:00
Günter Obiltschnig
04e7e04d4d
Remove \$Id`$ headers
2017-09-09 11:14:06 +02:00
Guenter Obiltschnig
c7a11d5722
upgrade bundled sqlite to 3.20.1
2017-09-01 19:54:41 +02:00
Günter Obiltschnig
da6e1d97ef
upgraded bundled sqlite to 3.20.0
2017-08-12 20:53:08 +02:00
Guenter Obiltschnig
f10d3a28f3
added Visual Studio 2017 project files
2017-02-20 16:20:16 +01:00
Guenter Obiltschnig
2de97f7ef4
fixed file headers
2017-02-18 14:30:54 +01:00
Guenter Obiltschnig
6548da5678
fixed docs
2017-02-18 14:03:55 +01:00
Guenter Obiltschnig
39ef64eead
GH #1558 : upgrade bundled SQLite to 3.16.2
2017-02-11 20:07:10 +01:00
Guenter Obiltschnig
f88eaabcea
fixed GH #1571 : ODBC Preparator memory leak
2017-02-11 12:24:36 +01:00
Guenter Obiltschnig
642bf58480
fixed GH #1532 : RecordSet and RowFilter: bad use of reference counter
2016-12-30 10:06:06 +01:00
Guenter Obiltschnig
ba4a5af389
fixed GH #1461 : Poco::Data::SQLite::SQLiteStatementImpl::next() error
2016-12-07 13:05:24 +01:00
Guenter Obiltschnig
77df1f6d3f
fixed GH #1436 : ODBC Bug: Unicode text(NVARCHAT) read from DB is truncated to half.
2016-12-07 12:55:40 +01:00
Jan Viktorin
45642a3d4f
Support ODBC GUID data type as string
...
The ODBC defines SQL_GUID datatype in sqlext.h. It is used
e.g. for transfer of UUID datatype from PostgreSQL.
Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
2016-11-12 21:25:23 +01:00
Jan Viktorin
97cbd9f03d
ODBC: fix uninitialized variable
...
This prevents valgrind reports like:
==18426== Conditional jump or move depends on uninitialised value(s)
==18426== at 0x6423EB5: Poco::Data::StatementImpl::execute(bool const&) (in /usr/lib/libPocoDatad.so.46)
==18426== by 0x641DB5F: Poco::Data::Statement::execute(bool) (in /usr/lib/libPocoDatad.so.46)
==18426== by 0x632A0C: Poco::Data::Keywords::now(Poco::Data::Statement&) (Statement.h:443)
==18426== by 0x641C8E5: Poco::Data::Statement::operator,(void (*)(Poco::Data::Statement&)) (in /usr/lib/libPocoDatad.so.46)
...
==18426== Uninitialised value was created by a stack allocation
==18426== at 0x6A1A170: Poco::Data::ODBC::ODBCStatementImpl::affectedRowCount() const (in /usr/lib/libPocoDataODBCd.so.46)
Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
2016-11-10 19:52:38 +01:00
Guenter Obiltschnig
91f0b270a6
fixed GH #1464 : ODBCMetaColumn::init() always maps integer NUMERIC/DECIMAL to Int32
2016-10-22 10:06:43 +02:00
Guenter Obiltschnig
c4c5f18b97
fixed typo in testsuite
2016-10-14 11:51:23 +02:00
Guenter Obiltschnig
22a5def393
initialize all members in ctor
2016-09-26 18:10:07 +02:00
Guenter Obiltschnig
26ccbe2504
fixed uninitialized members in ctor
2016-09-26 17:50:28 +02:00
Guenter Obiltschnig
5ad31f2236
initialize all members in default ctor
2016-09-26 17:42:01 +02:00
Guenter Obiltschnig
0a1a4f70dd
style fix
2016-09-26 17:00:20 +02:00
Guenter Obiltschnig
8a9b7abe2f
bugfix: _null member not initialized in ctor
2016-09-26 16:53:59 +02:00
Guenter Obiltschnig
f3e0bf540d
handle connection lost/server gone error when starting a transaction
2016-09-15 12:02:52 +02:00
Guenter Obiltschnig
7c37f18f84
fixed some warnings and minor issues detected by clang-analyzer
2016-09-13 11:37:12 +02:00
Guenter Obiltschnig
154a202142
don't include connection string in exception message
2016-09-11 01:41:42 +02:00
Günter Obiltschnig
04ade7b2b2
fixed GH #1252 : Unable to compile Poco::Data for Windows Compact Embedded 2013
2016-08-27 11:14:24 +02:00
Guenter Obiltschnig
4232d0b497
updated sqlite to 3.14.1
2016-08-27 08:45:01 +02:00
Guenter Obiltschnig
d62a3bed69
fixed GH #1300 : Session constructor hangs
2016-07-03 14:13:40 +02:00
Guenter Obiltschnig
65ef15d98f
upgraded bundled SQLite to 3.13.0
2016-07-03 11:16:47 +02:00
Guenter Obiltschnig
b530485f92
#1221 : upgrade bundled sqlite to 3.12.2
2016-04-21 10:08:36 +02:00
Guenter Obiltschnig
4ee483d930
style fixes
2016-04-16 09:49:03 +02:00
Guenter Obiltschnig
0c91f8714d
upgraded bundled SQLite to 3.12.1
2016-04-11 10:47:55 +02:00
Guenter Obiltschnig
ed23f24639
fixed GH #1236 : Remove Poco::Data::Row::checkEmpty() as it prevents Row from being used with all NULL rows
2016-04-11 10:38:33 +02:00
Guenter Obiltschnig
089dd0e2d2
upgraded bundled sqlite to 3.11.1
2016-03-19 07:59:18 +01:00
Guenter Obiltschnig
6f44a02a65
another fix for #1203 : need to reset _rowMap as well. Also, don't hide reset() from base class
2016-03-17 10:07:40 +01:00
Guenter Obiltschnig
58751caca0
fixed GH# #1203 : Poco::Data::RecordSet should be reusable
2016-03-17 09:15:23 +01:00
Guenter Obiltschnig
6572db8df0
better logging if rollback fails with Exception
2016-03-12 20:39:51 +01:00
Guenter Obiltschnig
2500d55297
fixed typo
2016-03-12 20:20:35 +01:00
Guenter Obiltschnig
dcfc20a247
another attempt at #1187 : retry mysql_stmt_prepare if server has gone away
2016-03-11 14:46:32 +01:00
Guenter Obiltschnig
9a81312bcf
fix for #1187 : don't set timeout to zero
2016-03-10 21:29:11 +01:00
Guenter Obiltschnig
8b5761c78a
fixed GH #1171 : Poco::Data::RecordSet: rowCount not reset after execute
2016-03-04 14:03:25 +01:00
Guenter Obiltschnig
4da3f6e645
fixed ODBC testsuite driver
2016-03-04 12:26:24 +01:00
Guenter Obiltschnig
d5a08a8564
added explicit connector registration
2016-03-01 18:31:50 +01:00
Guenter Obiltschnig
b3a503c13e
removed automatic Connector registration in ODBC and SQLite
2016-03-01 17:40:58 +01:00
Guenter Obiltschnig
ce4341e96b
removed automatic registration as it can cause a deadlock in mysql_library_init
2016-03-01 11:48:14 +01:00
Guenter Obiltschnig
6c66d0b49e
fix leap year issues in testsuites
2016-02-29 10:18:11 +01:00
Günter Obiltschnig
3d1a094725
Merge pull request #1026 from zosrothko/Cygwin
...
Fixes for producing the poco-1.6.2 release on a Cygwin x86 platform
2016-02-28 15:29:08 +01:00
Guenter Obiltschnig
8746f688c9
upgraded bundled sqlite to 3.11.0
2016-02-27 16:34:31 +01:00
Guenter Obiltschnig
dfa12e61d6
fixed GH #1137 : Missing 'longint' type in SQLite
2016-02-27 16:30:51 +01:00
FrancisANDRE
4d9c94c9fa
use .dll.a extension for Cygwin
...
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-11-10 14:05:12 +01:00
Guenter Obiltschnig
f2e9babb75
re-added customizeSession() method from 1.4.x releases
2015-11-02 10:21:07 +01:00
Guenter Obiltschnig
4b27f8edd2
fixed GH #967 : Missing data types in SQLite
2015-10-05 15:12:16 +02:00
Guenter Obiltschnig
e25a17030d
integrated CMake improvements from develop (GH #946 )
2015-09-26 11:11:23 +02:00
Guenter Obiltschnig
0ff1fd3f02
upgraded bundled SQLite to 3.8.11.1
2015-08-02 08:58:20 +02:00
Günter Obiltschnig
4f0b692d66
added project and solution files for VS2015
2015-08-01 10:29:32 +02: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
33998a2156
Merge branch 'develop' of https://github.com/pocoproject/poco into develop
2014-12-17 09:21:16 +01:00
Guenter Obiltschnig
c49a954a8d
workaround for GH #578
2014-12-17 09:20:52 +01: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
Alex Fabijanic
ccf0e78b6a
Data documentation sample code outdated #620
2014-11-24 19:37:16 -06:00
Alex Fabijanic
5830263700
added LineEndingConverter and WebNotifier to samples solutions
2014-11-20 21:33:01 -06: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
Alex Fabijanic
63a9c7cd2a
GH #512 : Poco:Data:ODBC:Binder.h causes a crash
2014-10-10 21:12:44 -05: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
71511b1960
fix TypeHandler sample
2014-10-06 07:35:55 +02:00
Guenter Obiltschnig
edf4645cf9
upgraded SQLite to 3.8.6
2014-09-30 15:10:55 +02:00
Günter Obiltschnig
a2617235fe
#538 more dtor fixes and some style fixes along the way
2014-09-29 12:09:01 +02:00
Guenter Obiltschnig
d50e5fd2c7
fixed testRowFormat
2014-09-27 17:40:27 +02:00
Guenter Obiltschnig
2e657d2a61
add column spacing to SimpleRowFormatter, can be specified in ctor
2014-09-23 22:43:00 +02:00
Guenter Obiltschnig
d663a6b570
add column spacing to SimpleRowFormatter, can be specified in ctor
2014-09-23 22:32:00 +02:00
Guenter Obiltschnig
85fd968a1e
#538 prevent destructors from throwing exceptions
2014-09-19 10:13:03 +02:00
Guenter Obiltschnig
544229302e
#538 prevent destructors from throwing exceptions
2014-09-19 09:46:49 +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
Matyas Dolak
d434d3cb12
Fixed ODBC WString size handling.
...
This fixes a bug where Poco would return a string 1 character shorter than is actually in the DB (when the string in the DB uses the full length of a CHAR(N) or VARCHAR(N) column).
2014-09-16 15:23:03 +02:00
Guenter Obiltschnig
67b206f663
removed unnecessary explicit in some multi-arg constructors
2014-09-10 16:44:36 +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
Mattes Dolak
ae3cc71263
Fixed ODBC on Win64.
...
The SQLGetConnectAttr() function can write up to 64-bit integers, as documented by MSDN here: http://msdn.microsoft.com/en-us/library/ms710297%28v=vs.85%29.aspx
This fix uses 64-bit integers instead of 32-bit ones, the original code corrupted the stack when used on win7-x64 with MSSQL 2008.
2014-07-16 09:19:03 +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
Pascal Bach
975c30faf0
Add CTests for all components
2014-06-17 11:30:03 +02:00
Alex Fabijanic
7a92e72bc8
Fix: HandleExeption assignment operator calls itself
2014-06-09 03:05:25 -05:00
Alex Fabijanic
c99c776aff
Merge branch 'develop' of https://github.com/pocoproject/poco into develop
2014-05-22 02:08:54 -05:00
Alex Fabijanic
5d5c75ac86
added more isEmpty() tests and fixed compile warnings
2014-05-22 02:08:46 -05: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
Alex Fabijanic
9d47f3ced8
- added GH #445 : Add flag to force POCO to preserve manually #defined target Windows versions
...
- fixed SQLite and MySQL broken builds
2014-05-21 04:47:24 -05:00
Alex Fabijanic
1aa28e1491
GH #290 : Unicode support
2014-05-21 03:28:24 -05: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
d3c8ec01f8
Merge branch 'develop' of https://github.com/pocoproject/poco into develop
2014-05-13 04:06:31 -05:00
Alex Fabijanic
609a35578c
cleared some 64-bit warnings and test failures
2014-05-13 04:06:00 -05: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
e4484db61e
Attempt to reproduce GH #261 (select into BLOB; the value of all BLOB records are same.)
2014-05-11 22:12:49 -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
Alex Fabijanic
3d36b0a8c5
mysql test db autocreate
2014-05-05 19:55:16 -05:00
Roger Meier
628a06f718
LICENSE: add info about SPDX-License-Identifier usage and use it
...
Signed-off-by: Roger Meier <roger@bufferoverflow.ch>
2014-05-04 21:02:42 +02:00
Alex Fabijanic
ba3a8b08c5
GH #341 : Compiling poco-1.5.2 for Cygwin
2014-04-29 23:06:01 -05:00
Alex Fabijanic
794ee36b3d
GH #346 : Make Poco::Data::Date and Poco::Data::Time compare functions const.
2014-04-29 22:39:30 -05:00
Alex Fabijanic
8a9e7792d9
- fixed GH #362 : Defect in Var::parseString when there is no space between value and newline
...
- fixed GH #314 : JSON parsing bug
- added GH #313 : MetaColumn additions for Data::ODBC and Data::SQLite
2014-04-29 21:25:30 -05:00
Guenter Obiltschnig
e044d77717
Merge branch 'develop' of https://github.com/pocoproject/poco into develop
2014-04-23 13:30:51 +02:00
Guenter Obiltschnig
f8169eabac
updated SDK in WEC2013 project files
2014-04-23 13:30:27 +02:00
Günter Obiltschnig
85873d02c9
re-generated VS2013 testsuite projects without MFC
2014-04-21 22:10:34 +02:00
Günter Obiltschnig
aec59ebe84
added /bigobj option for Data 64-bit builds; ProGen now suports vc.project.compiler/linker.additionalOptions settings in .progen files
2014-04-21 20:39:40 +02:00
Günter Obiltschnig
12c7bb562d
re-generated vs100-vs120 project files
2014-04-21 10:50:51 +02:00
Alex Fabijanic
5e67a04540
- add SQLite FTS define to windows non-embedded testsuites
...
- remove POCO_DATA_SQLITE_FTS define from Config.h
- add console message when FTS tests are no-op
2014-04-19 13:26:09 -05:00
Alex Fabijanic
7ca90c7de1
- make SQLite FTS default on non-embedded windows
...
- add support for SQLite thread safety configuration on POSIX platforms
- add WEC2013 support to windows Powersjhell build script
2014-04-19 12:59:50 -05:00
Alex Fabijanic
0a54661bb0
- added optional SQLite Full Text Search support
...
- Powershell build fixes:
1) Add platform for MSbuild
2) fixed omit array handling
2014-04-18 21:32:30 -05:00
Guenter Obiltschnig
835845422c
minor performance improvement, better workaround for clang issue with handle property
2014-04-18 21:27:46 +02:00
Guenter Obiltschnig
8d14b92b65
source code cosmetics
2014-04-18 21:09:13 +02:00
Günter Obiltschnig
7df5583f57
fixed GH #376 : Defect: checking null value when using the same statement multiple times.
2014-04-18 20:50:03 +02:00
Pascal Bach
1e22982ad8
Fix missing ")" in SQLite Connector for windows
2014-03-27 11:29:50 +01:00
Günter Obiltschnig
b2ba1dfb74
-added Windows Embedded Compact 2013 support
2014-03-17 14:36:17 +01:00
Pascal Bach
3f59866f21
Fix additional RecordSet examples in Poco Data
2014-02-27 10:48:45 +01:00
Pascal Bach
a7f17f3161
Fix RecordSet example in Poco Data
2014-02-27 10:29:41 +01:00
Pascal Bach
fdd17d8131
Fix missing double "::" in Poco Data example
2014-02-27 10:17:49 +01:00
Pascal Bach
4c6f75ba41
Fix assert statement in Poco Data documentation
2014-02-27 09:58:49 +01:00
Aleksandar Fabijanic
35e0bd5560
Spelling fix in SessionPool documentation
2014-02-24 20:11:48 -06:00
Sergei Nikulov
dec6bc3918
cmake: added /bigobj option for msvc
2014-02-22 23:31:23 +04:00
Alex Fabijanic
0ad18f3e80
SessionPool diagnostics
2014-02-10 21:33:38 -06:00
Linquize
c2ca2ffb58
Build the libraries before their TestSuites
...
Fixes error LINK : fatal error LNK1104: cannot open file 'Poco*.lib'
2014-01-16 08:03:42 +08:00
latitude37s
58121249c7
Fixed setting of MYSQL_BIND is_unsigned value.
2013-12-19 18:00:19 +00:00
latitude37s
89a4fd6dd6
fieldSize() returns std::size_t, which is not necessarily the same width as unsigned long.
2013-12-19 17:05:50 +00:00
latitude37s
e94075c023
Correctly set MySQL time_type for Poco::Data::Date.
2013-12-19 16:50:38 +00:00
latitude37s
a1792fa833
Removed redundant #includes and fixed spelling mistakes.
2013-12-19 16:32:55 +00:00
Guenter Obiltschnig
af51162455
fixed GH# 350: Memory leak in Data/ODBC with BLOB
2013-12-18 19:34:03 +01:00
Guenter Obiltschnig
8f07db4aa3
various fixes - see CHANGELOG
2013-11-14 21:54:41 +01:00
Alex Fabijanic
1c732e9938
removed MFC dependencies (WinTestRunner) from test VS projects
2013-11-07 23:31:30 -06:00
Alex Fabijanic
4297d78621
VS 2013 projects/solutions
2013-11-05 23:11:28 -06:00
Guenter Obiltschnig
4923172241
build system fixes
2013-09-18 20:12:27 +02:00
Guenter Obiltschnig
fd6433eb4e
fixed GH# 252: Unsupported data type "NUMERIC" in SQLite
2013-08-02 18:21:38 +02:00
Yuan Pengfei
1324366974
Add MySQL charset configuration support
2013-07-25 08:19:52 +08:00
Günter Obiltschnig
c7f873eee8
added missing x64_vs90 project files, fixed Util x64 project files, fixed some warnings
2013-07-22 20:44:35 +02:00
Guenter Obiltschnig
d09a728029
MySQL: accept BLOBs type for strings
2013-07-18 12:37:38 +02:00
Aleksandar Fabijanic
36025ccc33
GH #224 : building 1.5.1 on Windows for x64
2013-06-18 00:02:04 -05:00
Alex
ae7fe5f4be
fix MySQLTest info calls
2013-06-09 13:41:36 -05:00
Aleksandar Fabijanic
b95ec4fe53
MySQL fixes/additions/improvements
...
- fixed GH #187 : MySQL: allow access to the underlying connection handle
- added GH #186 : MySQL: support for MYSQL_SECURE_AUTH
- fixed GH #174 : MySQL: 4GB allocated when reading any largetext or
largeblob field
2013-06-09 12:33:57 -05:00
Cameron Smith
af84d915d0
Added new test to test case list.
2013-06-07 15:57:22 -04:00
Cameron Smith
07f33b729a
GH #192 : Unsigned integer values not handled properly in result sets
2013-06-07 15:14:18 -04:00
Aleksandar Fabijanic
bc808cf9d4
WebNotifier example
...
- added WebNotifier example
- fixed/tidied up SOO alignment code
2013-05-30 23:23:37 -05:00
Aleksandar Fabijanic
e5eaffb790
removed Var iterators, fixed SOO alignment
...
- removed unnecessary using directives in Data library
- removed iterator pointers from Var (reduce size, always return copy)
- added Alignment header (adapted from LLVM infrastructure)
- added alignment guards to SOO implementations
2013-05-29 23:36:45 -05:00
Aleksandar Fabijanic
38131d452d
Var/JSON changes
...
- JSON support for Dynamic Struct and Array
- added VarIterator
- modified behavior of empty Var
2013-05-27 21:33:27 -05:00
Guenter Obiltschnig
4c8d810cec
upgraded bundled sqlite to 3.7.17
2013-05-25 21:36:38 +02:00
Alex
e06fec0e24
MySQL test TypeHandler SharedPtrs
2013-04-28 21:17:20 -05:00
Alex
6c82001661
clang compile fix
2013-04-28 20:33:09 -05:00
Aleksandar Fabijanic
ebff906402
more Data housekeeping
...
replaced more pointers with SharedPtr
2013-04-28 20:09:36 -05:00
Aleksandar Fabijanic
9663074e9e
clang/mac fixes
2013-04-28 12:49:02 -05:00
Aleksandar Fabijanic
a50823c5a8
data housekeeping
...
- removed naked pointers from Data interfaces
- fixed GH #82 : name conflict in Data::Keywords::bind
- fixed GH #157 : MySQL: cannot bind to 'long' data type on
Windows/Visual C++
- fixed GH #158 : MySQL: MYSQL_BIND 'is_unsigned' member is not set
2013-04-28 12:34:07 -05:00
Aleksandar Fabijanic
225401743f
case-insensitivity for SessionPool
2013-04-21 21:39:37 -05:00
Guenter Obiltschnig
2481fdea78
- Data/ODBC: added support for setting query timeout (via setProperty
...
of "queryTimeout"). Timeout is int, given in seconds.
2013-04-10 22:07:10 +02:00
aleks-f
04decc0133
removed unused vars in tests
2013-04-03 20:11:29 -05:00
aleks-f
dae51b2ebe
Mac/clang compile
2013-04-03 20:02:35 -05:00
aleks-f
1021b792b7
change RowFormatter* to RowFormatterPtr
...
Modified all uses of RowFormatter pointer to SharedPtr (RowFormatterPtr)
2013-04-03 19:19:29 -05:00
aleks-f
ce666f84f1
added missing Data x64 solutions for VS 2010
...
- fixed GH #102 : Some subprojects don't have x64 solutions for VS 2010
2013-03-19 21:41:57 -05:00
aleks-f
daef0aa403
MongoDB sample build files
2013-03-12 22:58:37 -05:00
Marian Krivos
f137388cb5
cmake fix for SQLite Notifier.cpp
2013-02-23 14:29:11 +01:00
Adrian Imboden
453946edcf
MySQL: Take mysql_affected_rows returning -1 into account (was not a SELECT statement)
2013-02-22 00:05:21 +01:00
Adrian Imboden
7354622810
Updated MySQL UnitTest
2013-02-21 21:59:52 +01:00
Adrian Imboden
4ce851672a
MySQL: Implemented affectedRowCount
2013-02-21 20:34:20 +01:00
Adrian Imboden
b0bc3084d2
Data/SessionPool: Spelling mistakes fixed
2013-02-21 00:19:31 +01:00
aleks-f
6943505634
SQLite event notifier
...
Notifier is SQLite DB event (insert, update, delete, commit, rollback)
callback wrapper.
2013-02-20 16:35:42 -06:00
aleks-f
c1af36b973
delete from table optimization comment
2013-02-18 10:48:05 -06:00
aleks-f
32602031fc
removed delete from table optimization workaround
...
- added more affected rows tests
- removed documentation and thes for "DELETE FROM TABLE" optimization
bug (fixed as of SQLite 3.6.5, see http://sqlite.org/lang_delete.html )
2013-02-18 10:46:49 -06:00
Aleksandar Fabijanic
11cddbf751
Merge pull request #91 from RangelReale/sqlitedual
...
Improve SQLite multi-threaded use
2013-02-18 08:33:38 -08:00
aleks-f
9378680c0b
Merge remote-tracking branch 'origin/ip-address-soo' into develop
2013-02-17 16:33:44 -06:00
aleks-f
efc0387838
gcc warning fix
2013-02-17 16:30:31 -06:00
Alex
6cae42a29c
clang fixes
2013-02-17 16:11:09 -06:00
aleks-f
9ea546d981
more callbacks and transaction tests
...
- added callbacks for commit and rollback with tests
- added transaction tests
2013-02-17 15:12:07 -06:00
Rangel Reale
7f6bc31364
* Use sqlite3_stmt_readonly to determine if sqlite3_changes should be called
...
* Remove sys.dual dependency, improving multi-threaded applications
2013-02-17 12:03:01 -03:00
Adrian Imboden
6149beb920
Fixed bug: Pointers to vector internas were given away and became invalid because of resizing the vector
2013-02-12 23:43:02 +01:00
aleks-f
59087c7cf1
passify g++
2013-02-10 22:43:13 -06:00
aleks-f
93c9e83e8d
SQLite update event handling
2013-02-10 22:27:16 -06:00
aleks-f
4bcddad43e
auto-init for db back-ends
...
Auto initialization for all DB back-ends and some tidy-up for network
windows auto initialization
2013-02-10 09:06:54 -06:00
aleks-f
c7cb7e4498
Time gcc compile fix
2013-02-09 22:54:28 -06:00
aleks-f
f09e1820cd
LOB gcc compile fix
2013-02-09 22:53:10 -06:00
aleks-f
317fd37d2b
another compile fix
2013-02-09 22:51:28 -06:00
aleks-f
134a2b9a73
gcc Var Date compile fix
2013-02-09 22:50:32 -06:00
aleks-f
6a859abb41
gcc Var Date conversion fix
2013-02-09 22:48:56 -06:00
aleks-f
d6042065ec
Auto init for Net and SQLite (win)
...
Auto init for Net and SQLite (only tested on Windows)
2013-02-09 22:39:07 -06:00
aleks-f
21da0129b6
Dynamic::Var SOO
...
Dynamic::Var small object optimization and some refactoring
2013-02-05 22:12:21 -06:00
aleks-f
76a7e2e716
GH56: Need a way to disable *_API macros with GCC
...
GH #56 : Need a way to disable *_API macros with GCC
2013-01-13 10:31:21 -06:00
aleks-f
ba70e7f734
fixed and improved thread mode set/test
...
fixed and improved threading mode setting and testing/benchmarking
2012-12-23 15:27:32 -06:00
aleks-f
50b67d711f
added multi-session sys table tests
2012-12-23 03:27:56 -06:00
aleks-f
760fa4bbb0
see CHANGELOG
...
- upgraded SQLite to version 3.7.15.1 (2012-12-19)
- fixed SQLite affectedRows reporting and added tests
- added SQLite::Utility::isThreadSafe() function
- added SQLite::Utility::setThreadMode(int mode) function
- fixed GH #41 : Buffer::resize crash
2012-12-23 02:36:01 -06:00
Alex
b38e5bf3df
replaced spaces with tab
2012-12-17 00:02:41 -06:00
aleks-f
7e1374a004
remove unecessary toLower()
...
make SessionFactory map keys case insensitive nad remove unnecessary
toLower() calls
2012-12-16 22:06:03 -06:00
aleks-f
56812d353b
Merge branch 'develop' of https://github.com/pocoproject/poco into develop
2012-12-16 19:46:19 -06:00
aleks-f
e75081af94
added Token::asInteger64(); ODBC tests fix for case-sensitive DB
2012-12-16 19:45:38 -06:00
Alex
19ef47474b
silence deprecated iODBC warnings
2012-12-16 13:52:39 -06:00
Mathäus Mendel
dc9aafa7a1
Moved contributed CMake modules to "cmake" folder
...
By convention CMake project files are placed on a folder called "cmake" and then called from the build system by appending the CMAKE_MODULE_PATH variable
2012-12-16 00:40:40 -02:00
Aleksandar Fabijanic
031302469f
revise ODBC Unicode string functions
...
http://support.microsoft.com/kb/294169
added Buffer::size/capacityBytes returning length of buffer in bytes
only windows Unicode ODBC tested
reverting the SF #506 fix (non-conforming driver, causes problems with
other ODBC drivers)
2012-12-15 13:47:22 -06:00
aleks-f
e837015176
separate tests for Date/Time
2012-12-15 10:22:34 -06:00
aleks-f
be73b11b54
test db address
2012-12-14 19:55:46 -06:00
aleks-f
413db6d246
clean temp file garbage
2012-12-14 19:53:59 -06:00
aleks-f
2a81e59e8c
MySQL DateTime support, samples Linux compile
2012-12-14 19:48:10 -06:00
aleks-f
ef9cda6666
GH #26 : Cannot compile on gcc
...
GH #26 : Cannot compile on gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 using
compiler flag pedantic
2012-12-12 23:02:20 -06:00
Alex
560908b715
SF #97 fix c++0x / clang++ bugs
2012-12-11 22:29:33 -06:00
Alex
7529891713
#593 Poco 1.5.0 on FreeBSD: cannot find -ldl
2012-12-11 22:29:33 -06:00
aleks-f
e3d49fe766
Data::ODBC::SessionImpl.canTransact fails on Win7
...
SF #506 : Data::ODBC::SessionImpl.canTransact fails on Win 7
2012-12-11 22:00:56 -06:00
Mathäus Mendel
e3649153b8
Fixed build with CMake
...
Used CMAKE_DEBUG_POSTFIX instead LIB_EXT for library name decoration on debug builds (less intrusive and more flexible)
2012-12-08 15:54:38 -02:00
aleks-f
ec84a9a8c6
added DateTime to samples
...
added DateTime to samples
fixed TypeHandler::prepare for AutoPtr and SharedPtr
2012-12-06 22:35:08 -06:00
aleks-f
eaa74307a6
see CHANGELOG
...
- added Poco::istring (case-insensitive string) and Poco::isubstr
(case-insensitive substring search)
- improved SQLite execute() return (affected rows) value
- added SQLite sys.dual (in-memory system table)
- applied SF Patch #120 : The ExpireLRUCache does not compile with a
tuple as key on Visual Studio 2010
- fixed SF Bug #599 : JSON::Array and JSON::Object size() member can
implicitly lose precision
- fixed SF Bug #602 : iterating database table rows not correct if no
data in table
- fixed SF Bug #603 : count() is missing in HashMap
- fixed GH #23 : JSON::Object::stringify throw BadCastException
- fixed GH #16 : NetworkInterface::firstAddress() should not throw on
unconfigured interfaces
- Android compile/build support (by Rangel Reale)
- TypeHandler::prepare() now takes const-reference
2012-12-04 23:33:44 -06:00
Rangel Reale
74cb607471
* BUGFIX: SQLiteStatement was return affected rows even when there were none
...
* Allows binding of null Poco::Any.
2012-11-11 11:54:38 -02:00
Guenter Obiltschnig
514566ecd7
removed .vmsbuild files, which are no longer maintained
2012-11-11 11:08:17 +01:00
Guenter Obiltschnig
8b91562dbd
more line ending fixes
2012-11-11 11:07:27 +01:00
Guenter Obiltschnig
87d7739f3d
removed .vcxproj.user files
2012-11-11 10:53:02 +01:00
Guenter Obiltschnig
79eab26377
the great line endings cleanup
2012-11-11 09:57:01 +01:00
Guenter Obiltschnig
78dfc96330
WinCE fixes
2012-10-15 09:52:27 +00:00
Guenter Obiltschnig
cba4641ab9
WinCE fixes
2012-10-15 09:49:17 +00:00
Guenter Obiltschnig
f5351b2f49
fixed 2012/64 project files
2012-10-14 14:55:49 +00:00
Guenter Obiltschnig
1d7fdb1494
updated docs
2012-10-14 12:29:08 +00:00
Guenter Obiltschnig
b90307c200
fixed vs2010 testsuite project files
2012-10-14 10:50:44 +00:00
Guenter Obiltschnig
b0dff76762
workaround for data testsuite linker issue
2012-10-14 09:51:34 +00:00
Guenter Obiltschnig
4624a585dd
workaround for data testsuite linker issue
2012-10-14 09:27:50 +00:00
Guenter Obiltschnig
d1e912ed46
fixed project files
2012-10-14 08:58:13 +00:00
Guenter Obiltschnig
41b31153a6
missing project files
2012-10-14 07:57:42 +00:00
Guenter Obiltschnig
cfcdace422
missing project files
2012-10-14 07:56:57 +00:00
Guenter Obiltschnig
e8a398afea
missing project files
2012-10-14 07:55:58 +00:00
Guenter Obiltschnig
4fd9628511
set WINVER to 0x501
2012-10-14 07:46:25 +00:00
Guenter Obiltschnig
b1b07db11c
set WINVER to 0x501
2012-10-14 07:45:16 +00:00
Guenter Obiltschnig
e4242bc888
set WINVER to 0x501
2012-10-14 07:43:27 +00:00
Guenter Obiltschnig
d97fce4a26
set WINVER to 0x501
2012-10-14 07:42:06 +00:00
Aleksandar Fabijanic
9f5a680e28
updated Data documentation
2012-10-13 18:01:10 +00:00
Guenter Obiltschnig
5b59077533
fixed project files
2012-10-13 13:22:45 +00:00
Guenter Obiltschnig
21ef6a0ba1
fixed project files
2012-10-13 13:04:10 +00:00
Guenter Obiltschnig
a158798fcb
doc fixes
2012-10-13 10:07:38 +00:00
Guenter Obiltschnig
045c23a9f6
renamed page files
2012-10-13 09:07:34 +00:00
Guenter Obiltschnig
e7b0913a7a
fixed Data project files
2012-10-10 18:40:01 +00:00
Guenter Obiltschnig
00e9222cbf
upgraded sqlite to 3.7.14.1
2012-10-10 17:30:40 +00:00
Aleksandar Fabijanic
0c05ec4701
Data documentation update
2012-09-25 23:39:33 +00:00
Aleksandar Fabijanic
fb275a9a30
Visual Studio 2012 projects and solutions files
2012-09-25 05:35:44 +00:00
Guenter Obiltschnig
984d8a5617
added release packaging and doc building scripts, fixed some osx build issues
2012-09-25 02:24:56 +00:00
Aleksandar Fabijanic
a6cc973fe3
add connector name shortcut to Session
2012-09-23 21:01:20 +00:00