summaryrefslogtreecommitdiff
path: root/odb/mysql/header.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-11-26 13:24:00 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-11-26 13:24:00 +0200
commit5ea5e53521e52a3f63de1f18734bdf2c871bf60c (patch)
treee8fdd3c5833242bd2330bf2f304a8d0dc228bc7c /odb/mysql/header.cxx
parent1f3fcd13efb06a49bc7363fb58dd1f8d41a069ee (diff)
Add support for recursive object loading
If an object of a type needs to be loaded recursively, then it is addded to the delayed loading list which is processed once the statements are unlocked.
Diffstat (limited to 'odb/mysql/header.cxx')
-rw-r--r--odb/mysql/header.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/mysql/header.cxx b/odb/mysql/header.cxx
index 89b1fe8..1b995a9 100644
--- a/odb/mysql/header.cxx
+++ b/odb/mysql/header.cxx
@@ -890,9 +890,9 @@ namespace mysql
<< "query (database&, const query_type&);"
<< endl;
- // Helpers.
+ // Implementation details.
//
- os << "private:" << endl
+ os << "public:" << endl
<< "static bool" << endl
<< "find_ (mysql::object_statements<object_type>&, const id_type&);"
<< endl;