36
35
bool statement::AlterSchema::execute()
38
37
LEX_STRING *db= &session->lex->name;
41
40
if (not validateSchemaOptions())
44
43
SchemaIdentifier schema_identifier(string(db->str, db->length));
56
55
if (not plugin::StorageEngine::getSchemaDefinition(identifier, old_definition))
58
57
my_error(ER_SCHEMA_DOES_NOT_EXIST, MYF(0), db->str);