After changing the prepare_ methods of migration_manager to functions, the migration_manager& parameter of query_processor::execute_thrift_schema_command and thrift::handler::execute_schema_command (that calls query_processor::execute_thrift_schema_command) has been unused.