Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-10-03 | Export query operators that were made non-inline | Boris Kolpackov | 1 | -3/+3 | |
2011-10-03 | Bump version to 1.6.0 | Boris Kolpackov | 2 | -4/+4 | |
2011-10-02 | If query substituting placeholder is empty, pass true expression instead | Boris Kolpackov | 2 | -59/+142 | |
This allows uniform usage of views both with and without any extra conditions. Also optimize some common cases so that we don't have useless WHERE TRUE clauses or (...) AND (TRUE) expressions. | |||||
2011-09-22 | Add const char[n] value_traits specialization in addition to char[n]1.6.0.a2 | Boris Kolpackov | 1 | -0/+18 | |
2011-09-21 | Rework const object handling | Boris Kolpackov | 2 | -7/+5 | |
Now objects are always loaded as non-const and the object cache in session treats all objects as non-const. | |||||
2011-09-20 | Bump version to 1.6.0.a2 | Boris Kolpackov | 2 | -4/+4 | |
2011-09-19 | Add assertion for mismatch of result set column count in MySQL and SQLite | Boris Kolpackov | 1 | -0/+5 | |
This is useful for detecting native views that happened to have stray data members. Also update comment in PostgreSQL. | |||||
2011-09-16 | Support for views; integrated part | Boris Kolpackov | 5 | -28/+130 | |
2011-09-09 | New templated query_columns architecture | Boris Kolpackov | 3 | -62/+77 | |
We also now use the correct separate "role"-base join approach instead of having a single merged join for each table. | |||||
2011-09-06 | Support for views; native part | Boris Kolpackov | 15 | -97/+533 | |
2011-09-06 | Allow select statement without parameters | Boris Kolpackov | 2 | -8/+29 | |
2011-08-30 | Add comment with some explanations | Boris Kolpackov | 1 | -0/+4 | |
2011-08-30 | Implement uniform handle management across all databases | Boris Kolpackov | 9 | -173/+190 | |
Also use the auto_handle template instead of the raw handle in connection, statement, and result classes. This removes a lot of brittle "exception safety guarantee" code that we had in those classes. | |||||
2011-08-28 | Add create() hook to connection factories | Boris Kolpackov | 2 | -18/+38 | |
This will allow the user to either establish the connection themselves (using the handle c-tor) and/or configure the connection post-creation. | |||||
2011-08-28 | Add support for creating connection from existing handle | Boris Kolpackov | 2 | -7/+26 | |
This will allow for custom connection establishment and configuration. | |||||
2011-08-24 | Add support for transaction multiplexing | Boris Kolpackov | 8 | -19/+47 | |
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 | Remove stray function declarations | Boris Kolpackov | 1 | -6/+0 | |
2011-08-22 | Add support for constructing delete_statement with native binding only | Boris Kolpackov | 2 | -3/+24 | |
This is similar to what we do in select_statement. | |||||
2011-08-21 | Add odb::connection class | Boris Kolpackov | 10 | -67/+116 | |
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 | -118/+152 | |
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/+227 | |
2011-08-04 | Add support for value wrappers | Boris Kolpackov | 1 | -1/+227 | |
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/+52 | |
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 | Suppress warnings1.5.0 | Boris Kolpackov | 1 | -5/+5 | |
2011-07-25 | Suppress warnings | Boris Kolpackov | 2 | -8/+8 | |
2011-07-25 | Update INSTALL file | Boris Kolpackov | 1 | -7/+7 | |
2011-07-25 | Remove @@ notes that no longer apply | Boris Kolpackov | 1 | -2/+0 | |
2011-07-25 | Bump version to 1.5.0 | Boris Kolpackov | 2 | -4/+4 | |
2011-07-25 | Avoid unnecessary initialization | Boris Kolpackov | 1 | -1/+1 | |
2011-07-24 | Always initialize format and size values in native_bind | Constantin Michael | 1 | -1/+3 | |
2011-07-23 | Export endian_traits | Constantin Michael | 1 | -1/+3 | |
2011-07-23 | Do not include config.h for Visual Studio | Constantin Michael | 1 | -1/+2 | |
2011-07-23 | Correct libpq library name specified to Visual Studio linker | Constantin Michael | 2 | -16/+16 | |
2011-07-22 | Get rid of libpq-fe.h inclusion in public headers | Boris Kolpackov | 9 | -25/+77 | |
The problem with libpq-fe.h is that it is installed in unpredictable places on different platforms. As a result, a user that uses ODB with PostgreSQL (and who doesn't really know or care about libpq) is forced to make sure their application is able to find and include libpq-fe.h correctly. Luckily for us, we only use a handful of libpq pointers in public headers and the workaround is to forward declare them and use that instead of including libpq-fe.h (which is instead included in source files). | |||||
2011-07-22 | Fix type name shadowing | Boris Kolpackov | 1 | -16/+18 | |
2011-07-22 | Correct typo in Visual Studio linker options | Constantin Michael | 1 | -1/+1 | |
2011-07-22 | Specify libpq as a dependency to Visual Studio | Constantin Michael | 2 | -8/+8 | |
2011-07-21 | Quote prepared statement name in deallocation command | Constantin Michael | 1 | -1/+2 | |
2011-07-19 | Fix incorrect argument names, make accessor order consistent | Boris Kolpackov | 1 | -12/+12 | |
2011-07-14 | Map unsigned short and int C++ types to SMALLINT and INTEGER by default | Constantin Michael | 1 | -2/+2 | |
2011-07-14 | Forbid connection to database if server integer_datetimes is off | Constantin Michael | 2 | -10/+5 | |
2011-07-14 | Add support for binary format NUMERIC type | Constantin Michael | 2 | -108/+105 | |
2011-07-13 | Make process notification callback static | Constantin Michael | 1 | -5/+2 | |
2011-07-13 | Add support for DATE, TIME and TIMESTAMP SQL types | Constantin Michael | 4 | -101/+145 | |
2011-07-13 | Get integer_datetimes server var on connection to server | Constantin Michael | 2 | -1/+15 | |
2011-07-12 | Suppress server notification messages | Constantin Michael | 1 | -0/+10 | |