~mysql/mysql-connector-cpp/trunk

« back to all changes in this revision

Viewing changes to driver/mysql_art_resultset.h

  • Committer: Hemant Dangi
  • Date: 2014-12-17 16:28:39 UTC
  • Revision ID: hemant.dangi@oracle.com-20141217162839-sdbpj3fcwn5gxjxh
Bug #75251: Add C++11 support and replace (deprecated in C++11) auto_ptr

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved.
 
2
Copyright (c) 2008, 2014, Oracle and/or its affiliates. All rights reserved.
3
3
 
4
4
The MySQL Connector/C++ is licensed under the terms of the GPLv2
5
5
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most
124
124
        typedef std::vector< MyVal > row_t;
125
125
        typedef std::list< row_t > rset_t;
126
126
 
127
 
        MySQL_ArtResultSet(const StringList& fn, rset_t * const rset, boost::shared_ptr< MySQL_DebugLogger > & l);
 
127
        MySQL_ArtResultSet(const StringList& fn, boost::shared_ptr< rset_t > &rset, boost::shared_ptr< MySQL_DebugLogger > & l);
128
128
        virtual ~MySQL_ArtResultSet();
129
129
 
130
130
        bool absolute(int row);
248
248
public:
249
249
 
250
250
        unsigned int num_fields;
251
 
        boost::scoped_ptr< MySQL_ArtResultSet::rset_t > rset;
 
251
        boost::shared_ptr< MySQL_ArtResultSet::rset_t > rset;
252
252
        rset_t::iterator current_record;
253
253
        bool started;
254
254