diff options
-rw-r--r-- | odb/mysql/header.cxx | 2 | ||||
-rw-r--r-- | odb/mysql/source.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/odb/mysql/header.cxx b/odb/mysql/header.cxx index c3222bc..8d32284 100644 --- a/odb/mysql/header.cxx +++ b/odb/mysql/header.cxx @@ -377,7 +377,7 @@ namespace mysql // query () // - os << "static shared_ptr<result_impl<object_type> >" << endl + os << "static result<object_type>" << endl << "query (database&, const query_type&);" << endl; diff --git a/odb/mysql/source.cxx b/odb/mysql/source.cxx index 7d42b30..68d5493 100644 --- a/odb/mysql/source.cxx +++ b/odb/mysql/source.cxx @@ -963,7 +963,7 @@ namespace mysql // query () // - os << "shared_ptr<result_impl< " << traits << "::object_type> >" << endl + os << "result< " << traits << "::object_type >" << endl << traits << "::" << endl << "query (database&, const query_type& q)" << "{" @@ -986,7 +986,7 @@ namespace mysql << endl << "shared_ptr<odb::result_impl<object_type> > r (" << endl << "new (shared) mysql::result_impl<object_type> (st, sts));" - << "return r;" + << "return result<object_type> (r);" << "}"; } |