diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-03-22 16:22:06 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-03-22 16:22:06 +0200 |
commit | be5909a7fc240c007bb0128353d493af947a8749 (patch) | |
tree | 84f4e6488adcde96e5e41a691c191035da6e92c1 /odb/sqlite/statement-cache.hxx | |
parent | 878a448f86ddd60e5eb7778e88edd965003ea480 (diff) |
Add object and container statement caches
Diffstat (limited to 'odb/sqlite/statement-cache.hxx')
-rw-r--r-- | odb/sqlite/statement-cache.hxx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/odb/sqlite/statement-cache.hxx b/odb/sqlite/statement-cache.hxx index 9ef446d..1b3d4b2 100644 --- a/odb/sqlite/statement-cache.hxx +++ b/odb/sqlite/statement-cache.hxx @@ -17,10 +17,7 @@ #include <odb/sqlite/version.hxx> #include <odb/sqlite/statement.hxx> -/* #include <odb/sqlite/object-statements.hxx> -*/ - #include <odb/sqlite/details/export.hxx> namespace odb @@ -52,8 +49,6 @@ namespace odb return *rollback_; } -/* - @@ template <typename T> object_statements<T>& find () @@ -69,14 +64,11 @@ namespace odb map_.insert (map::value_type (&typeid (T), p)); return *p; } -*/ private: - /* typedef std::map<const std::type_info*, details::shared_ptr<object_statements_base>, details::type_info_comparator> map; - */ connection& conn_; @@ -84,9 +76,7 @@ namespace odb details::shared_ptr<simple_statement> commit_; details::shared_ptr<simple_statement> rollback_; - /* map map_; - */ }; } } |