aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-01-16 16:31:29 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-01-16 16:31:29 +0200
commit595200e87a6299e3436da75fdee0d5b5f70dcb9f (patch)
treeef9ba036143f2cce2d3005d2d7fd124234a9af3a
parent18488c494492851180e41e06ebb6db0f4abc1c4c (diff)
Make session cache management functions static, add notifications
-rw-r--r--odb/mysql/polymorphic-object-result.txx2
-rw-r--r--odb/mysql/simple-object-statements.txx2
2 files changed, 2 insertions, 2 deletions
diff --git a/odb/mysql/polymorphic-object-result.txx b/odb/mysql/polymorphic-object-result.txx
index a7f0ca1..00568db 100644
--- a/odb/mysql/polymorphic-object-result.txx
+++ b/odb/mysql/polymorphic-object-result.txx
@@ -160,7 +160,7 @@ namespace odb
ce = callback_event::post_load;
pi.dispatch (info_type::call_callback, this->db_, pobj, &ce);
- object_traits::pointer_cache_traits::initialize (ig.position ());
+ object_traits::pointer_cache_traits::load (ig.position ());
ig.release ();
}
diff --git a/odb/mysql/simple-object-statements.txx b/odb/mysql/simple-object-statements.txx
index 92ff93d..97d0fd6 100644
--- a/odb/mysql/simple-object-statements.txx
+++ b/odb/mysql/simple-object-statements.txx
@@ -118,7 +118,7 @@ namespace odb
else
l.loader (db, l.id, *l.obj);
- pointer_cache_traits::initialize (ig.position ());
+ pointer_cache_traits::load (ig.position ());
ig.release ();
}
}