162
162
index->set_is_primary(true);
163
163
index->set_is_unique(true);
164
164
index->set_type(drizzled::message::Table::Index::BTREE);
166
166
drizzled::message::Table::Index::IndexPart *part= index->add_index_part();
168
168
part->set_compare_length(8);