~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message/table_reader.cc

  • Committer: Brian Aker
  • Date: 2009-07-09 19:49:32 UTC
  • mfrom: (1085.1.10 mordred)
  • Revision ID: brian@gaz-20090709194932-o90qfzgk9xem5di1
Merge from Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
  Written from Google proto example
21
21
*/
22
22
 
23
 
void print_field(const ::drizzled::message::Table::Field &field)
 
23
static void print_field(const ::drizzled::message::Table::Field &field)
24
24
{
25
25
  cout << "\t`" << field.name() << "`";
26
26
 
143
143
    cout << " COMMENT `" << field.comment() << "` ";
144
144
}
145
145
 
146
 
void print_engine(const ::drizzled::message::Table::StorageEngine &engine)
 
146
static void print_engine(const ::drizzled::message::Table::StorageEngine &engine)
147
147
{
148
148
  int32_t x;
149
149
 
156
156
  }
157
157
}
158
158
 
159
 
void print_index(const ::drizzled::message::Table::Index &index)
 
159
static void print_index(const ::drizzled::message::Table::Index &index)
160
160
{
161
161
 
162
162
  if (index.is_primary())
182
182
  cout << "\t";
183
183
}
184
184
 
185
 
void print_table_stats(const ::drizzled::message::Table::TableStats&) 
186
 
{
187
 
 
188
 
}
189
 
 
190
 
void print_table_options(const ::drizzled::message::Table::TableOptions &options)
 
185
static void print_table_options(const ::drizzled::message::Table::TableOptions &options)
191
186
{
192
187
  if (options.has_comment())
193
188
    cout << " COMMENT = '" << options.comment() << "' " << endl;
247
242
}
248
243
 
249
244
 
250
 
void print_table(const ::drizzled::message::Table &table)
 
245
static void print_table(const ::drizzled::message::Table &table)
251
246
{
252
247
  int32_t x;
253
248