// 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}) }
// 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) { allPrivileges := sql.NewPrivilegeDescriptor(security.RootUser, privilege.List{privilege.ALL}) db := sql.MakeMetadataDatabase("rangelog", allPrivileges) db.AddTable(rangeEventTableSchema, allPrivileges) schema.AddDatabase(db) }