aboutsummaryrefslogtreecommitdiff
path: root/mysql
AgeCommit message (Collapse)AuthorFilesLines
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/+19
2011-08-04Add support for value wrappersBoris Kolpackov1-1/+1
Wrapper is a class that wraps another type. Examples of wrappers are various smart pointers, holders, etc. A wrapper can be transparent or it can handle the NULL semantics. The new odb::nullable class template is a NULL wrapper that helps to add the NULL semantics to a value type. New test: common/wrapper.
2011-07-28Add value_traits specializations for std::vector<char>Boris Kolpackov3-48/+13
This allows using it as a buffer for BLOB mapping.
2011-07-22Test automatic and custom ENUM mappingsBoris Kolpackov2-5/+12
2011-07-19New design for NULL semanticsBoris Kolpackov1-37/+37
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-06-30Take into account precision in MySQL FLOAT type parsingBoris Kolpackov2-0/+5
2011-04-18Implement automatic mapping for C++ enumsBoris Kolpackov2-4/+12
2011-04-18Get rid of image type argument in value_traitsBoris Kolpackov1-5/+5
2011-03-30Autotools support for SQLiteBoris Kolpackov1-0/+1
2011-03-28Factor out common buffer implementationBoris Kolpackov2-80/+3
2011-03-28Cosmetic changesBoris Kolpackov1-5/+5
2011-03-28Add schema creation flag to create_database()Boris Kolpackov1-1/+1
2011-03-27Fix issues preventing building outside source directoryBoris Kolpackov4-10/+10
2011-02-25Add support for tests in subdirectoriesBoris Kolpackov7-23/+23
2011-02-18Add odb::core namespace to be used in using-directivesBoris Kolpackov4-4/+4
Port all the examples and tests.
2011-02-17Add test infrastructure for boost profileBoris Kolpackov1-3/+3
2011-01-24Fix bug in makefileBoris Kolpackov1-1/+1
2011-01-18Add support for native SQL statement executionBoris Kolpackov4-0/+152
New test: mysql/native. New manual section: 3.9, "Executing Native SQL Statements".
2011-01-04Copyright updateBoris Kolpackov14-14/+14
2010-12-13Detect TR1 <memory> availabilityBoris Kolpackov3-12/+13
Also use the wrapper header from libodb.
2010-11-26Save test result to a temp file instead of piping it to diffBoris Kolpackov3-3/+12
This makes tests more robust.
2010-09-28Rename begin_transaction() to begin()Boris Kolpackov3-11/+11
2010-09-28Extract bit-field in endian-portable mannerBoris Kolpackov2-7/+11
2010-09-22Add database type id as value_traits template argumentBoris Kolpackov1-6/+6
2010-09-21Redesign value_traitsBoris Kolpackov1-33/+28
2010-09-20Rename store() to update()Boris Kolpackov1-3/+3
2010-09-20Cache result by defaultBoris Kolpackov1-1/+0
2010-09-14Use global flags to get tidier object file namesBoris Kolpackov1-2/+2
2010-09-13Handle buffer growth in cached resultBoris Kolpackov2-52/+116
2010-09-13Change pragma syntaxBoris Kolpackov3-43/+45
Change odb pragma namespace to db. Use qualifiers (object, value, and member) to specify type/member name. Add support for mapping C++ types to db types.
2010-09-10Do not distribute generated test-odb.cxxBoris Kolpackov1-1/+2
2010-09-10Add automated build and test scripts for WindowsBoris Kolpackov2-2/+72
2010-09-10Link to 64-bit libcommon in 64-bit buildsBoris Kolpackov1-2/+2
2010-09-10Use space instead of ';' as library separatorBoris Kolpackov1-4/+4
2010-09-09Disable C4068 unknown pragmaBoris Kolpackov2-0/+8
2010-09-08Add suppor for VC++ buildBoris Kolpackov14-39/+647
2010-09-08Remove unneeded fileBoris Kolpackov1-4/+0
2010-09-06Add automake build supportBoris Kolpackov7-6/+86
2010-08-18Move buffer to the details namespaceBoris Kolpackov2-12/+12
2010-08-18Cosmetic changesBoris Kolpackov3-6/+0
2010-08-13Add the --generate-query optionBoris Kolpackov1-1/+1
2010-08-13Clear unused bits when copying a bitfieldBoris Kolpackov1-7/+13
2010-08-13Fix operator precedenceBoris Kolpackov1-1/+1
2010-08-03New testsBoris Kolpackov14-0/+1184