~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/schema_dictionary/schemas.cc

  • Committer: Olaf van der Spek
  • Date: 2011-02-23 20:16:40 UTC
  • mto: (2197.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 2198.
  • Revision ID: olafvdspek@gmail.com-20110223201640-h02xgd9ysc1qmcsk
Don't define bool, false and true in C++ mode.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
  add_field("SCHEMA_UUID", plugin::TableFunction::STRING, 36, true);
35
35
  add_field("SCHEMA_VERSION", plugin::TableFunction::NUMBER, 0, true);
36
36
  add_field("SCHEMA_USE_COUNT", plugin::TableFunction::NUMBER, 0, true);
 
37
  add_field("IS_REPLICATED", plugin::TableFunction::BOOLEAN, 0, false);
37
38
}
38
39
 
39
40
SchemasTool::Generator::Generator(drizzled::Field **arg) :
76
77
 
77
78
    /* SCHEMA_USE_COUNT */
78
79
    push(schema_ptr->version());
 
80
 
 
81
    /* IS_REPLICATED */
 
82
    push(message::is_replicated(*schema_ptr));
 
83
 
79
84
    return true;
80
85
  }
81
86