~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/schema_dictionary/indexes.cc

mergeĀ lp:~stewart/drizzle/bug658673-DD-use-MAXIMUM_IDENTIFIER_LENGTH

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
IndexesTool::IndexesTool() :
28
28
  TablesTool("INDEXES")
29
29
{
30
 
  add_field("TABLE_SCHEMA");
31
 
  add_field("TABLE_NAME");
32
 
  add_field("INDEX_NAME");
 
30
  add_field("TABLE_SCHEMA", plugin::TableFunction::STRING, MAXIMUM_IDENTIFIER_LENGTH, false);
 
31
  add_field("TABLE_NAME", plugin::TableFunction::STRING, MAXIMUM_IDENTIFIER_LENGTH, false);
 
32
  add_field("INDEX_NAME", plugin::TableFunction::STRING, MAXIMUM_IDENTIFIER_LENGTH, false);
33
33
  add_field("IS_USED_IN_PRIMARY", plugin::TableFunction::BOOLEAN, 0, false);
34
34
  add_field("IS_UNIQUE", plugin::TableFunction::BOOLEAN, 0, false);
35
35
  add_field("IS_NULLABLE", plugin::TableFunction::BOOLEAN, 0, false);