Commit Graph

351 Commits

Author SHA1 Message Date
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