Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-08-28 | Add support for creating connection from existing handle | Boris Kolpackov | 2 | -2/+26 | |
This will allow for custom connection establishment and configuration. | |||||
2011-08-24 | Add support for transaction multiplexing | Boris Kolpackov | 8 | -39/+64 | |
Also delay getting a connection until after we do all the sanity checks (e.g., that there is no active transaction). Otherwise we are running risk of getting blocked rather than throwing an exception. | |||||
2011-08-22 | Bump version to 1.6.0.a11.6.0.a1 | Boris Kolpackov | 2 | -4/+4 | |
2011-08-22 | Enable foreign key constraints checking in SQLite | Boris Kolpackov | 3 | -2/+26 | |
Due to bugs in SQLite DDL foreign key support, we have to temporarily disable foreign keys when re-creating the schema. New manual section: 12.5.3, "Foreign Key Constraints". | |||||
2011-08-21 | Add odb::connection class | Boris Kolpackov | 10 | -70/+127 | |
This abstract class represents a connection to the database. One can use it to start a transaction or to execute a native statement out of a transaction. Before we had concrete connection classes in the database runtime libraries (e.g., odb::mysql::connection). Now these classes derive from odb::connection. | |||||
2011-08-19 | Rework query machinery not to use '_' as primary table alias | Boris Kolpackov | 3 | -66/+151 | |
Now we always qualify with the actual table name and use the '_' alias for situations where an object is referencing itself. | |||||
2011-08-18 | Fix custom recursive loading in post_load callback | Boris Kolpackov | 4 | -3/+45 | |
Before we called the callback while holding the statements locked. As a result, if the callback tried to load another object of this type, it failed. Now we unlock the statements (since we have completely loaded the object from ODB's point of view) and then call the callback. The callback test has been updated to test this situation. | |||||
2011-08-04 | Merge branch 'wrapper' | Boris Kolpackov | 1 | -1/+118 | |
2011-08-04 | Add support for value wrappers | Boris Kolpackov | 1 | -1/+118 | |
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-31 | Minor optimization | Boris Kolpackov | 1 | -1/+1 | |
2011-07-28 | Add value_traits specializations for std::vector<char> | Boris Kolpackov | 2 | -0/+56 | |
This allows using it as a buffer for BLOB mapping. | |||||
2011-07-27 | Bump version to 1.6.0 | Boris Kolpackov | 2 | -4/+4 | |
2011-07-25 | Bump version to 1.5.01.5.0 | Boris Kolpackov | 2 | -4/+4 | |
2011-07-04 | Implement support for database operations callbacks | Boris Kolpackov | 3 | -8/+48 | |
New object pragma: callback. New test: common/callback. New manual section: 10.1.4, "callback". | |||||
2011-06-30 | Check if truncated pointer is not NULL before dereferencing it | Boris Kolpackov | 1 | -3/+3 | |
2011-04-27 | Work around VC++ bugs1.4.0 | Boris Kolpackov | 2 | -2/+3 | |
2011-04-26 | Bump version to 1.4.0 | Boris Kolpackov | 2 | -4/+4 | |
2011-04-25 | Reuse container traits from base objects | Boris Kolpackov | 2 | -14/+62 | |
2011-04-25 | Pass id binding instead of id image in container traits | Boris Kolpackov | 4 | -26/+36 | |
This will allow us to reuse things more. | |||||
2011-04-25 | Check if truncation flag pointer is NULL before setting it | Boris Kolpackov | 1 | -2/+5 | |
2011-04-22 | Initial support for non-polymorphic inheritance | Boris Kolpackov | 1 | -1/+2 | |
Every class gets a separate table. New test: common/inheritance. | |||||
2011-04-18 | Get rid of image type argument in value_traits | Boris Kolpackov | 3 | -20/+35 | |
2011-04-05 | Bump version to 1.3.01.3.0 | Boris Kolpackov | 2 | -4/+4 | |
2011-04-05 | Cosmetic change | Boris Kolpackov | 1 | -2/+0 | |
2011-03-31 | Bump version to 1.3.0.b1 | Boris Kolpackov | 2 | -4/+4 | |
2011-03-31 | Update installation instructions | Boris Kolpackov | 1 | -0/+116 | |
2011-03-31 | Add VC++ project/solution files for SQLite | Boris Kolpackov | 7 | -1/+644 | |
2011-03-31 | Add error code to string returned by what() | Boris Kolpackov | 2 | -1/+12 | |
2011-03-30 | Cosmetic change | Boris Kolpackov | 1 | -1/+1 | |
2011-03-30 | SQLite library name is sqlite3.lib, not sqlite.lib | Boris Kolpackov | 2 | -16/+16 | |
2011-03-30 | Export result_impl_base | Boris Kolpackov | 1 | -3/+3 | |
2011-03-30 | Add autotools test for SQLite unlock notify feature | Boris Kolpackov | 3 | -0/+29 | |
2011-03-30 | Update to 1.2.0 in line with version.hxx | Boris Kolpackov | 1 | -1/+1 | |
2011-03-29 | Add single_connection_factory | Boris Kolpackov | 2 | -0/+121 | |
2011-03-29 | Release connection immediately after commit or rollback | Boris Kolpackov | 1 | -2/+2 | |
2011-03-29 | Support for shared cache and unlock notification | Boris Kolpackov | 7 | -29/+173 | |
2011-03-29 | Update import stub with bug fix | Boris Kolpackov | 1 | -1/+1 | |
2011-03-29 | Add support for starting immediate and exclusive transactions | Boris Kolpackov | 6 | -7/+102 | |
2011-03-28 | Fix bugs in active/uncached list maintenance | Boris Kolpackov | 1 | -1/+7 | |
2011-03-25 | Use forward-declared query class in result interface | Boris Kolpackov | 4 | -5/+17 | |
2011-03-25 | Make queries without by-reference parameters immutable | Boris Kolpackov | 2 | -25/+59 | |
This makes it possible to share such queries between multiple threads without the need for synchronization. | |||||
2011-03-25 | Query support | Boris Kolpackov | 8 | -0/+1770 | |
2011-03-25 | Check if is_null pointer is not NULL before dereferencing it | Boris Kolpackov | 1 | -1/+1 | |
2011-03-24 | Add support for clearing connection from active and uncached statements | Boris Kolpackov | 8 | -44/+243 | |
2011-03-24 | Reset statement after completion | Boris Kolpackov | 2 | -21/+21 | |
Without the reset the statement is considered unfinished and the database lock is help even after COMMIT. | |||||
2011-03-24 | Add image/binding versioning | Boris Kolpackov | 4 | -1/+110 | |
2011-03-24 | Factor out bind struct to sqlite-types.hxx | Boris Kolpackov | 2 | -22/+44 | |
2011-03-22 | Add object and container statement caches | Boris Kolpackov | 8 | -10/+697 | |
2011-03-22 | Implement the rest of statements | Boris Kolpackov | 2 | -5/+435 | |
2011-03-22 | Implement built-in value traits for SQLite | Boris Kolpackov | 3 | -0/+285 | |