diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-11-06 18:00:43 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-11-06 18:00:43 +0200 |
commit | 5daaa1a6d9c8f5d3a4ad3d7009df564bc6506424 (patch) | |
tree | b96d205208587208a4e443be192fe264d2f53d57 /odb/mysql/query.txx | |
parent | 6fd2fb44263eb6704905cddcc607462c21c5e687 (diff) |
Add support for container persistence
Generalize statements that were used for persisting objects to work for
both objects and containers. Implement a cache for container statements.
Diffstat (limited to 'odb/mysql/query.txx')
-rw-r--r-- | odb/mysql/query.txx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/mysql/query.txx b/odb/mysql/query.txx index deafad0..5cc1fc1 100644 --- a/odb/mysql/query.txx +++ b/odb/mysql/query.txx @@ -13,7 +13,7 @@ namespace odb template <database_type_id ID> query:: query (const query_column<bool, ID>& c) - : clause_ (c.name ()) + : clause_ (c.name ()), binding_ (0, 0) { // Cannot use IS TRUE here since database type can be a non- // integral type. |