diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-10-22 00:09:43 +1030 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-12-16 08:03:49 +0100 |
commit | 8dcc760f1e941473ffac82d021f69f866ebf45a6 (patch) | |
tree | 019e2441975e53ccd65daa9c6fa725e9b76b886c /ctdb/lib/tdb/python/tdbdump.py | |
parent | 7f857c4d148aa9ac553bf72dc9cc786926c7d070 (diff) | |
download | samba-8dcc760f1e941473ffac82d021f69f866ebf45a6.tar.gz samba-8dcc760f1e941473ffac82d021f69f866ebf45a6.tar.xz samba-8dcc760f1e941473ffac82d021f69f866ebf45a6.zip |
lib/tdb: wean off TDB_ERRCODE.
It was a regrettable hack which I used to reduce line count in tdb; in fact it caused confusion as can be seen in this patch.
In particular, ecode now needs to be set before TDB_LOG anyway, and having it exposed in
the header is useless (the struct tdb_context isn't defined, so it's doubly useless).
Also, we should never set errno, as io.c was doing.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(cherry picked from samba commit b77f41d58b05101e02d8ac0e54cb0e30807d89c2)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be ctdb commit a6620f6e74aadc708395b21b42303d1082192fcc)
Diffstat (limited to 'ctdb/lib/tdb/python/tdbdump.py')
0 files changed, 0 insertions, 0 deletions