Drizzled Public API Documentation

resultset.pb.cc
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: resultset.proto
3 
4 #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
5 #include "resultset.pb.h"
6 
7 #include <algorithm>
8 
9 #include <google/protobuf/stubs/common.h>
10 #include <google/protobuf/stubs/once.h>
11 #include <google/protobuf/io/coded_stream.h>
12 #include <google/protobuf/wire_format_lite_inl.h>
13 #include <google/protobuf/descriptor.h>
14 #include <google/protobuf/generated_message_reflection.h>
15 #include <google/protobuf/reflection_ops.h>
16 #include <google/protobuf/wire_format.h>
17 // @@protoc_insertion_point(includes)
18 
19 namespace drizzled {
20 namespace message {
21 
22 namespace {
23 
24 const ::google::protobuf::Descriptor* FieldMeta_descriptor_ = NULL;
25 const ::google::protobuf::internal::GeneratedMessageReflection*
26  FieldMeta_reflection_ = NULL;
27 const ::google::protobuf::Descriptor* TableMeta_descriptor_ = NULL;
28 const ::google::protobuf::internal::GeneratedMessageReflection*
29  TableMeta_reflection_ = NULL;
30 const ::google::protobuf::Descriptor* SelectRecord_descriptor_ = NULL;
31 const ::google::protobuf::internal::GeneratedMessageReflection*
32  SelectRecord_reflection_ = NULL;
33 const ::google::protobuf::Descriptor* SelectHeader_descriptor_ = NULL;
34 const ::google::protobuf::internal::GeneratedMessageReflection*
35  SelectHeader_reflection_ = NULL;
36 const ::google::protobuf::Descriptor* SelectData_descriptor_ = NULL;
37 const ::google::protobuf::internal::GeneratedMessageReflection*
38  SelectData_reflection_ = NULL;
39 const ::google::protobuf::Descriptor* Resultset_descriptor_ = NULL;
40 const ::google::protobuf::internal::GeneratedMessageReflection*
41  Resultset_reflection_ = NULL;
42 
43 } // namespace
44 
45 
46 void protobuf_AssignDesc_resultset_2eproto() {
47  protobuf_AddDesc_resultset_2eproto();
48  const ::google::protobuf::FileDescriptor* file =
49  ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
50  "resultset.proto");
51  GOOGLE_CHECK(file != NULL);
52  FieldMeta_descriptor_ = file->message_type(0);
53  static const int FieldMeta_offsets_[5] = {
54  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldMeta, field_name_),
55  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldMeta, field_alias_),
56  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldMeta, table_name_),
57  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldMeta, table_alias_),
58  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldMeta, schema_name_),
59  };
60  FieldMeta_reflection_ =
61  new ::google::protobuf::internal::GeneratedMessageReflection(
62  FieldMeta_descriptor_,
63  FieldMeta::default_instance_,
64  FieldMeta_offsets_,
65  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldMeta, _has_bits_[0]),
66  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldMeta, _unknown_fields_),
67  -1,
68  ::google::protobuf::DescriptorPool::generated_pool(),
69  ::google::protobuf::MessageFactory::generated_factory(),
70  sizeof(FieldMeta));
71  TableMeta_descriptor_ = file->message_type(1);
72  static const int TableMeta_offsets_[3] = {
73  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TableMeta, schema_name_),
74  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TableMeta, table_name_),
75  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TableMeta, table_alias_),
76  };
77  TableMeta_reflection_ =
78  new ::google::protobuf::internal::GeneratedMessageReflection(
79  TableMeta_descriptor_,
80  TableMeta::default_instance_,
81  TableMeta_offsets_,
82  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TableMeta, _has_bits_[0]),
83  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TableMeta, _unknown_fields_),
84  -1,
85  ::google::protobuf::DescriptorPool::generated_pool(),
86  ::google::protobuf::MessageFactory::generated_factory(),
87  sizeof(TableMeta));
88  SelectRecord_descriptor_ = file->message_type(2);
89  static const int SelectRecord_offsets_[2] = {
90  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SelectRecord, record_value_),
91  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SelectRecord, is_null_),
92  };
93  SelectRecord_reflection_ =
94  new ::google::protobuf::internal::GeneratedMessageReflection(
95  SelectRecord_descriptor_,
96  SelectRecord::default_instance_,
97  SelectRecord_offsets_,
98  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SelectRecord, _has_bits_[0]),
99  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SelectRecord, _unknown_fields_),
100  -1,
101  ::google::protobuf::DescriptorPool::generated_pool(),
102  ::google::protobuf::MessageFactory::generated_factory(),
103  sizeof(SelectRecord));
104  SelectHeader_descriptor_ = file->message_type(3);
105  static const int SelectHeader_offsets_[2] = {
106  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SelectHeader, table_meta_),
107  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SelectHeader, field_meta_),
108  };
109  SelectHeader_reflection_ =
110  new ::google::protobuf::internal::GeneratedMessageReflection(
111  SelectHeader_descriptor_,
112  SelectHeader::default_instance_,
113  SelectHeader_offsets_,
114  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SelectHeader, _has_bits_[0]),
115  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SelectHeader, _unknown_fields_),
116  -1,
117  ::google::protobuf::DescriptorPool::generated_pool(),
118  ::google::protobuf::MessageFactory::generated_factory(),
119  sizeof(SelectHeader));
120  SelectData_descriptor_ = file->message_type(4);
121  static const int SelectData_offsets_[3] = {
122  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SelectData, segment_id_),
123  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SelectData, end_segment_),
124  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SelectData, record_),
125  };
126  SelectData_reflection_ =
127  new ::google::protobuf::internal::GeneratedMessageReflection(
128  SelectData_descriptor_,
129  SelectData::default_instance_,
130  SelectData_offsets_,
131  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SelectData, _has_bits_[0]),
132  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SelectData, _unknown_fields_),
133  -1,
134  ::google::protobuf::DescriptorPool::generated_pool(),
135  ::google::protobuf::MessageFactory::generated_factory(),
136  sizeof(SelectData));
137  Resultset_descriptor_ = file->message_type(5);
138  static const int Resultset_offsets_[5] = {
139  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Resultset, key_),
140  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Resultset, schema_),
141  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Resultset, sql_),
142  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Resultset, select_header_),
143  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Resultset, select_data_),
144  };
145  Resultset_reflection_ =
146  new ::google::protobuf::internal::GeneratedMessageReflection(
147  Resultset_descriptor_,
148  Resultset::default_instance_,
149  Resultset_offsets_,
150  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Resultset, _has_bits_[0]),
151  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Resultset, _unknown_fields_),
152  -1,
153  ::google::protobuf::DescriptorPool::generated_pool(),
154  ::google::protobuf::MessageFactory::generated_factory(),
155  sizeof(Resultset));
156 }
157 
158 namespace {
159 
160 GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
161 inline void protobuf_AssignDescriptorsOnce() {
162  ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
163  &protobuf_AssignDesc_resultset_2eproto);
164 }
165 
166 void protobuf_RegisterTypes(const ::std::string&) {
167  protobuf_AssignDescriptorsOnce();
168  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
169  FieldMeta_descriptor_, &FieldMeta::default_instance());
170  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
171  TableMeta_descriptor_, &TableMeta::default_instance());
172  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
173  SelectRecord_descriptor_, &SelectRecord::default_instance());
174  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
175  SelectHeader_descriptor_, &SelectHeader::default_instance());
176  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
177  SelectData_descriptor_, &SelectData::default_instance());
178  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
179  Resultset_descriptor_, &Resultset::default_instance());
180 }
181 
182 } // namespace
183 
184 void protobuf_ShutdownFile_resultset_2eproto() {
185  delete FieldMeta::default_instance_;
186  delete FieldMeta_reflection_;
187  delete TableMeta::default_instance_;
188  delete TableMeta_reflection_;
189  delete SelectRecord::default_instance_;
190  delete SelectRecord_reflection_;
191  delete SelectHeader::default_instance_;
192  delete SelectHeader_reflection_;
193  delete SelectData::default_instance_;
194  delete SelectData_reflection_;
195  delete Resultset::default_instance_;
196  delete Resultset_reflection_;
197 }
198 
199 void protobuf_AddDesc_resultset_2eproto() {
200  static bool already_here = false;
201  if (already_here) return;
202  already_here = true;
203  GOOGLE_PROTOBUF_VERIFY_VERSION;
204 
205  ::drizzled::message::protobuf_AddDesc_table_2eproto();
206  ::drizzled::message::protobuf_AddDesc_schema_2eproto();
207  ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
208  "\n\017resultset.proto\022\020drizzled.message\032\013tab"
209  "le.proto\032\014schema.proto\"r\n\tFieldMeta\022\022\n\nf"
210  "ield_name\030\001 \002(\t\022\023\n\013field_alias\030\002 \001(\t\022\022\n\n"
211  "table_name\030\003 \002(\t\022\023\n\013table_alias\030\004 \001(\t\022\023\n"
212  "\013schema_name\030\005 \002(\t\"I\n\tTableMeta\022\023\n\013schem"
213  "a_name\030\001 \002(\t\022\022\n\ntable_name\030\002 \002(\t\022\023\n\013tabl"
214  "e_alias\030\003 \001(\t\"5\n\014SelectRecord\022\024\n\014record_"
215  "value\030\001 \003(\014\022\017\n\007is_null\030\002 \003(\010\"p\n\014SelectHe"
216  "ader\022/\n\ntable_meta\030\001 \003(\0132\033.drizzled.mess"
217  "age.TableMeta\022/\n\nfield_meta\030\002 \003(\0132\033.driz"
218  "zled.message.FieldMeta\"e\n\nSelectData\022\022\n\n"
219  "segment_id\030\001 \002(\r\022\023\n\013end_segment\030\002 \002(\010\022.\n"
220  "\006record\030\003 \003(\0132\036.drizzled.message.SelectR"
221  "ecord\"\237\001\n\tResultset\022\013\n\003key\030\001 \002(\t\022\016\n\006sche"
222  "ma\030\002 \002(\t\022\013\n\003sql\030\003 \001(\t\0225\n\rselect_header\030\004"
223  " \001(\0132\036.drizzled.message.SelectHeader\0221\n\013"
224  "select_data\030\005 \001(\0132\034.drizzled.message.Sel"
225  "ectDataB*\n\024org.drizzle.messagesB\020ResultS"
226  "etMessageH\001", 731);
227  ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
228  "resultset.proto", &protobuf_RegisterTypes);
229  FieldMeta::default_instance_ = new FieldMeta();
230  TableMeta::default_instance_ = new TableMeta();
231  SelectRecord::default_instance_ = new SelectRecord();
232  SelectHeader::default_instance_ = new SelectHeader();
233  SelectData::default_instance_ = new SelectData();
234  Resultset::default_instance_ = new Resultset();
235  FieldMeta::default_instance_->InitAsDefaultInstance();
236  TableMeta::default_instance_->InitAsDefaultInstance();
237  SelectRecord::default_instance_->InitAsDefaultInstance();
238  SelectHeader::default_instance_->InitAsDefaultInstance();
239  SelectData::default_instance_->InitAsDefaultInstance();
240  Resultset::default_instance_->InitAsDefaultInstance();
241  ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_resultset_2eproto);
242 }
243 
244 // Force AddDescriptors() to be called at static initialization time.
247  protobuf_AddDesc_resultset_2eproto();
248  }
249 } static_descriptor_initializer_resultset_2eproto_;
250 
251 // ===================================================================
252 
253 #ifndef _MSC_VER
254 const int FieldMeta::kFieldNameFieldNumber;
255 const int FieldMeta::kFieldAliasFieldNumber;
256 const int FieldMeta::kTableNameFieldNumber;
257 const int FieldMeta::kTableAliasFieldNumber;
258 const int FieldMeta::kSchemaNameFieldNumber;
259 #endif // !_MSC_VER
260 
261 FieldMeta::FieldMeta()
262  : ::google::protobuf::Message() {
263  SharedCtor();
264  // @@protoc_insertion_point(constructor:drizzled.message.FieldMeta)
265 }
266 
267 void FieldMeta::InitAsDefaultInstance() {
268 }
269 
270 FieldMeta::FieldMeta(const FieldMeta& from)
271  : ::google::protobuf::Message() {
272  SharedCtor();
273  MergeFrom(from);
274  // @@protoc_insertion_point(copy_constructor:drizzled.message.FieldMeta)
275 }
276 
277 void FieldMeta::SharedCtor() {
278  ::google::protobuf::internal::GetEmptyString();
279  _cached_size_ = 0;
280  field_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
281  field_alias_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
282  table_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
283  table_alias_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
284  schema_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
285  ::memset(_has_bits_, 0, sizeof(_has_bits_));
286 }
287 
288 FieldMeta::~FieldMeta() {
289  // @@protoc_insertion_point(destructor:drizzled.message.FieldMeta)
290  SharedDtor();
291 }
292 
293 void FieldMeta::SharedDtor() {
294  if (field_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
295  delete field_name_;
296  }
297  if (field_alias_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
298  delete field_alias_;
299  }
300  if (table_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
301  delete table_name_;
302  }
303  if (table_alias_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
304  delete table_alias_;
305  }
306  if (schema_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
307  delete schema_name_;
308  }
309  if (this != default_instance_) {
310  }
311 }
312 
313 void FieldMeta::SetCachedSize(int size) const {
314  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
315  _cached_size_ = size;
316  GOOGLE_SAFE_CONCURRENT_WRITES_END();
317 }
318 const ::google::protobuf::Descriptor* FieldMeta::descriptor() {
319  protobuf_AssignDescriptorsOnce();
320  return FieldMeta_descriptor_;
321 }
322 
323 const FieldMeta& FieldMeta::default_instance() {
324  if (default_instance_ == NULL) protobuf_AddDesc_resultset_2eproto();
325  return *default_instance_;
326 }
327 
328 FieldMeta* FieldMeta::default_instance_ = NULL;
329 
330 FieldMeta* FieldMeta::New() const {
331  return new FieldMeta;
332 }
333 
334 void FieldMeta::Clear() {
335  if (_has_bits_[0 / 32] & 31) {
336  if (has_field_name()) {
337  if (field_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
338  field_name_->clear();
339  }
340  }
341  if (has_field_alias()) {
342  if (field_alias_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
343  field_alias_->clear();
344  }
345  }
346  if (has_table_name()) {
347  if (table_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
348  table_name_->clear();
349  }
350  }
351  if (has_table_alias()) {
352  if (table_alias_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
353  table_alias_->clear();
354  }
355  }
356  if (has_schema_name()) {
357  if (schema_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
358  schema_name_->clear();
359  }
360  }
361  }
362  ::memset(_has_bits_, 0, sizeof(_has_bits_));
363  mutable_unknown_fields()->Clear();
364 }
365 
366 bool FieldMeta::MergePartialFromCodedStream(
367  ::google::protobuf::io::CodedInputStream* input) {
368 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
369  ::google::protobuf::uint32 tag;
370  // @@protoc_insertion_point(parse_start:drizzled.message.FieldMeta)
371  for (;;) {
372  ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
373  tag = p.first;
374  if (!p.second) goto handle_unusual;
375  switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
376  // required string field_name = 1;
377  case 1: {
378  if (tag == 10) {
379  DO_(::google::protobuf::internal::WireFormatLite::ReadString(
380  input, this->mutable_field_name()));
381  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
382  this->field_name().data(), this->field_name().length(),
383  ::google::protobuf::internal::WireFormat::PARSE,
384  "field_name");
385  } else {
386  goto handle_unusual;
387  }
388  if (input->ExpectTag(18)) goto parse_field_alias;
389  break;
390  }
391 
392  // optional string field_alias = 2;
393  case 2: {
394  if (tag == 18) {
395  parse_field_alias:
396  DO_(::google::protobuf::internal::WireFormatLite::ReadString(
397  input, this->mutable_field_alias()));
398  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
399  this->field_alias().data(), this->field_alias().length(),
400  ::google::protobuf::internal::WireFormat::PARSE,
401  "field_alias");
402  } else {
403  goto handle_unusual;
404  }
405  if (input->ExpectTag(26)) goto parse_table_name;
406  break;
407  }
408 
409  // required string table_name = 3;
410  case 3: {
411  if (tag == 26) {
412  parse_table_name:
413  DO_(::google::protobuf::internal::WireFormatLite::ReadString(
414  input, this->mutable_table_name()));
415  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
416  this->table_name().data(), this->table_name().length(),
417  ::google::protobuf::internal::WireFormat::PARSE,
418  "table_name");
419  } else {
420  goto handle_unusual;
421  }
422  if (input->ExpectTag(34)) goto parse_table_alias;
423  break;
424  }
425 
426  // optional string table_alias = 4;
427  case 4: {
428  if (tag == 34) {
429  parse_table_alias:
430  DO_(::google::protobuf::internal::WireFormatLite::ReadString(
431  input, this->mutable_table_alias()));
432  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
433  this->table_alias().data(), this->table_alias().length(),
434  ::google::protobuf::internal::WireFormat::PARSE,
435  "table_alias");
436  } else {
437  goto handle_unusual;
438  }
439  if (input->ExpectTag(42)) goto parse_schema_name;
440  break;
441  }
442 
443  // required string schema_name = 5;
444  case 5: {
445  if (tag == 42) {
446  parse_schema_name:
447  DO_(::google::protobuf::internal::WireFormatLite::ReadString(
448  input, this->mutable_schema_name()));
449  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
450  this->schema_name().data(), this->schema_name().length(),
451  ::google::protobuf::internal::WireFormat::PARSE,
452  "schema_name");
453  } else {
454  goto handle_unusual;
455  }
456  if (input->ExpectAtEnd()) goto success;
457  break;
458  }
459 
460  default: {
461  handle_unusual:
462  if (tag == 0 ||
463  ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
464  ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
465  goto success;
466  }
467  DO_(::google::protobuf::internal::WireFormat::SkipField(
468  input, tag, mutable_unknown_fields()));
469  break;
470  }
471  }
472  }
473 success:
474  // @@protoc_insertion_point(parse_success:drizzled.message.FieldMeta)
475  return true;
476 failure:
477  // @@protoc_insertion_point(parse_failure:drizzled.message.FieldMeta)
478  return false;
479 #undef DO_
480 }
481 
482 void FieldMeta::SerializeWithCachedSizes(
483  ::google::protobuf::io::CodedOutputStream* output) const {
484  // @@protoc_insertion_point(serialize_start:drizzled.message.FieldMeta)
485  // required string field_name = 1;
486  if (has_field_name()) {
487  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
488  this->field_name().data(), this->field_name().length(),
489  ::google::protobuf::internal::WireFormat::SERIALIZE,
490  "field_name");
491  ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
492  1, this->field_name(), output);
493  }
494 
495  // optional string field_alias = 2;
496  if (has_field_alias()) {
497  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
498  this->field_alias().data(), this->field_alias().length(),
499  ::google::protobuf::internal::WireFormat::SERIALIZE,
500  "field_alias");
501  ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
502  2, this->field_alias(), output);
503  }
504 
505  // required string table_name = 3;
506  if (has_table_name()) {
507  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
508  this->table_name().data(), this->table_name().length(),
509  ::google::protobuf::internal::WireFormat::SERIALIZE,
510  "table_name");
511  ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
512  3, this->table_name(), output);
513  }
514 
515  // optional string table_alias = 4;
516  if (has_table_alias()) {
517  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
518  this->table_alias().data(), this->table_alias().length(),
519  ::google::protobuf::internal::WireFormat::SERIALIZE,
520  "table_alias");
521  ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
522  4, this->table_alias(), output);
523  }
524 
525  // required string schema_name = 5;
526  if (has_schema_name()) {
527  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
528  this->schema_name().data(), this->schema_name().length(),
529  ::google::protobuf::internal::WireFormat::SERIALIZE,
530  "schema_name");
531  ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
532  5, this->schema_name(), output);
533  }
534 
535  if (!unknown_fields().empty()) {
536  ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
537  unknown_fields(), output);
538  }
539  // @@protoc_insertion_point(serialize_end:drizzled.message.FieldMeta)
540 }
541 
542 ::google::protobuf::uint8* FieldMeta::SerializeWithCachedSizesToArray(
543  ::google::protobuf::uint8* target) const {
544  // @@protoc_insertion_point(serialize_to_array_start:drizzled.message.FieldMeta)
545  // required string field_name = 1;
546  if (has_field_name()) {
547  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
548  this->field_name().data(), this->field_name().length(),
549  ::google::protobuf::internal::WireFormat::SERIALIZE,
550  "field_name");
551  target =
552  ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
553  1, this->field_name(), target);
554  }
555 
556  // optional string field_alias = 2;
557  if (has_field_alias()) {
558  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
559  this->field_alias().data(), this->field_alias().length(),
560  ::google::protobuf::internal::WireFormat::SERIALIZE,
561  "field_alias");
562  target =
563  ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
564  2, this->field_alias(), target);
565  }
566 
567  // required string table_name = 3;
568  if (has_table_name()) {
569  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
570  this->table_name().data(), this->table_name().length(),
571  ::google::protobuf::internal::WireFormat::SERIALIZE,
572  "table_name");
573  target =
574  ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
575  3, this->table_name(), target);
576  }
577 
578  // optional string table_alias = 4;
579  if (has_table_alias()) {
580  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
581  this->table_alias().data(), this->table_alias().length(),
582  ::google::protobuf::internal::WireFormat::SERIALIZE,
583  "table_alias");
584  target =
585  ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
586  4, this->table_alias(), target);
587  }
588 
589  // required string schema_name = 5;
590  if (has_schema_name()) {
591  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
592  this->schema_name().data(), this->schema_name().length(),
593  ::google::protobuf::internal::WireFormat::SERIALIZE,
594  "schema_name");
595  target =
596  ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
597  5, this->schema_name(), target);
598  }
599 
600  if (!unknown_fields().empty()) {
601  target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
602  unknown_fields(), target);
603  }
604  // @@protoc_insertion_point(serialize_to_array_end:drizzled.message.FieldMeta)
605  return target;
606 }
607 
608 int FieldMeta::ByteSize() const {
609  int total_size = 0;
610 
611  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
612  // required string field_name = 1;
613  if (has_field_name()) {
614  total_size += 1 +
615  ::google::protobuf::internal::WireFormatLite::StringSize(
616  this->field_name());
617  }
618 
619  // optional string field_alias = 2;
620  if (has_field_alias()) {
621  total_size += 1 +
622  ::google::protobuf::internal::WireFormatLite::StringSize(
623  this->field_alias());
624  }
625 
626  // required string table_name = 3;
627  if (has_table_name()) {
628  total_size += 1 +
629  ::google::protobuf::internal::WireFormatLite::StringSize(
630  this->table_name());
631  }
632 
633  // optional string table_alias = 4;
634  if (has_table_alias()) {
635  total_size += 1 +
636  ::google::protobuf::internal::WireFormatLite::StringSize(
637  this->table_alias());
638  }
639 
640  // required string schema_name = 5;
641  if (has_schema_name()) {
642  total_size += 1 +
643  ::google::protobuf::internal::WireFormatLite::StringSize(
644  this->schema_name());
645  }
646 
647  }
648  if (!unknown_fields().empty()) {
649  total_size +=
650  ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
651  unknown_fields());
652  }
653  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
654  _cached_size_ = total_size;
655  GOOGLE_SAFE_CONCURRENT_WRITES_END();
656  return total_size;
657 }
658 
659 void FieldMeta::MergeFrom(const ::google::protobuf::Message& from) {
660  GOOGLE_CHECK_NE(&from, this);
661  const FieldMeta* source =
662  ::google::protobuf::internal::dynamic_cast_if_available<const FieldMeta*>(
663  &from);
664  if (source == NULL) {
665  ::google::protobuf::internal::ReflectionOps::Merge(from, this);
666  } else {
667  MergeFrom(*source);
668  }
669 }
670 
671 void FieldMeta::MergeFrom(const FieldMeta& from) {
672  GOOGLE_CHECK_NE(&from, this);
673  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
674  if (from.has_field_name()) {
675  set_field_name(from.field_name());
676  }
677  if (from.has_field_alias()) {
678  set_field_alias(from.field_alias());
679  }
680  if (from.has_table_name()) {
681  set_table_name(from.table_name());
682  }
683  if (from.has_table_alias()) {
684  set_table_alias(from.table_alias());
685  }
686  if (from.has_schema_name()) {
687  set_schema_name(from.schema_name());
688  }
689  }
690  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
691 }
692 
693 void FieldMeta::CopyFrom(const ::google::protobuf::Message& from) {
694  if (&from == this) return;
695  Clear();
696  MergeFrom(from);
697 }
698 
699 void FieldMeta::CopyFrom(const FieldMeta& from) {
700  if (&from == this) return;
701  Clear();
702  MergeFrom(from);
703 }
704 
705 bool FieldMeta::IsInitialized() const {
706  if ((_has_bits_[0] & 0x00000015) != 0x00000015) return false;
707 
708  return true;
709 }
710 
711 void FieldMeta::Swap(FieldMeta* other) {
712  if (other != this) {
713  std::swap(field_name_, other->field_name_);
714  std::swap(field_alias_, other->field_alias_);
715  std::swap(table_name_, other->table_name_);
716  std::swap(table_alias_, other->table_alias_);
717  std::swap(schema_name_, other->schema_name_);
718  std::swap(_has_bits_[0], other->_has_bits_[0]);
719  _unknown_fields_.Swap(&other->_unknown_fields_);
720  std::swap(_cached_size_, other->_cached_size_);
721  }
722 }
723 
724 ::google::protobuf::Metadata FieldMeta::GetMetadata() const {
725  protobuf_AssignDescriptorsOnce();
726  ::google::protobuf::Metadata metadata;
727  metadata.descriptor = FieldMeta_descriptor_;
728  metadata.reflection = FieldMeta_reflection_;
729  return metadata;
730 }
731 
732 
733 // ===================================================================
734 
735 #ifndef _MSC_VER
736 const int TableMeta::kSchemaNameFieldNumber;
737 const int TableMeta::kTableNameFieldNumber;
738 const int TableMeta::kTableAliasFieldNumber;
739 #endif // !_MSC_VER
740 
741 TableMeta::TableMeta()
742  : ::google::protobuf::Message() {
743  SharedCtor();
744  // @@protoc_insertion_point(constructor:drizzled.message.TableMeta)
745 }
746 
747 void TableMeta::InitAsDefaultInstance() {
748 }
749 
750 TableMeta::TableMeta(const TableMeta& from)
751  : ::google::protobuf::Message() {
752  SharedCtor();
753  MergeFrom(from);
754  // @@protoc_insertion_point(copy_constructor:drizzled.message.TableMeta)
755 }
756 
757 void TableMeta::SharedCtor() {
758  ::google::protobuf::internal::GetEmptyString();
759  _cached_size_ = 0;
760  schema_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
761  table_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
762  table_alias_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
763  ::memset(_has_bits_, 0, sizeof(_has_bits_));
764 }
765 
766 TableMeta::~TableMeta() {
767  // @@protoc_insertion_point(destructor:drizzled.message.TableMeta)
768  SharedDtor();
769 }
770 
771 void TableMeta::SharedDtor() {
772  if (schema_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
773  delete schema_name_;
774  }
775  if (table_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
776  delete table_name_;
777  }
778  if (table_alias_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
779  delete table_alias_;
780  }
781  if (this != default_instance_) {
782  }
783 }
784 
785 void TableMeta::SetCachedSize(int size) const {
786  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
787  _cached_size_ = size;
788  GOOGLE_SAFE_CONCURRENT_WRITES_END();
789 }
790 const ::google::protobuf::Descriptor* TableMeta::descriptor() {
791  protobuf_AssignDescriptorsOnce();
792  return TableMeta_descriptor_;
793 }
794 
795 const TableMeta& TableMeta::default_instance() {
796  if (default_instance_ == NULL) protobuf_AddDesc_resultset_2eproto();
797  return *default_instance_;
798 }
799 
800 TableMeta* TableMeta::default_instance_ = NULL;
801 
802 TableMeta* TableMeta::New() const {
803  return new TableMeta;
804 }
805 
806 void TableMeta::Clear() {
807  if (_has_bits_[0 / 32] & 7) {
808  if (has_schema_name()) {
809  if (schema_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
810  schema_name_->clear();
811  }
812  }
813  if (has_table_name()) {
814  if (table_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
815  table_name_->clear();
816  }
817  }
818  if (has_table_alias()) {
819  if (table_alias_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
820  table_alias_->clear();
821  }
822  }
823  }
824  ::memset(_has_bits_, 0, sizeof(_has_bits_));
825  mutable_unknown_fields()->Clear();
826 }
827 
828 bool TableMeta::MergePartialFromCodedStream(
829  ::google::protobuf::io::CodedInputStream* input) {
830 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
831  ::google::protobuf::uint32 tag;
832  // @@protoc_insertion_point(parse_start:drizzled.message.TableMeta)
833  for (;;) {
834  ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
835  tag = p.first;
836  if (!p.second) goto handle_unusual;
837  switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
838  // required string schema_name = 1;
839  case 1: {
840  if (tag == 10) {
841  DO_(::google::protobuf::internal::WireFormatLite::ReadString(
842  input, this->mutable_schema_name()));
843  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
844  this->schema_name().data(), this->schema_name().length(),
845  ::google::protobuf::internal::WireFormat::PARSE,
846  "schema_name");
847  } else {
848  goto handle_unusual;
849  }
850  if (input->ExpectTag(18)) goto parse_table_name;
851  break;
852  }
853 
854  // required string table_name = 2;
855  case 2: {
856  if (tag == 18) {
857  parse_table_name:
858  DO_(::google::protobuf::internal::WireFormatLite::ReadString(
859  input, this->mutable_table_name()));
860  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
861  this->table_name().data(), this->table_name().length(),
862  ::google::protobuf::internal::WireFormat::PARSE,
863  "table_name");
864  } else {
865  goto handle_unusual;
866  }
867  if (input->ExpectTag(26)) goto parse_table_alias;
868  break;
869  }
870 
871  // optional string table_alias = 3;
872  case 3: {
873  if (tag == 26) {
874  parse_table_alias:
875  DO_(::google::protobuf::internal::WireFormatLite::ReadString(
876  input, this->mutable_table_alias()));
877  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
878  this->table_alias().data(), this->table_alias().length(),
879  ::google::protobuf::internal::WireFormat::PARSE,
880  "table_alias");
881  } else {
882  goto handle_unusual;
883  }
884  if (input->ExpectAtEnd()) goto success;
885  break;
886  }
887 
888  default: {
889  handle_unusual:
890  if (tag == 0 ||
891  ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
892  ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
893  goto success;
894  }
895  DO_(::google::protobuf::internal::WireFormat::SkipField(
896  input, tag, mutable_unknown_fields()));
897  break;
898  }
899  }
900  }
901 success:
902  // @@protoc_insertion_point(parse_success:drizzled.message.TableMeta)
903  return true;
904 failure:
905  // @@protoc_insertion_point(parse_failure:drizzled.message.TableMeta)
906  return false;
907 #undef DO_
908 }
909 
910 void TableMeta::SerializeWithCachedSizes(
911  ::google::protobuf::io::CodedOutputStream* output) const {
912  // @@protoc_insertion_point(serialize_start:drizzled.message.TableMeta)
913  // required string schema_name = 1;
914  if (has_schema_name()) {
915  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
916  this->schema_name().data(), this->schema_name().length(),
917  ::google::protobuf::internal::WireFormat::SERIALIZE,
918  "schema_name");
919  ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
920  1, this->schema_name(), output);
921  }
922 
923  // required string table_name = 2;
924  if (has_table_name()) {
925  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
926  this->table_name().data(), this->table_name().length(),
927  ::google::protobuf::internal::WireFormat::SERIALIZE,
928  "table_name");
929  ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
930  2, this->table_name(), output);
931  }
932 
933  // optional string table_alias = 3;
934  if (has_table_alias()) {
935  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
936  this->table_alias().data(), this->table_alias().length(),
937  ::google::protobuf::internal::WireFormat::SERIALIZE,
938  "table_alias");
939  ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
940  3, this->table_alias(), output);
941  }
942 
943  if (!unknown_fields().empty()) {
944  ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
945  unknown_fields(), output);
946  }
947  // @@protoc_insertion_point(serialize_end:drizzled.message.TableMeta)
948 }
949 
950 ::google::protobuf::uint8* TableMeta::SerializeWithCachedSizesToArray(
951  ::google::protobuf::uint8* target) const {
952  // @@protoc_insertion_point(serialize_to_array_start:drizzled.message.TableMeta)
953  // required string schema_name = 1;
954  if (has_schema_name()) {
955  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
956  this->schema_name().data(), this->schema_name().length(),
957  ::google::protobuf::internal::WireFormat::SERIALIZE,
958  "schema_name");
959  target =
960  ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
961  1, this->schema_name(), target);
962  }
963 
964  // required string table_name = 2;
965  if (has_table_name()) {
966  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
967  this->table_name().data(), this->table_name().length(),
968  ::google::protobuf::internal::WireFormat::SERIALIZE,
969  "table_name");
970  target =
971  ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
972  2, this->table_name(), target);
973  }
974 
975  // optional string table_alias = 3;
976  if (has_table_alias()) {
977  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
978  this->table_alias().data(), this->table_alias().length(),
979  ::google::protobuf::internal::WireFormat::SERIALIZE,
980  "table_alias");
981  target =
982  ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
983  3, this->table_alias(), target);
984  }
985 
986  if (!unknown_fields().empty()) {
987  target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
988  unknown_fields(), target);
989  }
990  // @@protoc_insertion_point(serialize_to_array_end:drizzled.message.TableMeta)
991  return target;
992 }
993 
994 int TableMeta::ByteSize() const {
995  int total_size = 0;
996 
997  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
998  // required string schema_name = 1;
999  if (has_schema_name()) {
1000  total_size += 1 +
1001  ::google::protobuf::internal::WireFormatLite::StringSize(
1002  this->schema_name());
1003  }
1004 
1005  // required string table_name = 2;
1006  if (has_table_name()) {
1007  total_size += 1 +
1008  ::google::protobuf::internal::WireFormatLite::StringSize(
1009  this->table_name());
1010  }
1011 
1012  // optional string table_alias = 3;
1013  if (has_table_alias()) {
1014  total_size += 1 +
1015  ::google::protobuf::internal::WireFormatLite::StringSize(
1016  this->table_alias());
1017  }
1018 
1019  }
1020  if (!unknown_fields().empty()) {
1021  total_size +=
1022  ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
1023  unknown_fields());
1024  }
1025  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1026  _cached_size_ = total_size;
1027  GOOGLE_SAFE_CONCURRENT_WRITES_END();
1028  return total_size;
1029 }
1030 
1031 void TableMeta::MergeFrom(const ::google::protobuf::Message& from) {
1032  GOOGLE_CHECK_NE(&from, this);
1033  const TableMeta* source =
1034  ::google::protobuf::internal::dynamic_cast_if_available<const TableMeta*>(
1035  &from);
1036  if (source == NULL) {
1037  ::google::protobuf::internal::ReflectionOps::Merge(from, this);
1038  } else {
1039  MergeFrom(*source);
1040  }
1041 }
1042 
1043 void TableMeta::MergeFrom(const TableMeta& from) {
1044  GOOGLE_CHECK_NE(&from, this);
1045  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
1046  if (from.has_schema_name()) {
1047  set_schema_name(from.schema_name());
1048  }
1049  if (from.has_table_name()) {
1050  set_table_name(from.table_name());
1051  }
1052  if (from.has_table_alias()) {
1053  set_table_alias(from.table_alias());
1054  }
1055  }
1056  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
1057 }
1058 
1059 void TableMeta::CopyFrom(const ::google::protobuf::Message& from) {
1060  if (&from == this) return;
1061  Clear();
1062  MergeFrom(from);
1063 }
1064 
1065 void TableMeta::CopyFrom(const TableMeta& from) {
1066  if (&from == this) return;
1067  Clear();
1068  MergeFrom(from);
1069 }
1070 
1071 bool TableMeta::IsInitialized() const {
1072  if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
1073 
1074  return true;
1075 }
1076 
1077 void TableMeta::Swap(TableMeta* other) {
1078  if (other != this) {
1079  std::swap(schema_name_, other->schema_name_);
1080  std::swap(table_name_, other->table_name_);
1081  std::swap(table_alias_, other->table_alias_);
1082  std::swap(_has_bits_[0], other->_has_bits_[0]);
1083  _unknown_fields_.Swap(&other->_unknown_fields_);
1084  std::swap(_cached_size_, other->_cached_size_);
1085  }
1086 }
1087 
1088 ::google::protobuf::Metadata TableMeta::GetMetadata() const {
1089  protobuf_AssignDescriptorsOnce();
1090  ::google::protobuf::Metadata metadata;
1091  metadata.descriptor = TableMeta_descriptor_;
1092  metadata.reflection = TableMeta_reflection_;
1093  return metadata;
1094 }
1095 
1096 
1097 // ===================================================================
1098 
1099 #ifndef _MSC_VER
1100 const int SelectRecord::kRecordValueFieldNumber;
1101 const int SelectRecord::kIsNullFieldNumber;
1102 #endif // !_MSC_VER
1103 
1104 SelectRecord::SelectRecord()
1105  : ::google::protobuf::Message() {
1106  SharedCtor();
1107  // @@protoc_insertion_point(constructor:drizzled.message.SelectRecord)
1108 }
1109 
1110 void SelectRecord::InitAsDefaultInstance() {
1111 }
1112 
1113 SelectRecord::SelectRecord(const SelectRecord& from)
1114  : ::google::protobuf::Message() {
1115  SharedCtor();
1116  MergeFrom(from);
1117  // @@protoc_insertion_point(copy_constructor:drizzled.message.SelectRecord)
1118 }
1119 
1120 void SelectRecord::SharedCtor() {
1121  ::google::protobuf::internal::GetEmptyString();
1122  _cached_size_ = 0;
1123  ::memset(_has_bits_, 0, sizeof(_has_bits_));
1124 }
1125 
1126 SelectRecord::~SelectRecord() {
1127  // @@protoc_insertion_point(destructor:drizzled.message.SelectRecord)
1128  SharedDtor();
1129 }
1130 
1131 void SelectRecord::SharedDtor() {
1132  if (this != default_instance_) {
1133  }
1134 }
1135 
1136 void SelectRecord::SetCachedSize(int size) const {
1137  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1138  _cached_size_ = size;
1139  GOOGLE_SAFE_CONCURRENT_WRITES_END();
1140 }
1141 const ::google::protobuf::Descriptor* SelectRecord::descriptor() {
1142  protobuf_AssignDescriptorsOnce();
1143  return SelectRecord_descriptor_;
1144 }
1145 
1146 const SelectRecord& SelectRecord::default_instance() {
1147  if (default_instance_ == NULL) protobuf_AddDesc_resultset_2eproto();
1148  return *default_instance_;
1149 }
1150 
1151 SelectRecord* SelectRecord::default_instance_ = NULL;
1152 
1153 SelectRecord* SelectRecord::New() const {
1154  return new SelectRecord;
1155 }
1156 
1157 void SelectRecord::Clear() {
1158  record_value_.Clear();
1159  is_null_.Clear();
1160  ::memset(_has_bits_, 0, sizeof(_has_bits_));
1161  mutable_unknown_fields()->Clear();
1162 }
1163 
1164 bool SelectRecord::MergePartialFromCodedStream(
1165  ::google::protobuf::io::CodedInputStream* input) {
1166 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
1167  ::google::protobuf::uint32 tag;
1168  // @@protoc_insertion_point(parse_start:drizzled.message.SelectRecord)
1169  for (;;) {
1170  ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
1171  tag = p.first;
1172  if (!p.second) goto handle_unusual;
1173  switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
1174  // repeated bytes record_value = 1;
1175  case 1: {
1176  if (tag == 10) {
1177  parse_record_value:
1178  DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
1179  input, this->add_record_value()));
1180  } else {
1181  goto handle_unusual;
1182  }
1183  if (input->ExpectTag(10)) goto parse_record_value;
1184  if (input->ExpectTag(16)) goto parse_is_null;
1185  break;
1186  }
1187 
1188  // repeated bool is_null = 2;
1189  case 2: {
1190  if (tag == 16) {
1191  parse_is_null:
1192  DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
1193  bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
1194  1, 16, input, this->mutable_is_null())));
1195  } else if (tag == 18) {
1196  DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
1197  bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
1198  input, this->mutable_is_null())));
1199  } else {
1200  goto handle_unusual;
1201  }
1202  if (input->ExpectTag(16)) goto parse_is_null;
1203  if (input->ExpectAtEnd()) goto success;
1204  break;
1205  }
1206 
1207  default: {
1208  handle_unusual:
1209  if (tag == 0 ||
1210  ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
1211  ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
1212  goto success;
1213  }
1214  DO_(::google::protobuf::internal::WireFormat::SkipField(
1215  input, tag, mutable_unknown_fields()));
1216  break;
1217  }
1218  }
1219  }
1220 success:
1221  // @@protoc_insertion_point(parse_success:drizzled.message.SelectRecord)
1222  return true;
1223 failure:
1224  // @@protoc_insertion_point(parse_failure:drizzled.message.SelectRecord)
1225  return false;
1226 #undef DO_
1227 }
1228 
1229 void SelectRecord::SerializeWithCachedSizes(
1230  ::google::protobuf::io::CodedOutputStream* output) const {
1231  // @@protoc_insertion_point(serialize_start:drizzled.message.SelectRecord)
1232  // repeated bytes record_value = 1;
1233  for (int i = 0; i < this->record_value_size(); i++) {
1234  ::google::protobuf::internal::WireFormatLite::WriteBytes(
1235  1, this->record_value(i), output);
1236  }
1237 
1238  // repeated bool is_null = 2;
1239  for (int i = 0; i < this->is_null_size(); i++) {
1240  ::google::protobuf::internal::WireFormatLite::WriteBool(
1241  2, this->is_null(i), output);
1242  }
1243 
1244  if (!unknown_fields().empty()) {
1245  ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
1246  unknown_fields(), output);
1247  }
1248  // @@protoc_insertion_point(serialize_end:drizzled.message.SelectRecord)
1249 }
1250 
1251 ::google::protobuf::uint8* SelectRecord::SerializeWithCachedSizesToArray(
1252  ::google::protobuf::uint8* target) const {
1253  // @@protoc_insertion_point(serialize_to_array_start:drizzled.message.SelectRecord)
1254  // repeated bytes record_value = 1;
1255  for (int i = 0; i < this->record_value_size(); i++) {
1256  target = ::google::protobuf::internal::WireFormatLite::
1257  WriteBytesToArray(1, this->record_value(i), target);
1258  }
1259 
1260  // repeated bool is_null = 2;
1261  for (int i = 0; i < this->is_null_size(); i++) {
1262  target = ::google::protobuf::internal::WireFormatLite::
1263  WriteBoolToArray(2, this->is_null(i), target);
1264  }
1265 
1266  if (!unknown_fields().empty()) {
1267  target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
1268  unknown_fields(), target);
1269  }
1270  // @@protoc_insertion_point(serialize_to_array_end:drizzled.message.SelectRecord)
1271  return target;
1272 }
1273 
1274 int SelectRecord::ByteSize() const {
1275  int total_size = 0;
1276 
1277  // repeated bytes record_value = 1;
1278  total_size += 1 * this->record_value_size();
1279  for (int i = 0; i < this->record_value_size(); i++) {
1280  total_size += ::google::protobuf::internal::WireFormatLite::BytesSize(
1281  this->record_value(i));
1282  }
1283 
1284  // repeated bool is_null = 2;
1285  {
1286  int data_size = 0;
1287  data_size = 1 * this->is_null_size();
1288  total_size += 1 * this->is_null_size() + data_size;
1289  }
1290 
1291  if (!unknown_fields().empty()) {
1292  total_size +=
1293  ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
1294  unknown_fields());
1295  }
1296  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1297  _cached_size_ = total_size;
1298  GOOGLE_SAFE_CONCURRENT_WRITES_END();
1299  return total_size;
1300 }
1301 
1302 void SelectRecord::MergeFrom(const ::google::protobuf::Message& from) {
1303  GOOGLE_CHECK_NE(&from, this);
1304  const SelectRecord* source =
1305  ::google::protobuf::internal::dynamic_cast_if_available<const SelectRecord*>(
1306  &from);
1307  if (source == NULL) {
1308  ::google::protobuf::internal::ReflectionOps::Merge(from, this);
1309  } else {
1310  MergeFrom(*source);
1311  }
1312 }
1313 
1314 void SelectRecord::MergeFrom(const SelectRecord& from) {
1315  GOOGLE_CHECK_NE(&from, this);
1316  record_value_.MergeFrom(from.record_value_);
1317  is_null_.MergeFrom(from.is_null_);
1318  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
1319 }
1320 
1321 void SelectRecord::CopyFrom(const ::google::protobuf::Message& from) {
1322  if (&from == this) return;
1323  Clear();
1324  MergeFrom(from);
1325 }
1326 
1327 void SelectRecord::CopyFrom(const SelectRecord& from) {
1328  if (&from == this) return;
1329  Clear();
1330  MergeFrom(from);
1331 }
1332 
1333 bool SelectRecord::IsInitialized() const {
1334 
1335  return true;
1336 }
1337 
1338 void SelectRecord::Swap(SelectRecord* other) {
1339  if (other != this) {
1340  record_value_.Swap(&other->record_value_);
1341  is_null_.Swap(&other->is_null_);
1342  std::swap(_has_bits_[0], other->_has_bits_[0]);
1343  _unknown_fields_.Swap(&other->_unknown_fields_);
1344  std::swap(_cached_size_, other->_cached_size_);
1345  }
1346 }
1347 
1348 ::google::protobuf::Metadata SelectRecord::GetMetadata() const {
1349  protobuf_AssignDescriptorsOnce();
1350  ::google::protobuf::Metadata metadata;
1351  metadata.descriptor = SelectRecord_descriptor_;
1352  metadata.reflection = SelectRecord_reflection_;
1353  return metadata;
1354 }
1355 
1356 
1357 // ===================================================================
1358 
1359 #ifndef _MSC_VER
1360 const int SelectHeader::kTableMetaFieldNumber;
1361 const int SelectHeader::kFieldMetaFieldNumber;
1362 #endif // !_MSC_VER
1363 
1364 SelectHeader::SelectHeader()
1365  : ::google::protobuf::Message() {
1366  SharedCtor();
1367  // @@protoc_insertion_point(constructor:drizzled.message.SelectHeader)
1368 }
1369 
1370 void SelectHeader::InitAsDefaultInstance() {
1371 }
1372 
1373 SelectHeader::SelectHeader(const SelectHeader& from)
1374  : ::google::protobuf::Message() {
1375  SharedCtor();
1376  MergeFrom(from);
1377  // @@protoc_insertion_point(copy_constructor:drizzled.message.SelectHeader)
1378 }
1379 
1380 void SelectHeader::SharedCtor() {
1381  _cached_size_ = 0;
1382  ::memset(_has_bits_, 0, sizeof(_has_bits_));
1383 }
1384 
1385 SelectHeader::~SelectHeader() {
1386  // @@protoc_insertion_point(destructor:drizzled.message.SelectHeader)
1387  SharedDtor();
1388 }
1389 
1390 void SelectHeader::SharedDtor() {
1391  if (this != default_instance_) {
1392  }
1393 }
1394 
1395 void SelectHeader::SetCachedSize(int size) const {
1396  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1397  _cached_size_ = size;
1398  GOOGLE_SAFE_CONCURRENT_WRITES_END();
1399 }
1400 const ::google::protobuf::Descriptor* SelectHeader::descriptor() {
1401  protobuf_AssignDescriptorsOnce();
1402  return SelectHeader_descriptor_;
1403 }
1404 
1405 const SelectHeader& SelectHeader::default_instance() {
1406  if (default_instance_ == NULL) protobuf_AddDesc_resultset_2eproto();
1407  return *default_instance_;
1408 }
1409 
1410 SelectHeader* SelectHeader::default_instance_ = NULL;
1411 
1412 SelectHeader* SelectHeader::New() const {
1413  return new SelectHeader;
1414 }
1415 
1416 void SelectHeader::Clear() {
1417  table_meta_.Clear();
1418  field_meta_.Clear();
1419  ::memset(_has_bits_, 0, sizeof(_has_bits_));
1420  mutable_unknown_fields()->Clear();
1421 }
1422 
1423 bool SelectHeader::MergePartialFromCodedStream(
1424  ::google::protobuf::io::CodedInputStream* input) {
1425 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
1426  ::google::protobuf::uint32 tag;
1427  // @@protoc_insertion_point(parse_start:drizzled.message.SelectHeader)
1428  for (;;) {
1429  ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
1430  tag = p.first;
1431  if (!p.second) goto handle_unusual;
1432  switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
1433  // repeated .drizzled.message.TableMeta table_meta = 1;
1434  case 1: {
1435  if (tag == 10) {
1436  parse_table_meta:
1437  DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
1438  input, add_table_meta()));
1439  } else {
1440  goto handle_unusual;
1441  }
1442  if (input->ExpectTag(10)) goto parse_table_meta;
1443  if (input->ExpectTag(18)) goto parse_field_meta;
1444  break;
1445  }
1446 
1447  // repeated .drizzled.message.FieldMeta field_meta = 2;
1448  case 2: {
1449  if (tag == 18) {
1450  parse_field_meta:
1451  DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
1452  input, add_field_meta()));
1453  } else {
1454  goto handle_unusual;
1455  }
1456  if (input->ExpectTag(18)) goto parse_field_meta;
1457  if (input->ExpectAtEnd()) goto success;
1458  break;
1459  }
1460 
1461  default: {
1462  handle_unusual:
1463  if (tag == 0 ||
1464  ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
1465  ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
1466  goto success;
1467  }
1468  DO_(::google::protobuf::internal::WireFormat::SkipField(
1469  input, tag, mutable_unknown_fields()));
1470  break;
1471  }
1472  }
1473  }
1474 success:
1475  // @@protoc_insertion_point(parse_success:drizzled.message.SelectHeader)
1476  return true;
1477 failure:
1478  // @@protoc_insertion_point(parse_failure:drizzled.message.SelectHeader)
1479  return false;
1480 #undef DO_
1481 }
1482 
1483 void SelectHeader::SerializeWithCachedSizes(
1484  ::google::protobuf::io::CodedOutputStream* output) const {
1485  // @@protoc_insertion_point(serialize_start:drizzled.message.SelectHeader)
1486  // repeated .drizzled.message.TableMeta table_meta = 1;
1487  for (int i = 0; i < this->table_meta_size(); i++) {
1488  ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
1489  1, this->table_meta(i), output);
1490  }
1491 
1492  // repeated .drizzled.message.FieldMeta field_meta = 2;
1493  for (int i = 0; i < this->field_meta_size(); i++) {
1494  ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
1495  2, this->field_meta(i), output);
1496  }
1497 
1498  if (!unknown_fields().empty()) {
1499  ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
1500  unknown_fields(), output);
1501  }
1502  // @@protoc_insertion_point(serialize_end:drizzled.message.SelectHeader)
1503 }
1504 
1505 ::google::protobuf::uint8* SelectHeader::SerializeWithCachedSizesToArray(
1506  ::google::protobuf::uint8* target) const {
1507  // @@protoc_insertion_point(serialize_to_array_start:drizzled.message.SelectHeader)
1508  // repeated .drizzled.message.TableMeta table_meta = 1;
1509  for (int i = 0; i < this->table_meta_size(); i++) {
1510  target = ::google::protobuf::internal::WireFormatLite::
1511  WriteMessageNoVirtualToArray(
1512  1, this->table_meta(i), target);
1513  }
1514 
1515  // repeated .drizzled.message.FieldMeta field_meta = 2;
1516  for (int i = 0; i < this->field_meta_size(); i++) {
1517  target = ::google::protobuf::internal::WireFormatLite::
1518  WriteMessageNoVirtualToArray(
1519  2, this->field_meta(i), target);
1520  }
1521 
1522  if (!unknown_fields().empty()) {
1523  target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
1524  unknown_fields(), target);
1525  }
1526  // @@protoc_insertion_point(serialize_to_array_end:drizzled.message.SelectHeader)
1527  return target;
1528 }
1529 
1530 int SelectHeader::ByteSize() const {
1531  int total_size = 0;
1532 
1533  // repeated .drizzled.message.TableMeta table_meta = 1;
1534  total_size += 1 * this->table_meta_size();
1535  for (int i = 0; i < this->table_meta_size(); i++) {
1536  total_size +=
1537  ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
1538  this->table_meta(i));
1539  }
1540 
1541  // repeated .drizzled.message.FieldMeta field_meta = 2;
1542  total_size += 1 * this->field_meta_size();
1543  for (int i = 0; i < this->field_meta_size(); i++) {
1544  total_size +=
1545  ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
1546  this->field_meta(i));
1547  }
1548 
1549  if (!unknown_fields().empty()) {
1550  total_size +=
1551  ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
1552  unknown_fields());
1553  }
1554  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1555  _cached_size_ = total_size;
1556  GOOGLE_SAFE_CONCURRENT_WRITES_END();
1557  return total_size;
1558 }
1559 
1560 void SelectHeader::MergeFrom(const ::google::protobuf::Message& from) {
1561  GOOGLE_CHECK_NE(&from, this);
1562  const SelectHeader* source =
1563  ::google::protobuf::internal::dynamic_cast_if_available<const SelectHeader*>(
1564  &from);
1565  if (source == NULL) {
1566  ::google::protobuf::internal::ReflectionOps::Merge(from, this);
1567  } else {
1568  MergeFrom(*source);
1569  }
1570 }
1571 
1572 void SelectHeader::MergeFrom(const SelectHeader& from) {
1573  GOOGLE_CHECK_NE(&from, this);
1574  table_meta_.MergeFrom(from.table_meta_);
1575  field_meta_.MergeFrom(from.field_meta_);
1576  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
1577 }
1578 
1579 void SelectHeader::CopyFrom(const ::google::protobuf::Message& from) {
1580  if (&from == this) return;
1581  Clear();
1582  MergeFrom(from);
1583 }
1584 
1585 void SelectHeader::CopyFrom(const SelectHeader& from) {
1586  if (&from == this) return;
1587  Clear();
1588  MergeFrom(from);
1589 }
1590 
1591 bool SelectHeader::IsInitialized() const {
1592 
1593  if (!::google::protobuf::internal::AllAreInitialized(this->table_meta())) return false;
1594  if (!::google::protobuf::internal::AllAreInitialized(this->field_meta())) return false;
1595  return true;
1596 }
1597 
1598 void SelectHeader::Swap(SelectHeader* other) {
1599  if (other != this) {
1600  table_meta_.Swap(&other->table_meta_);
1601  field_meta_.Swap(&other->field_meta_);
1602  std::swap(_has_bits_[0], other->_has_bits_[0]);
1603  _unknown_fields_.Swap(&other->_unknown_fields_);
1604  std::swap(_cached_size_, other->_cached_size_);
1605  }
1606 }
1607 
1608 ::google::protobuf::Metadata SelectHeader::GetMetadata() const {
1609  protobuf_AssignDescriptorsOnce();
1610  ::google::protobuf::Metadata metadata;
1611  metadata.descriptor = SelectHeader_descriptor_;
1612  metadata.reflection = SelectHeader_reflection_;
1613  return metadata;
1614 }
1615 
1616 
1617 // ===================================================================
1618 
1619 #ifndef _MSC_VER
1620 const int SelectData::kSegmentIdFieldNumber;
1621 const int SelectData::kEndSegmentFieldNumber;
1622 const int SelectData::kRecordFieldNumber;
1623 #endif // !_MSC_VER
1624 
1625 SelectData::SelectData()
1626  : ::google::protobuf::Message() {
1627  SharedCtor();
1628  // @@protoc_insertion_point(constructor:drizzled.message.SelectData)
1629 }
1630 
1631 void SelectData::InitAsDefaultInstance() {
1632 }
1633 
1634 SelectData::SelectData(const SelectData& from)
1635  : ::google::protobuf::Message() {
1636  SharedCtor();
1637  MergeFrom(from);
1638  // @@protoc_insertion_point(copy_constructor:drizzled.message.SelectData)
1639 }
1640 
1641 void SelectData::SharedCtor() {
1642  _cached_size_ = 0;
1643  segment_id_ = 0u;
1644  end_segment_ = false;
1645  ::memset(_has_bits_, 0, sizeof(_has_bits_));
1646 }
1647 
1648 SelectData::~SelectData() {
1649  // @@protoc_insertion_point(destructor:drizzled.message.SelectData)
1650  SharedDtor();
1651 }
1652 
1653 void SelectData::SharedDtor() {
1654  if (this != default_instance_) {
1655  }
1656 }
1657 
1658 void SelectData::SetCachedSize(int size) const {
1659  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1660  _cached_size_ = size;
1661  GOOGLE_SAFE_CONCURRENT_WRITES_END();
1662 }
1663 const ::google::protobuf::Descriptor* SelectData::descriptor() {
1664  protobuf_AssignDescriptorsOnce();
1665  return SelectData_descriptor_;
1666 }
1667 
1668 const SelectData& SelectData::default_instance() {
1669  if (default_instance_ == NULL) protobuf_AddDesc_resultset_2eproto();
1670  return *default_instance_;
1671 }
1672 
1673 SelectData* SelectData::default_instance_ = NULL;
1674 
1675 SelectData* SelectData::New() const {
1676  return new SelectData;
1677 }
1678 
1679 void SelectData::Clear() {
1680 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
1681  &reinterpret_cast<SelectData*>(16)->f) - \
1682  reinterpret_cast<char*>(16))
1683 
1684 #define ZR_(first, last) do { \
1685  size_t f = OFFSET_OF_FIELD_(first); \
1686  size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \
1687  ::memset(&first, 0, n); \
1688  } while (0)
1689 
1690  ZR_(segment_id_, end_segment_);
1691 
1692 #undef OFFSET_OF_FIELD_
1693 #undef ZR_
1694 
1695  record_.Clear();
1696  ::memset(_has_bits_, 0, sizeof(_has_bits_));
1697  mutable_unknown_fields()->Clear();
1698 }
1699 
1700 bool SelectData::MergePartialFromCodedStream(
1701  ::google::protobuf::io::CodedInputStream* input) {
1702 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
1703  ::google::protobuf::uint32 tag;
1704  // @@protoc_insertion_point(parse_start:drizzled.message.SelectData)
1705  for (;;) {
1706  ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
1707  tag = p.first;
1708  if (!p.second) goto handle_unusual;
1709  switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
1710  // required uint32 segment_id = 1;
1711  case 1: {
1712  if (tag == 8) {
1713  DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1714  ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
1715  input, &segment_id_)));
1716  set_has_segment_id();
1717  } else {
1718  goto handle_unusual;
1719  }
1720  if (input->ExpectTag(16)) goto parse_end_segment;
1721  break;
1722  }
1723 
1724  // required bool end_segment = 2;
1725  case 2: {
1726  if (tag == 16) {
1727  parse_end_segment:
1728  DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1729  bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
1730  input, &end_segment_)));
1731  set_has_end_segment();
1732  } else {
1733  goto handle_unusual;
1734  }
1735  if (input->ExpectTag(26)) goto parse_record;
1736  break;
1737  }
1738 
1739  // repeated .drizzled.message.SelectRecord record = 3;
1740  case 3: {
1741  if (tag == 26) {
1742  parse_record:
1743  DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
1744  input, add_record()));
1745  } else {
1746  goto handle_unusual;
1747  }
1748  if (input->ExpectTag(26)) goto parse_record;
1749  if (input->ExpectAtEnd()) goto success;
1750  break;
1751  }
1752 
1753  default: {
1754  handle_unusual:
1755  if (tag == 0 ||
1756  ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
1757  ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
1758  goto success;
1759  }
1760  DO_(::google::protobuf::internal::WireFormat::SkipField(
1761  input, tag, mutable_unknown_fields()));
1762  break;
1763  }
1764  }
1765  }
1766 success:
1767  // @@protoc_insertion_point(parse_success:drizzled.message.SelectData)
1768  return true;
1769 failure:
1770  // @@protoc_insertion_point(parse_failure:drizzled.message.SelectData)
1771  return false;
1772 #undef DO_
1773 }
1774 
1775 void SelectData::SerializeWithCachedSizes(
1776  ::google::protobuf::io::CodedOutputStream* output) const {
1777  // @@protoc_insertion_point(serialize_start:drizzled.message.SelectData)
1778  // required uint32 segment_id = 1;
1779  if (has_segment_id()) {
1780  ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->segment_id(), output);
1781  }
1782 
1783  // required bool end_segment = 2;
1784  if (has_end_segment()) {
1785  ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->end_segment(), output);
1786  }
1787 
1788  // repeated .drizzled.message.SelectRecord record = 3;
1789  for (int i = 0; i < this->record_size(); i++) {
1790  ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
1791  3, this->record(i), output);
1792  }
1793 
1794  if (!unknown_fields().empty()) {
1795  ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
1796  unknown_fields(), output);
1797  }
1798  // @@protoc_insertion_point(serialize_end:drizzled.message.SelectData)
1799 }
1800 
1801 ::google::protobuf::uint8* SelectData::SerializeWithCachedSizesToArray(
1802  ::google::protobuf::uint8* target) const {
1803  // @@protoc_insertion_point(serialize_to_array_start:drizzled.message.SelectData)
1804  // required uint32 segment_id = 1;
1805  if (has_segment_id()) {
1806  target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->segment_id(), target);
1807  }
1808 
1809  // required bool end_segment = 2;
1810  if (has_end_segment()) {
1811  target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->end_segment(), target);
1812  }
1813 
1814  // repeated .drizzled.message.SelectRecord record = 3;
1815  for (int i = 0; i < this->record_size(); i++) {
1816  target = ::google::protobuf::internal::WireFormatLite::
1817  WriteMessageNoVirtualToArray(
1818  3, this->record(i), target);
1819  }
1820 
1821  if (!unknown_fields().empty()) {
1822  target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
1823  unknown_fields(), target);
1824  }
1825  // @@protoc_insertion_point(serialize_to_array_end:drizzled.message.SelectData)
1826  return target;
1827 }
1828 
1829 int SelectData::ByteSize() const {
1830  int total_size = 0;
1831 
1832  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
1833  // required uint32 segment_id = 1;
1834  if (has_segment_id()) {
1835  total_size += 1 +
1836  ::google::protobuf::internal::WireFormatLite::UInt32Size(
1837  this->segment_id());
1838  }
1839 
1840  // required bool end_segment = 2;
1841  if (has_end_segment()) {
1842  total_size += 1 + 1;
1843  }
1844 
1845  }
1846  // repeated .drizzled.message.SelectRecord record = 3;
1847  total_size += 1 * this->record_size();
1848  for (int i = 0; i < this->record_size(); i++) {
1849  total_size +=
1850  ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
1851  this->record(i));
1852  }
1853 
1854  if (!unknown_fields().empty()) {
1855  total_size +=
1856  ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
1857  unknown_fields());
1858  }
1859  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1860  _cached_size_ = total_size;
1861  GOOGLE_SAFE_CONCURRENT_WRITES_END();
1862  return total_size;
1863 }
1864 
1865 void SelectData::MergeFrom(const ::google::protobuf::Message& from) {
1866  GOOGLE_CHECK_NE(&from, this);
1867  const SelectData* source =
1868  ::google::protobuf::internal::dynamic_cast_if_available<const SelectData*>(
1869  &from);
1870  if (source == NULL) {
1871  ::google::protobuf::internal::ReflectionOps::Merge(from, this);
1872  } else {
1873  MergeFrom(*source);
1874  }
1875 }
1876 
1877 void SelectData::MergeFrom(const SelectData& from) {
1878  GOOGLE_CHECK_NE(&from, this);
1879  record_.MergeFrom(from.record_);
1880  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
1881  if (from.has_segment_id()) {
1882  set_segment_id(from.segment_id());
1883  }
1884  if (from.has_end_segment()) {
1885  set_end_segment(from.end_segment());
1886  }
1887  }
1888  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
1889 }
1890 
1891 void SelectData::CopyFrom(const ::google::protobuf::Message& from) {
1892  if (&from == this) return;
1893  Clear();
1894  MergeFrom(from);
1895 }
1896 
1897 void SelectData::CopyFrom(const SelectData& from) {
1898  if (&from == this) return;
1899  Clear();
1900  MergeFrom(from);
1901 }
1902 
1903 bool SelectData::IsInitialized() const {
1904  if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
1905 
1906  return true;
1907 }
1908 
1909 void SelectData::Swap(SelectData* other) {
1910  if (other != this) {
1911  std::swap(segment_id_, other->segment_id_);
1912  std::swap(end_segment_, other->end_segment_);
1913  record_.Swap(&other->record_);
1914  std::swap(_has_bits_[0], other->_has_bits_[0]);
1915  _unknown_fields_.Swap(&other->_unknown_fields_);
1916  std::swap(_cached_size_, other->_cached_size_);
1917  }
1918 }
1919 
1920 ::google::protobuf::Metadata SelectData::GetMetadata() const {
1921  protobuf_AssignDescriptorsOnce();
1922  ::google::protobuf::Metadata metadata;
1923  metadata.descriptor = SelectData_descriptor_;
1924  metadata.reflection = SelectData_reflection_;
1925  return metadata;
1926 }
1927 
1928 
1929 // ===================================================================
1930 
1931 #ifndef _MSC_VER
1932 const int Resultset::kKeyFieldNumber;
1933 const int Resultset::kSchemaFieldNumber;
1934 const int Resultset::kSqlFieldNumber;
1935 const int Resultset::kSelectHeaderFieldNumber;
1936 const int Resultset::kSelectDataFieldNumber;
1937 #endif // !_MSC_VER
1938 
1939 Resultset::Resultset()
1940  : ::google::protobuf::Message() {
1941  SharedCtor();
1942  // @@protoc_insertion_point(constructor:drizzled.message.Resultset)
1943 }
1944 
1945 void Resultset::InitAsDefaultInstance() {
1946  select_header_ = const_cast< ::drizzled::message::SelectHeader*>(&::drizzled::message::SelectHeader::default_instance());
1947  select_data_ = const_cast< ::drizzled::message::SelectData*>(&::drizzled::message::SelectData::default_instance());
1948 }
1949 
1950 Resultset::Resultset(const Resultset& from)
1951  : ::google::protobuf::Message() {
1952  SharedCtor();
1953  MergeFrom(from);
1954  // @@protoc_insertion_point(copy_constructor:drizzled.message.Resultset)
1955 }
1956 
1957 void Resultset::SharedCtor() {
1958  ::google::protobuf::internal::GetEmptyString();
1959  _cached_size_ = 0;
1960  key_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1961  schema_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1962  sql_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1963  select_header_ = NULL;
1964  select_data_ = NULL;
1965  ::memset(_has_bits_, 0, sizeof(_has_bits_));
1966 }
1967 
1968 Resultset::~Resultset() {
1969  // @@protoc_insertion_point(destructor:drizzled.message.Resultset)
1970  SharedDtor();
1971 }
1972 
1973 void Resultset::SharedDtor() {
1974  if (key_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1975  delete key_;
1976  }
1977  if (schema_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1978  delete schema_;
1979  }
1980  if (sql_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
1981  delete sql_;
1982  }
1983  if (this != default_instance_) {
1984  delete select_header_;
1985  delete select_data_;
1986  }
1987 }
1988 
1989 void Resultset::SetCachedSize(int size) const {
1990  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1991  _cached_size_ = size;
1992  GOOGLE_SAFE_CONCURRENT_WRITES_END();
1993 }
1994 const ::google::protobuf::Descriptor* Resultset::descriptor() {
1995  protobuf_AssignDescriptorsOnce();
1996  return Resultset_descriptor_;
1997 }
1998 
1999 const Resultset& Resultset::default_instance() {
2000  if (default_instance_ == NULL) protobuf_AddDesc_resultset_2eproto();
2001  return *default_instance_;
2002 }
2003 
2004 Resultset* Resultset::default_instance_ = NULL;
2005 
2006 Resultset* Resultset::New() const {
2007  return new Resultset;
2008 }
2009 
2010 void Resultset::Clear() {
2011  if (_has_bits_[0 / 32] & 31) {
2012  if (has_key()) {
2013  if (key_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2014  key_->clear();
2015  }
2016  }
2017  if (has_schema()) {
2018  if (schema_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2019  schema_->clear();
2020  }
2021  }
2022  if (has_sql()) {
2023  if (sql_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2024  sql_->clear();
2025  }
2026  }
2027  if (has_select_header()) {
2028  if (select_header_ != NULL) select_header_->::drizzled::message::SelectHeader::Clear();
2029  }
2030  if (has_select_data()) {
2031  if (select_data_ != NULL) select_data_->::drizzled::message::SelectData::Clear();
2032  }
2033  }
2034  ::memset(_has_bits_, 0, sizeof(_has_bits_));
2035  mutable_unknown_fields()->Clear();
2036 }
2037 
2038 bool Resultset::MergePartialFromCodedStream(
2039  ::google::protobuf::io::CodedInputStream* input) {
2040 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
2041  ::google::protobuf::uint32 tag;
2042  // @@protoc_insertion_point(parse_start:drizzled.message.Resultset)
2043  for (;;) {
2044  ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
2045  tag = p.first;
2046  if (!p.second) goto handle_unusual;
2047  switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
2048  // required string key = 1;
2049  case 1: {
2050  if (tag == 10) {
2051  DO_(::google::protobuf::internal::WireFormatLite::ReadString(
2052  input, this->mutable_key()));
2053  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
2054  this->key().data(), this->key().length(),
2055  ::google::protobuf::internal::WireFormat::PARSE,
2056  "key");
2057  } else {
2058  goto handle_unusual;
2059  }
2060  if (input->ExpectTag(18)) goto parse_schema;
2061  break;
2062  }
2063 
2064  // required string schema = 2;
2065  case 2: {
2066  if (tag == 18) {
2067  parse_schema:
2068  DO_(::google::protobuf::internal::WireFormatLite::ReadString(
2069  input, this->mutable_schema()));
2070  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
2071  this->schema().data(), this->schema().length(),
2072  ::google::protobuf::internal::WireFormat::PARSE,
2073  "schema");
2074  } else {
2075  goto handle_unusual;
2076  }
2077  if (input->ExpectTag(26)) goto parse_sql;
2078  break;
2079  }
2080 
2081  // optional string sql = 3;
2082  case 3: {
2083  if (tag == 26) {
2084  parse_sql:
2085  DO_(::google::protobuf::internal::WireFormatLite::ReadString(
2086  input, this->mutable_sql()));
2087  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
2088  this->sql().data(), this->sql().length(),
2089  ::google::protobuf::internal::WireFormat::PARSE,
2090  "sql");
2091  } else {
2092  goto handle_unusual;
2093  }
2094  if (input->ExpectTag(34)) goto parse_select_header;
2095  break;
2096  }
2097 
2098  // optional .drizzled.message.SelectHeader select_header = 4;
2099  case 4: {
2100  if (tag == 34) {
2101  parse_select_header:
2102  DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
2103  input, mutable_select_header()));
2104  } else {
2105  goto handle_unusual;
2106  }
2107  if (input->ExpectTag(42)) goto parse_select_data;
2108  break;
2109  }
2110 
2111  // optional .drizzled.message.SelectData select_data = 5;
2112  case 5: {
2113  if (tag == 42) {
2114  parse_select_data:
2115  DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
2116  input, mutable_select_data()));
2117  } else {
2118  goto handle_unusual;
2119  }
2120  if (input->ExpectAtEnd()) goto success;
2121  break;
2122  }
2123 
2124  default: {
2125  handle_unusual:
2126  if (tag == 0 ||
2127  ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
2128  ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
2129  goto success;
2130  }
2131  DO_(::google::protobuf::internal::WireFormat::SkipField(
2132  input, tag, mutable_unknown_fields()));
2133  break;
2134  }
2135  }
2136  }
2137 success:
2138  // @@protoc_insertion_point(parse_success:drizzled.message.Resultset)
2139  return true;
2140 failure:
2141  // @@protoc_insertion_point(parse_failure:drizzled.message.Resultset)
2142  return false;
2143 #undef DO_
2144 }
2145 
2146 void Resultset::SerializeWithCachedSizes(
2147  ::google::protobuf::io::CodedOutputStream* output) const {
2148  // @@protoc_insertion_point(serialize_start:drizzled.message.Resultset)
2149  // required string key = 1;
2150  if (has_key()) {
2151  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
2152  this->key().data(), this->key().length(),
2153  ::google::protobuf::internal::WireFormat::SERIALIZE,
2154  "key");
2155  ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
2156  1, this->key(), output);
2157  }
2158 
2159  // required string schema = 2;
2160  if (has_schema()) {
2161  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
2162  this->schema().data(), this->schema().length(),
2163  ::google::protobuf::internal::WireFormat::SERIALIZE,
2164  "schema");
2165  ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
2166  2, this->schema(), output);
2167  }
2168 
2169  // optional string sql = 3;
2170  if (has_sql()) {
2171  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
2172  this->sql().data(), this->sql().length(),
2173  ::google::protobuf::internal::WireFormat::SERIALIZE,
2174  "sql");
2175  ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
2176  3, this->sql(), output);
2177  }
2178 
2179  // optional .drizzled.message.SelectHeader select_header = 4;
2180  if (has_select_header()) {
2181  ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
2182  4, this->select_header(), output);
2183  }
2184 
2185  // optional .drizzled.message.SelectData select_data = 5;
2186  if (has_select_data()) {
2187  ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
2188  5, this->select_data(), output);
2189  }
2190 
2191  if (!unknown_fields().empty()) {
2192  ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
2193  unknown_fields(), output);
2194  }
2195  // @@protoc_insertion_point(serialize_end:drizzled.message.Resultset)
2196 }
2197 
2198 ::google::protobuf::uint8* Resultset::SerializeWithCachedSizesToArray(
2199  ::google::protobuf::uint8* target) const {
2200  // @@protoc_insertion_point(serialize_to_array_start:drizzled.message.Resultset)
2201  // required string key = 1;
2202  if (has_key()) {
2203  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
2204  this->key().data(), this->key().length(),
2205  ::google::protobuf::internal::WireFormat::SERIALIZE,
2206  "key");
2207  target =
2208  ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
2209  1, this->key(), target);
2210  }
2211 
2212  // required string schema = 2;
2213  if (has_schema()) {
2214  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
2215  this->schema().data(), this->schema().length(),
2216  ::google::protobuf::internal::WireFormat::SERIALIZE,
2217  "schema");
2218  target =
2219  ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
2220  2, this->schema(), target);
2221  }
2222 
2223  // optional string sql = 3;
2224  if (has_sql()) {
2225  ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
2226  this->sql().data(), this->sql().length(),
2227  ::google::protobuf::internal::WireFormat::SERIALIZE,
2228  "sql");
2229  target =
2230  ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
2231  3, this->sql(), target);
2232  }
2233 
2234  // optional .drizzled.message.SelectHeader select_header = 4;
2235  if (has_select_header()) {
2236  target = ::google::protobuf::internal::WireFormatLite::
2237  WriteMessageNoVirtualToArray(
2238  4, this->select_header(), target);
2239  }
2240 
2241  // optional .drizzled.message.SelectData select_data = 5;
2242  if (has_select_data()) {
2243  target = ::google::protobuf::internal::WireFormatLite::
2244  WriteMessageNoVirtualToArray(
2245  5, this->select_data(), target);
2246  }
2247 
2248  if (!unknown_fields().empty()) {
2249  target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
2250  unknown_fields(), target);
2251  }
2252  // @@protoc_insertion_point(serialize_to_array_end:drizzled.message.Resultset)
2253  return target;
2254 }
2255 
2256 int Resultset::ByteSize() const {
2257  int total_size = 0;
2258 
2259  if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
2260  // required string key = 1;
2261  if (has_key()) {
2262  total_size += 1 +
2263  ::google::protobuf::internal::WireFormatLite::StringSize(
2264  this->key());
2265  }
2266 
2267  // required string schema = 2;
2268  if (has_schema()) {
2269  total_size += 1 +
2270  ::google::protobuf::internal::WireFormatLite::StringSize(
2271  this->schema());
2272  }
2273 
2274  // optional string sql = 3;
2275  if (has_sql()) {
2276  total_size += 1 +
2277  ::google::protobuf::internal::WireFormatLite::StringSize(
2278  this->sql());
2279  }
2280 
2281  // optional .drizzled.message.SelectHeader select_header = 4;
2282  if (has_select_header()) {
2283  total_size += 1 +
2284  ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
2285  this->select_header());
2286  }
2287 
2288  // optional .drizzled.message.SelectData select_data = 5;
2289  if (has_select_data()) {
2290  total_size += 1 +
2291  ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
2292  this->select_data());
2293  }
2294 
2295  }
2296  if (!unknown_fields().empty()) {
2297  total_size +=
2298  ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
2299  unknown_fields());
2300  }
2301  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2302  _cached_size_ = total_size;
2303  GOOGLE_SAFE_CONCURRENT_WRITES_END();
2304  return total_size;
2305 }
2306 
2307 void Resultset::MergeFrom(const ::google::protobuf::Message& from) {
2308  GOOGLE_CHECK_NE(&from, this);
2309  const Resultset* source =
2310  ::google::protobuf::internal::dynamic_cast_if_available<const Resultset*>(
2311  &from);
2312  if (source == NULL) {
2313  ::google::protobuf::internal::ReflectionOps::Merge(from, this);
2314  } else {
2315  MergeFrom(*source);
2316  }
2317 }
2318 
2319 void Resultset::MergeFrom(const Resultset& from) {
2320  GOOGLE_CHECK_NE(&from, this);
2321  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
2322  if (from.has_key()) {
2323  set_key(from.key());
2324  }
2325  if (from.has_schema()) {
2326  set_schema(from.schema());
2327  }
2328  if (from.has_sql()) {
2329  set_sql(from.sql());
2330  }
2331  if (from.has_select_header()) {
2332  mutable_select_header()->::drizzled::message::SelectHeader::MergeFrom(from.select_header());
2333  }
2334  if (from.has_select_data()) {
2335  mutable_select_data()->::drizzled::message::SelectData::MergeFrom(from.select_data());
2336  }
2337  }
2338  mutable_unknown_fields()->MergeFrom(from.unknown_fields());
2339 }
2340 
2341 void Resultset::CopyFrom(const ::google::protobuf::Message& from) {
2342  if (&from == this) return;
2343  Clear();
2344  MergeFrom(from);
2345 }
2346 
2347 void Resultset::CopyFrom(const Resultset& from) {
2348  if (&from == this) return;
2349  Clear();
2350  MergeFrom(from);
2351 }
2352 
2353 bool Resultset::IsInitialized() const {
2354  if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
2355 
2356  if (has_select_header()) {
2357  if (!this->select_header().IsInitialized()) return false;
2358  }
2359  if (has_select_data()) {
2360  if (!this->select_data().IsInitialized()) return false;
2361  }
2362  return true;
2363 }
2364 
2365 void Resultset::Swap(Resultset* other) {
2366  if (other != this) {
2367  std::swap(key_, other->key_);
2368  std::swap(schema_, other->schema_);
2369  std::swap(sql_, other->sql_);
2370  std::swap(select_header_, other->select_header_);
2371  std::swap(select_data_, other->select_data_);
2372  std::swap(_has_bits_[0], other->_has_bits_[0]);
2373  _unknown_fields_.Swap(&other->_unknown_fields_);
2374  std::swap(_cached_size_, other->_cached_size_);
2375  }
2376 }
2377 
2378 ::google::protobuf::Metadata Resultset::GetMetadata() const {
2379  protobuf_AssignDescriptorsOnce();
2380  ::google::protobuf::Metadata metadata;
2381  metadata.descriptor = Resultset_descriptor_;
2382  metadata.reflection = Resultset_reflection_;
2383  return metadata;
2384 }
2385 
2386 
2387 // @@protoc_insertion_point(namespace_scope)
2388 
2389 } // namespace message
2390 } // namespace drizzled
2391 
2392 // @@protoc_insertion_point(global_scope)
TODO: Rename this file - func.h is stupid.
static bool parse_sql(Session *session, Lex_input_stream *lip)
Definition: sql_parse.cc:1608