File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
include/mysqlx/devapi/detail Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,10 @@ class PUBLIC_API Result_detail
74
74
Result_detail (const Result_detail&) = delete ;
75
75
Result_detail& operator =(const Result_detail&) = delete ;
76
76
77
+ public:
78
+
79
+ struct INTERNAL Impl;
80
+
77
81
protected:
78
82
79
83
Result_detail (common::Result_init&);
@@ -87,13 +91,9 @@ class PUBLIC_API Result_detail
87
91
88
92
Result_detail& operator =(Result_detail&&);
89
93
90
- public:
91
-
92
94
Result_detail () = default ;
93
95
virtual ~Result_detail ();
94
96
95
- struct INTERNAL Impl;
96
-
97
97
Impl& get_impl ();
98
98
99
99
const Impl& get_impl () const
@@ -115,7 +115,7 @@ class PUBLIC_API Result_detail
115
115
bool has_data () const ;
116
116
bool next_result ();
117
117
118
- private :
118
+ protected :
119
119
120
120
Impl *m_impl = nullptr ;
121
121
bool m_owns_impl = false ;
@@ -149,6 +149,8 @@ class PUBLIC_API Result_detail
149
149
150
150
using WarningList = internal::List_initializer<Array_source<Warning_src>>;
151
151
152
+ protected:
153
+
152
154
unsigned get_warning_count () const ;
153
155
Warning get_warning (size_t pos);
154
156
@@ -181,7 +183,7 @@ class PUBLIC_API Result_detail
181
183
class PUBLIC_API Column_detail
182
184
: virtual common::Printable
183
185
{
184
- public :
186
+ protected :
185
187
186
188
using Impl = common::Column_info<string>;
187
189
Original file line number Diff line number Diff line change @@ -209,6 +209,8 @@ class PUBLIC_API Schema_detail
209
209
using TableList = List_initializer<List_source<Table_src>>;
210
210
using StringList = List_initializer<List_source<Name_src>>;
211
211
212
+ protected:
213
+
212
214
void create_collection (const string &name, bool reuse);
213
215
void drop_collection (const string &name);
214
216
You can’t perform that action at this time.
0 commit comments