aboutsummaryrefslogtreecommitdiff
path: root/sqlite
AgeCommit message (Collapse)AuthorFilesLines
2024-01-23Switch to build2Karen Arutyunov62-2638/+390
2021-06-14Add test for SQLite ATTACH DATABASE supportBoris Kolpackov5-0/+248
2020-02-13Drop copyright notice from source codeKaren Arutyunov30-30/+0
2019-01-17Update copyright yearKaren Arutyunov30-30/+30
2018-05-24Update copyright yearKaren Arutyunov30-30/+30
2017-01-03Update copyright yearBoris Kolpackov30-30/+30
2016-10-26Implement support for mixed auto/manual id assignment in SQLiteBoris Kolpackov5-0/+218
Now one can do: #pragma db id auto odb::nullable<int64_t> id; And then set the id to NULL to get auto-assignment or to the actual value to use a manual id.
2015-07-15Implement SQLite incremental BLOB/TEXT I/OBoris Kolpackov6-0/+428
2015-02-08Clean test templates of old cruftBoris Kolpackov2-4/+0
Most tests don't print anything
2015-02-08Recode strncpy as memcpyBoris Kolpackov1-4/+4
VC12 deprecated those hard, as in, it is now an error.
2015-02-06Update copyrightBoris Kolpackov24-24/+24
2014-06-15Use single template set of templates for .sln filesBoris Kolpackov6-82/+5
2014-06-03Support for VC12 (2013), initial workBoris Kolpackov11-8/+261
2013-09-02Handle SQLite commit failures that don't automatically rollback transactionBoris Kolpackov5-0/+193
2013-08-14Get rid of warningBoris Kolpackov1-3/+3
2013-07-08Fix incorrect ODB_MSC_VER version in VC11 projectsBoris Kolpackov1-1/+1
2013-07-08Add support for Visual Studio 2005Boris Kolpackov9-7/+397
2013-06-21Add support for running tests in dynamic multi-database modeBoris Kolpackov7-85/+22
Only possible in the development build system at this stage.
2013-06-06Use fixed options file names in database-specific testsBoris Kolpackov6-10/+6
2013-06-03Use database name in options and driver files (build part)Boris Kolpackov6-6/+6
This way we will be able to have several databases configured at the same time, which is needed for multi-database support testing.
2013-02-09Update copyright yearBoris Kolpackov21-21/+21
2013-01-24Add support for mapping char[N] to CHAR/VARCHAR database typesBoris Kolpackov2-10/+94
Also improve query support for arrays (decaying).
2012-10-29Don't make database default in database-specific testsBoris Kolpackov4-9/+9
2012-10-08Ground work for multi-database supportBoris Kolpackov6-16/+22
All generated code now includes database id. The database-specific database class interface has been updated to include all the database operations. The database-specific tests now use this interface.
2012-09-16Add support for Visual Studio 2012Boris Kolpackov10-7/+251
2012-09-14Fix incorrect data member typeBoris Kolpackov1-1/+1
2012-09-10Add support for alternative UTF-16 image for TEXT in SQLiteBoris Kolpackov2-11/+30
Use it to handle QString and support std::wstring on Windows.
2012-09-07Add support for passing database name as std::wstring on WindowsBoris Kolpackov1-1/+12
2012-09-06Test that database constructors are unambiguousBoris Kolpackov4-0/+113
2012-09-04NULL handling improvementsBoris Kolpackov1-1/+1
Add support for specifying NULL-ness for types with built-in mapping. Handle Oracle [N]VARCHAR2 and SQLite FLOAT oddities using this mechanism instead of overriding it at the schema generation level. Also use the is_null argument that is passed to value_traits::init_image() to indicate whether the value can be NULL.
2012-07-18Convert NULLs to NaNs in SQLite for float and doubleBoris Kolpackov2-6/+12
This makes it consistent with SQLite behavior which converts NaNs to NULLs.
2012-07-17Use __ifelse__ instead of m4_ifelse2.1.0.a1Boris Kolpackov4-8/+8
2012-07-10Add support for custom database type mappingBoris Kolpackov5-0/+227
New pragma qualifier, map, and specifiers: as, to, from. New tests: <database>/custom.
2012-03-02C++11 support in automake and VC++ projects, portability fixesBoris Kolpackov3-2/+6
2012-02-24C++11 support (pass --std ODB compiler option in build makefiles)Boris Kolpackov3-0/+15
2012-01-29Update copyright yearBoris Kolpackov16-16/+16
2012-01-29Remove author field from file headerBoris Kolpackov16-16/+0
Too much effort to maintain.
2011-09-22Remove NDEBUG macro from VC project; tests always need enabled assert()1.6.0.a2Boris Kolpackov2-4/+4
2011-08-24Make tests use unique table prefixesBoris Kolpackov4-10/+17
2011-07-28Add value_traits specializations for std::vector<char>Boris Kolpackov3-43/+5
This allows using it as a buffer for BLOB mapping.
2011-07-19New design for NULL semanticsBoris Kolpackov1-6/+6
Now, instead of being specified as part of the SQL type with the type pragma, there are separate null and not_null pragmas. The not_null pragma was used to control NULL-ness of object pointers. Now the two pragmas are used consistently for object pointers and simple values (and in the future will work for composite values and containers).
2011-04-18Get rid of image type argument in value_traitsBoris Kolpackov1-2/+2
2011-03-30Autotools support for SQLiteBoris Kolpackov3-0/+1
2011-03-28Factor out common buffer implementationBoris Kolpackov2-79/+2
2011-03-28Add SQLite-specific testsBoris Kolpackov25-0/+1799