svn commit: samba r19288 - in branches/SAMBA_3_0/source/rpc_parse: .
vlendec at samba.org
vlendec at samba.org
Sun Oct 15 09:16:42 GMT 2006
Author: vlendec
Date: 2006-10-15 09:16:41 +0000 (Sun, 15 Oct 2006)
New Revision: 19288
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19288
Log:
tdb_prs_store is right now used to store printer and share security
descriptors. Both databases are long-lived and not frequently written, so I
think storing it deserves a tdb transaction.
Volker
Modified:
branches/SAMBA_3_0/source/rpc_parse/parse_prs.c
Changeset:
Modified: branches/SAMBA_3_0/source/rpc_parse/parse_prs.c
===================================================================
--- branches/SAMBA_3_0/source/rpc_parse/parse_prs.c 2006-10-15 08:32:25 UTC (rev 19287)
+++ branches/SAMBA_3_0/source/rpc_parse/parse_prs.c 2006-10-15 09:16:41 UTC (rev 19288)
@@ -1461,7 +1461,7 @@
kbuf.dsize = strlen(keystr)+1;
dbuf.dptr = ps->data_p;
dbuf.dsize = prs_offset(ps);
- return tdb_store(tdb, kbuf, dbuf, TDB_REPLACE);
+ return tdb_trans_store(tdb, kbuf, dbuf, TDB_REPLACE);
}
/* useful function to fetch a structure into rpc wire format */
More information about the samba-cvs
mailing list