~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/blitzdb/blitzdata.cc

Merge in Stewart's FK work

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
/* Similar to UNIX touch(1) but generates a tuned TCHDB file. */
50
50
int BlitzData::create_data_table(drizzled::message::Table &proto,
51
51
                                 drizzled::Table &table_info,
52
 
                                 const drizzled::identifier::Table &identifier) {
 
52
                                 const drizzled::TableIdentifier &identifier) {
53
53
 
54
54
  std::string path = identifier.getPath() + BLITZ_DATA_EXT;
55
55
 
90
90
  /* Write the Meta Data for this Table. */
91
91
  tc_meta_buffer = tchdbopaque(data_table);
92
92
  write_meta_autoinc(autoinc);
93
 
  write_meta_keycount(table_info.getShare()->keys);
 
93
  write_meta_keycount(table_info.s->keys);
94
94
 
95
95
  /* We're Done. */
96
96
  if (close_data_table() != 0)