aboutsummaryrefslogtreecommitdiff
path: root/sqlite/types/test.hxx
AgeCommit message (Collapse)AuthorFilesLines
2012-09-14Fix incorrect data member typeBoris Kolpackov1-1/+1
2012-09-10Add support for alternative UTF-16 image for TEXT in SQLiteBoris Kolpackov1-9/+15
Use it to handle QString and support std::wstring on Windows.
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 Kolpackov1-6/+10
This makes it consistent with SQLite behavior which converts NaNs to NULLs.
2012-01-29Update copyright yearBoris Kolpackov1-1/+1
2012-01-29Remove author field from file headerBoris Kolpackov1-1/+0
Too much effort to maintain.
2011-07-28Add value_traits specializations for std::vector<char>Boris Kolpackov1-3/+2
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-03-28Factor out common buffer implementationBoris Kolpackov1-78/+1
2011-03-28Add SQLite-specific testsBoris Kolpackov1-0/+145