~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/schema_dictionary/indexes.cc

  • Committer: Brian Aker
  • Date: 2010-06-04 04:33:21 UTC
  • mto: This revision was merged to the branch mainline in revision 1600.
  • Revision ID: brian@gir-2.local-20100604043321-orl86xv459hmu225
No NULL currently used in printing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
  add_field("TABLE_SCHEMA");
31
31
  add_field("TABLE_NAME");
32
32
  add_field("INDEX_NAME");
33
 
  add_field("IS_USED_IN_PRIMARY", plugin::TableFunction::BOOLEAN, 0, false);
34
 
  add_field("IS_UNIQUE", plugin::TableFunction::BOOLEAN, 0, false);
35
 
  add_field("IS_NULLABLE", plugin::TableFunction::BOOLEAN, 0, false);
36
 
  add_field("KEY_LENGTH", plugin::TableFunction::NUMBER, 0, false);
 
33
  add_field("IS_USED_IN_PRIMARY", plugin::TableFunction::BOOLEAN);
 
34
  add_field("IS_UNIQUE", plugin::TableFunction::BOOLEAN);
 
35
  add_field("IS_NULLABLE", plugin::TableFunction::BOOLEAN);
 
36
  add_field("KEY_LENGTH", plugin::TableFunction::NUMBER);
37
37
  add_field("INDEX_TYPE");
38
38
  add_field("INDEX_COMMENT", plugin::TableFunction::STRING, 1024, true);
39
39
}
142
142
      length= sizeof("FULLTEXT");
143
143
      break;
144
144
    }
145
 
    /* Subtract 1 here, because sizeof gives us the wrong amount */
146
 
    push(str, length - 1);
 
145
    push(str, length);
147
146
  }
148
147
 
149
148
 /* "INDEX_COMMENT" */