// AddEventLogToMetadataSchema adds the range event log table to the supplied // MetadataSchema. func AddEventLogToMetadataSchema(schema *sql.MetadataSchema) { allPrivileges := sql.NewPrivilegeDescriptor(security.RootUser, privilege.List{privilege.ALL}) schema.AddTable(rangeEventTableSchema, allPrivileges) }
// AddEventLogToMetadataSchema adds the range event log table to the supplied // MetadataSchema. func AddEventLogToMetadataSchema(schema *sql.MetadataSchema) { schema.AddTable(keys.RangeEventTableID, rangeEventTableSchema, privilege.List{privilege.ALL}) }