~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/alter_schema.cc

Merge catalog with current trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
    @todo right now the logic for alter schema is just sitting here, at some point this should be packaged up in a class/etc.
71
71
  */
72
72
 
 
73
  // First initialize the schema message
 
74
  drizzled::message::schema::init(schema_message, old_definition->name());
 
75
 
73
76
  // We set the name from the old version to keep case preference
74
 
  schema_message.set_name(old_definition->name());
75
77
  schema_message.set_version(old_definition->version());
76
78
  schema_message.set_uuid(old_definition->uuid());
77
79
  schema_message.mutable_engine()->set_name(old_definition->engine().name());