~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/schema_dictionary/schemas.cc

  • Committer: lbieber
  • Date: 2010-10-06 02:01:43 UTC
  • mfrom: (1814.1.1 build)
  • Revision ID: lbieber@orisndriz08-20101006020143-gho0wsmd346m02f9
Merge Brian - fix bug 654905 - DATA_DICTIONARY.TABLE.TYPE not returning BASE or VIEW (it reports the port type).

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
  add_field("DEFAULT_COLLATION_NAME");
32
32
  add_field("SCHEMA_CREATION_TIME");
33
33
  add_field("SCHEMA_UPDATE_TIME");
 
34
  add_field("SCHEMA_UUID", plugin::TableFunction::STRING, 36, true);
 
35
  add_field("SCHEMA_VERSION", plugin::TableFunction::NUMBER, 0, true);
34
36
}
35
37
 
36
38
SchemasTool::Generator::Generator(Field **arg) :
88
90
  localtime_r(&time_arg, &tm_buffer);
89
91
  strftime(buffer, sizeof(buffer), "%a %b %d %H:%M:%S %Y", &tm_buffer);
90
92
  push(buffer);
 
93
 
 
94
  /* SCHEMA_UUID */
 
95
  push(schema.uuid());
 
96
 
 
97
  /* SCHEMA_VERSION */
 
98
  push(schema.version());
91
99
}