summaryrefslogtreecommitdiff
path: root/source3/tdb/README
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-04-25 01:17:45 +0000
committerAndrew Tridgell <tridge@samba.org>2000-04-25 01:17:45 +0000
commitdce954d275977d14326249e07e20d988ad1d91f4 (patch)
tree6dcd1c596683f4298a75e7a102af171b8b83bbbf /source3/tdb/README
parent59c8a608c2c6fa5fc1d342787cf28d5e00075664 (diff)
downloadsamba-dce954d275977d14326249e07e20d988ad1d91f4.tar.gz
samba-dce954d275977d14326249e07e20d988ad1d91f4.tar.bz2
samba-dce954d275977d14326249e07e20d988ad1d91f4.zip
added TDB_MODIFY flag - patch from from luke
(This used to be commit 90b574296e06cd6ed4fedc1e5a8ae412a5e78b45)
Diffstat (limited to 'source3/tdb/README')
-rw-r--r--source3/tdb/README3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/tdb/README b/source3/tdb/README
index 9eef521075..96fdcf5c99 100644
--- a/source3/tdb/README
+++ b/source3/tdb/README
@@ -137,6 +137,9 @@ int tdb_store(TDB_CONTEXT *tdb, TDB_DATA key, TDB_DATA dbuf, int flag);
store an element in the database, replacing any existing element
with the same key
+ If flag==TDB_INSERT then don't overwrite an existing entry
+ If flag==TDB_MODIFY then don't create a new entry
+
return 0 on success, -1 on failure
----------------------------------------------------------------------