~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/schema_dictionary/tables.cc

  • Committer: Brian Aker
  • Date: 2011-04-04 21:37:55 UTC
  • mfrom: (2241.6.2 drizzle-trunk)
  • mto: This revision was merged to the branch mainline in revision 2268.
  • Revision ID: brian@tangent.org-20110404213755-k4kl3qd5fkbvjmhe
Merge in owner tree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
  add_field("TABLE_UUID", plugin::TableFunction::STRING, 36, true);
60
60
  add_field("TABLE_VERSION", plugin::TableFunction::NUMBER, 0, true);
61
61
  add_field("IS_REPLICATED", plugin::TableFunction::BOOLEAN, 0, false);
 
62
  add_field("TABLE_DEFINER", plugin::TableFunction::STRING, 64, true);
62
63
}
63
64
 
64
65
TablesTool::Generator::Generator(Field **arg) :
192
193
 
193
194
  /* IS_REPLICATED */
194
195
  push(message::is_replicated(getTableMessage()));
 
196
 
 
197
  /* _DEFINER */
 
198
  if (message::has_definer(getTableMessage()))
 
199
  {
 
200
    push(message::definer(getTableMessage()));
 
201
  }
 
202
  else
 
203
  {
 
204
    push();
 
205
  }
195
206
}