Alex Fabijanic
34826e3797
fix RowFilter refcount
2017-07-03 17:32:28 +02:00
Alex Fabijanic
5cad99a704
fix test table name
2017-06-30 16:51:07 +02:00
Alex Fabijanic
96bb22621e
fix RowFilter refcounting, some cleanup
2017-06-30 16:13:56 +02:00
Alex Fabijanic
41e3f38c06
ODBC RecordSet (internal extraction) broken #1775 ; some style fixes
2017-06-29 23:49:42 +02:00
Alex Fabijanic
b3704e2275
add type diagnostics
2017-06-28 17:21:49 +02:00
Aleksandar Fabijanic
5d69bae19f
Poco::Data::SQLite data types #703 ( #1767 )
2017-06-27 12:15:24 +02:00
Alex Fabijanic
303861cf11
replace Mutex with FastMutex
2017-06-22 23:09:22 +02:00
Alex Fabijanic
19417c57a9
add some comments
2017-06-22 22:46:19 +02:00
Alex Fabijanic
574fc131db
add docker test run script
2017-06-22 22:43:07 +02:00
Alex Fabijanic
8aecf8a9b0
move mysql init to createSession() and protect it with mutex
2017-06-22 22:42:21 +02:00
Alex Fabijanic
d866e7444d
tests for #542
2017-06-21 14:56:33 +02:00
petko
3bacb6696f
Add SQLite Notifier table name getter ( #1691 )
...
* Add table name in SQLite Notifier
* Converted spaces to tabs to conform to Poco coding style
* One more spaces to tab change
* Added table compare to Notifier equality operator
* Returning const ref instead of string copy in Notifier getTable
2017-04-17 12:46:57 -05:00
Guenter Obiltschnig
f453dd145c
added Visual Studio 2017 project files
2017-02-20 16:46:44 +01:00
Guenter Obiltschnig
97d8c42a4e
fixed file headers
2017-02-18 14:29:15 +01:00
Günter Obiltschnig
af39c8d819
Merge pull request #1594 from mkrivos/develop
...
update to sqlite 3.17.0
2017-02-15 09:51:12 +01:00
Marian Krivos
c845597d40
update to sqlite 3.17.0
2017-02-15 09:26:42 +01:00
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