From 80c8021ef1dcf911c170dc7917b1de9087b0b8e0 Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Fri, 6 Jan 2012 15:42:33 -0500 Subject: - Make a note of which attributes we read from any entry when evaluating data, and when we're later called for a modify request which doesn't modify any of those attributes, skip recalculating the entry contents (should make a dent in #771493). --- src/format.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/format.h') diff --git a/src/format.h b/src/format.h index b5dbf3e..ff3edda 100644 --- a/src/format.h +++ b/src/format.h @@ -1,5 +1,5 @@ /* - * Copyright 2008,2010,2011 Red Hat, Inc. + * Copyright 2008,2010,2011,2012 Red Hat, Inc. * * This Program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -58,6 +58,7 @@ char *format_get_data(struct plugin_state *state, struct slapi_entry *e, const char *domain, const char *map, const char *fmt, const char *disallowed_chars, + char ***rel_attrs, char ***ref_attrs, struct format_inref_attr ***inref_attrs, struct format_ref_attr_list ***ref_attr_list, @@ -68,6 +69,7 @@ char **format_get_data_set(struct plugin_state *state, Slapi_Entry *e, const char *domain, const char *map, const char *fmt, const char *disallowed, + char ***rel_attrs, char ***ref_attrs, struct format_inref_attr ***inref_attrs, struct format_ref_attr_list ***ref_attr_list, -- cgit