~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/alter_schema.cc

  • Committer: Stewart Smith
  • Date: 2009-12-07 05:09:37 UTC
  • mto: (1240.3.7 build)
  • mto: This revision was merged to the branch mainline in revision 1241.
  • Revision ID: stewart@flamingspork.com-20091207050937-tuxm09331gfe72gg
use Schema proto for ALTER DATABASE/SCHEMA as well. Fix 'ALTER DATABASE COLLATE = foo'. Remove now obsolete fill_schema_message. HA_CREATE_INFO is no longer used in CREATE or ALTER SCHEMA.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
               MYF(0));
49
49
    return true;
50
50
  }
51
 
  bool res= mysql_alter_db(session, normalised_database_name, &create_info);
 
51
  bool res= mysql_alter_db(session, normalised_database_name, &schema_message);
52
52
  return res;
53
53
}
54
54