aboutsummaryrefslogtreecommitdiff
path: root/mysql
AgeCommit message (Collapse)AuthorFilesLines
2012-10-08Ground work for multi-database supportBoris Kolpackov8-34/+41
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 Kolpackov11-8/+255
2012-09-06Test that database constructors are unambiguousBoris Kolpackov4-0/+154
2012-07-25Add support for defining indexesBoris Kolpackov5-0/+174
New db pragma qualifier: index. New tests: common/index, mysql/index, pgsql/index.
2012-07-17Use __ifelse__ instead of m4_ifelse2.1.0.a1Boris Kolpackov4-8/+8
2012-07-10Add support for custom database type mappingBoris Kolpackov7-0/+530
New pragma qualifier, map, and specifiers: as, to, from. New tests: <database>/custom.
2012-07-10Remove unneeded third argument to create_database()Boris Kolpackov1-1/+1
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-02-10Use correct truncation vector in container loading codeBoris Kolpackov2-18/+49
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/+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