aboutsummaryrefslogtreecommitdiff
path: root/odb/mysql/query.txx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-11-06 18:00:43 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-11-06 18:00:43 +0200
commit5daaa1a6d9c8f5d3a4ad3d7009df564bc6506424 (patch)
treeb96d205208587208a4e443be192fe264d2f53d57 /odb/mysql/query.txx
parent6fd2fb44263eb6704905cddcc607462c21c5e687 (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.txx2
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.