summaryrefslogtreecommitdiff
path: root/odb/relational/mysql/context.cxx
AgeCommit message (Collapse)AuthorFilesLines
2011-04-25Add support for mapping to database types based on type aliasesBoris Kolpackov1-3/+6
This allows us to, for example, always map size_t to 64-bit type. The current implementation does not work for containers. It is not clear whether it will be possible to make it work using the GCC AST.
2011-04-19Map only continuous, zero-based enums to MySQL ENUMBoris Kolpackov1-14/+39
The others map to INT.
2011-04-19Implement automatic mapping for C++ enumsBoris Kolpackov1-0/+40
2011-03-24Generalization work for MySQL and SQLite supportBoris Kolpackov1-0/+3
2011-03-21Add support for SQLite type system, adjust code generatorsBoris Kolpackov1-3/+3
2011-03-21Separate auto increment from database typeBoris Kolpackov1-14/+0
2011-03-21Cache current context in static variableBoris Kolpackov1-0/+13
2011-03-21Cosmetic changes (function renames)Boris Kolpackov1-7/+9
2011-03-21Move to new "virtual functions in context" modelBoris Kolpackov1-6/+6
2011-03-21Split MySQL code generator into common and db-specific partsBoris Kolpackov1-0/+642
The common part (in relational/) still has some MySQL-specific parts. Also, add the notion of the current context which is used to avoid explicitly passing the context object to every generator's c-tor.