summaryrefslogtreecommitdiff
path: root/source3/tdb/README
diff options
context:
space:
mode:
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
----------------------------------------------------------------------