Commit Graph

365 Commits

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