~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message/schema_reader.cc

First pass on cleanup of Stewart's patch, plus re-engineer to make it work a
bit more with the current system. Engines approve key/pair.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
  cout << "CREATE SCHEMA `" << schema->name() << "` ";
36
36
  if (schema->has_collation())
37
37
    cout << "COLLATE `" << schema->collation() << "` ";
 
38
 
 
39
  for (int option_nr=0; option_nr < schema->engine().options_size(); option_nr++)
 
40
  {
 
41
    cout << " " << schema->engine().options(option_nr).name() << " = "
 
42
         << "'" << schema->engine().options(option_nr).state() << "'";
 
43
  }
 
44
 
38
45
  cout << ";" << endl;
39
46
}
40
47