587 Commits

Author SHA1 Message Date
Guenter Obiltschnig
8f4e890e32 fixed GH #1571: ODBC Preparator memory leak 2017-02-11 12:25:10 +01:00
Friedrich Wilckens
d98a0ae1e6 Add tests for std::tuple to Data/MySQL. 2017-01-18 11:28:24 -08:00
Friedrich Wilckens
5a8613eb2a Fixed formatting in DataTest.* 2017-01-17 10:39:49 -08:00
Friedrich Wilckens
bd19e0a0fe Data/TypeHandler: use std::size_t instead of size_t for template parameters. 2017-01-16 18:20:14 -08:00
Friedrich Wilckens
cc09e53b6a Added support for std::tuple to Data/Typehandler.h. 2017-01-16 17:49:25 -08:00
Marian Krivos
9cce6b2dd1 update to sqlite 3.16.2 2017-01-12 20:02:03 +01:00
Marian Krivos
1915e2b749 Update to sqlite 3.16.0 2017-01-03 14:02:09 +01:00
Guenter Obiltschnig
e46e610b84 fixed GH #1532: RecordSet and RowFilter: bad use of reference counter 2016-12-30 10:06:40 +01:00
Guenter Obiltschnig
22e746d1ce fixed GH #1436: ODBC Bug: Unicode text(NVARCHAT) read from DB is truncated to half. 2016-12-07 12:57:19 +01:00
Jan Viktorin
be59c5b8fd 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-11 21:53:26 +01:00
Jan Viktorin
0cac5dbf73 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 17:49:02 +01:00
Guenter Obiltschnig
0662244384 fix typo in test suite 2016-10-14 12:02:32 +02:00
Guenter Obiltschnig
142ad28494 initialize all members in ctor 2016-09-26 19:22:07 +02:00
Guenter Obiltschnig
9bd74daef9 fixed uninitialized members in ctor 2016-09-26 19:21:23 +02:00
Guenter Obiltschnig
1bb795e7ed initialize all members in default ctor 2016-09-26 19:19:27 +02:00
Guenter Obiltschnig
b0026b6a1c style fix 2016-09-26 19:17:21 +02:00
Guenter Obiltschnig
89998df17a bugfix: _null member not initialized in ctor 2016-09-26 19:17:08 +02:00
Guenter Obiltschnig
e87a8fe962 handle MySQL connection lost/server gone when starting a transaction 2016-09-15 12:01:30 +02:00
Guenter Obiltschnig
ae3c4a4ba3 fixed some warnings and minor issues detected by clang-analyzer
Conflicts:
	Data/src/RecordSet.cpp
2016-09-13 11:40:59 +02:00
Guenter Obiltschnig
eb01c3f539 don't include connection string in exception message 2016-09-11 01:40:28 +02:00
Günter Obiltschnig
d4382fae62 Revert "GH #1050 PageCompiler: fix gcc -Wshadow warnings" 2016-09-05 08:23:50 +02:00
Guenter Obiltschnig
fd9ca0a9b6 style fixes 2016-09-01 11:51:16 +02:00
Dan Hosseinzadeh
60ecf597c4 Add API to allow SQLite types to be added at runtime
- new types can be added via Poco::Data::SQLite::Utility::addColumnType()

issue-1375
2016-09-01 00:46:53 -04:00
Dan Hosseinzadeh
cb25a7f4a9 Assume BLOB for unknown sqltypes rather than throwing an exception
- Affects only the SQLite implementation

issue-1375

Signed-off-by: Dan Hosseinzadeh <dan.zadeh@pathcore.ca>
2016-08-31 15:54:05 -04: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
Guenter Obiltschnig
aee7583d16 updated sqlite to 3.14.1 2016-08-27 08:47:08 +02:00
Günter Obiltschnig
d1727dd2ea re-generated project files to include /bigobj 2016-08-25 13:28:18 +02:00
Guenter Obiltschnig
dd941cbad1 fixed GH #1300: Session constructor hangs 2016-07-03 14:14:50 +02:00
Marian Krivos
bae482264b Update to sqlite 3.13.0 2016-06-02 07:44:52 +02:00
Alex Fabijanic
b14b6f3d7f Poco::Data default storage should be std::vector #1172 2016-04-23 13:01:45 -06:00
Guenter Obiltschnig
664be2c791 #1221: upgrade bundled sqlite to 3.12.2 2016-04-21 10:09:21 +02:00
Guenter Obiltschnig
d11b69ca00 style fixes 2016-04-16 09:57:54 +02:00
Guenter Obiltschnig
8268ebe179 upgraded bundled SQLite to 3.12.1 2016-04-11 10:49:11 +02:00
Guenter Obiltschnig
9d425d73e1 fixed GH #1236: Remove Poco::Data::Row::checkEmpty() as it prevents Row from being used with all NULL rows 2016-04-11 10:39:35 +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
b4e2757517 Merge remote-tracking branch 'pocoproject/develop' into AppVeyorComplete 2016-03-31 23:59:07 +02:00
mkrivos
53f8ef1736 Bump to sqlite 3.12.0 2016-03-31 09:51:17 +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
ebc904344f Merge remote-tracking branch 'pocoproject/develop' into develop 2016-03-30 10:14:51 +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
f7f3d1f2ca Remove reference to CppUnit.lib
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2016-03-30 09:13:55 +02:00
FrancisANDRE
18a50b1b2c Remove reference to CppUnit.lib. Add ODBCSybaseTest.(h,ccp).
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2016-03-30 09:11:10 +02:00
Miklos Vajna
b997cc25d0 GH #1050 PageCompiler: fix gcc -Wshadow warnings 2016-03-29 15:07:36 +02:00
FrancisANDRE
0062b657c4 Merge remote-tracking branch 'pocoproject/develop' into CygwinOnAppVeyor
Conflicts:
	Data/src/RecordSet.cpp


Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2016-03-24 10:27:12 +01:00
FrancisANDRE
4a82c83587 Merge from pocoproject/develop
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2016-03-23 15:22:06 +01:00
Miklos Vajna
e19ee5d6b9 GH #1050 Redis: fix gcc -Wshadow warnings 2016-03-18 14:15:55 +01:00
Guenter Obiltschnig
aec9e25d79 fixed missing } 2016-03-17 11:18:41 +01:00
Guenter Obiltschnig
05db70c37d another fix for #1203: need to reset _rowMap as well. Also, don't hide reset() from base class
Conflicts:
	Data/src/RecordSet.cpp
2016-03-17 10:13:11 +01:00
Guenter Obiltschnig
9911a56da7 removed binaries 2016-03-16 23:18:07 +01:00