diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-03-22 18:44:51 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-03-22 20:24:41 +1100 |
commit | f8019ff793a735563ccedf5581c72e015fd62014 (patch) | |
tree | 4e2e5ac79bdcda472b09ed8c78b3f977f3a61da8 /source4/dsdb/schema | |
parent | fe3e1af901c970f738bee92baac5d7d4f5736e17 (diff) | |
download | samba-f8019ff793a735563ccedf5581c72e015fd62014.tar.gz samba-f8019ff793a735563ccedf5581c72e015fd62014.tar.bz2 samba-f8019ff793a735563ccedf5581c72e015fd62014.zip |
s4:dsdb Add a shortcut sequence number for schema reloads
This uses the ldb sequence number, in a hope to detect an unchanged
schema quicker.
Andrew Bartlett
Diffstat (limited to 'source4/dsdb/schema')
-rw-r--r-- | source4/dsdb/schema/schema.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/dsdb/schema/schema.h b/source4/dsdb/schema/schema.h index b5334c7313..7283744f7d 100644 --- a/source4/dsdb/schema/schema.h +++ b/source4/dsdb/schema/schema.h @@ -213,6 +213,8 @@ struct dsdb_schema { struct ldb_module *loaded_from_module; struct dsdb_schema *(*refresh_fn)(struct ldb_module *module, struct dsdb_schema *schema, bool is_global_schema); bool refresh_in_progress; + /* an 'opaque' sequence number that the reload function may also wish to use */ + uint64_t reload_seq_number; }; enum dsdb_attr_list_query { |