Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-12-08 | s3-dbwrap: & is not required when taking a function pointer | Volker Lendecke | 1 | -1/+1 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Dec 8 16:39:29 CET 2011 on sn-devel-104 | |||||
2011-12-08 | s3-dbwrap: Make dbwrap_fallback_wipe private | Volker Lendecke | 3 | -8/+4 | |
2011-12-08 | s3-dbwrap: Avoid an "else" by an early return | Volker Lendecke | 1 | -4/+4 | |
2011-12-08 | s3-dbwrap: Make dbwrap_fallback_parse_record private | Volker Lendecke | 3 | -14/+5 | |
We have the private fallback in dbwrap_parse_record anyway | |||||
2011-12-08 | s3-dbwrap: Make dbwrap_fallback_fetch private | Volker Lendecke | 3 | -10/+6 | |
2011-12-08 | s3-dbwrap: use wrappers where appropriate | Volker Lendecke | 1 | -7/+7 | |
2011-12-08 | s3-dbwrap: Use simpler code for logging keys | Volker Lendecke | 1 | -18/+23 | |
2011-12-08 | s3: Fix some blank line endings | Volker Lendecke | 3 | -11/+11 | |
2011-12-02 | s3: Fix some nonblank line endings | Volker Lendecke | 1 | -4/+4 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Dec 2 20:39:33 CET 2011 on sn-devel-104 | |||||
2011-12-02 | s3: Remove unused dbwrap_record_get_private_data | Volker Lendecke | 2 | -6/+0 | |
db_record->private_data is for backends which can include dbwrap_private.h anyway. | |||||
2011-11-30 | s3:dbwrap_tdb: pass NTSTATUS code further up from db_tdb_fetch_parse in ↵ | Michael Adam | 1 | -1/+1 | |
db_tdb_fetch() Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Nov 30 01:46:31 CET 2011 on sn-devel-104 | |||||
2011-11-29 | s3:dbwrap: turn the fetch dbwrap method to NTSTATUS return code. | Michael Adam | 5 | -55/+58 | |
This implement more correct NTSTATUS handling inside the backends. This ensures that data.dptr != NULL if return code is NT_STATUS_OK. | |||||
2011-11-29 | s3:dbwrap_ctdb: re-use map_nt_error_from_tdb() in local tdb_error_to_ntstatus() | Michael Adam | 1 | -14/+1 | |
2011-11-25 | s3:dbwrap: do not burden the user of db_open_ctdb with ifdef voodoo | Gregor Beck | 2 | -3/+13 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-14 | s3:dbwrap_ctdb: return the number of records in db_ctdb_traverse() for ↵ | Stefan Metzmacher | 1 | -3/+15 | |
persistent dbs metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Oct 14 20:59:37 CEST 2011 on sn-devel-104 | |||||
2011-10-13 | s3:dbwrap_ctdb: fix the build after changing signature of tdb_wrap_open() | Michael Adam | 1 | -1/+7 | |
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Oct 13 18:50:47 CEST 2011 on sn-devel-104 | |||||
2011-10-13 | lib/util: Add back control of mmap and hash size in tdb for top level build | Andrew Bartlett | 1 | -2/+6 | |
This passes down a struct loadparm_context to allow these parameters to be checked. This may be s3 or s4 context, allowing the #if _SAMBA_BUILD_ macro to go away safely. Andrew Bartlett | |||||
2011-10-12 | s3:dbwrap_ctdb: improve the check for skipping the __db_sequence_number__ ↵ | Michael Adam | 1 | -2/+1 | |
record in traverse It did not compare the last charcter (usually '\0') | |||||
2011-10-12 | s3:dbwrap_ctdb: fix check for skipping the __db_sequence_number__ in traverse | Michael Adam | 1 | -1/+1 | |
Brown paperbag. This omitted the "== 0" hand hence skipped all keys of the same length as __db_sequence_number__ but different from it... | |||||
2011-10-12 | s3-dbwrap_ctdb: fix the build. | Günther Deschner | 1 | -1/+4 | |
Michael, please check. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Oct 12 15:25:56 CEST 2011 on sn-devel-104 | |||||
2011-10-12 | s3:dbwrap: remove m_all marshall buffer from ctdb transaction. | Gregor Beck | 1 | -23/+1 | |
it was only used by ctdb_replay_transaction and was a actually write only Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Oct 12 05:20:36 CEST 2011 on sn-devel-104 | |||||
2011-10-12 | s3:dbwrap: traverse records created within this transaction. | Gregor Beck | 1 | -1/+39 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-11 | s3:dbwrap: change dbwrap_store_uint32() to NTSTATUS return type | Michael Adam | 2 | -4/+6 | |
for consistency and better error propagation Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Oct 11 15:51:00 CEST 2011 on sn-devel-104 | |||||
2011-10-11 | s3:dbwrap: change dbwrap_store_int32() to NTSTATUS return type | Michael Adam | 2 | -4/+6 | |
for consistency and better error propagation | |||||
2011-10-11 | s3:dbwrap: change dbwrap_fetch_uint32() to NTSTATUS return type (instead of ↵ | Michael Adam | 2 | -7/+11 | |
bool) for consistency and better error propagation | |||||
2011-10-11 | s3:dbwrap: convert dbwrap_fetch_int32() to NTSTATUS return code | Michael Adam | 2 | -7/+12 | |
Return the int32 value retrieved from the db by reference. Before this, return value "-1" was used as a error indication, but it could also be a valid value from the database. | |||||
2011-10-11 | s3:dbwrap: move definitions of db_record and db_contect structs to ↵ | Michael Adam | 5 | -35/+40 | |
dbwrap_private.h The API and callers now only need the forward declarations. | |||||
2011-10-11 | s3:dbwrap: convert dbwrap_util.c to use dbwrap wrapper functions | Michael Adam | 1 | -33/+41 | |
2011-10-11 | s3:dbwrap: use dbwrap_fetch_bystring() in dbwrap_fetch_[u]int32() | Michael Adam | 1 | -2/+6 | |
2011-10-11 | s3:dbwrap: convert dbwrap_fetch(), dbwrap_fetch_bystring() and ↵ | Michael Adam | 3 | -21/+23 | |
dbwrap_fetch_bystring_upper() to NTSTATUS | |||||
2011-10-11 | s3:dbwrap: add dbwrap_fetch_locked(), a wrapper for db->fetch_locked | Michael Adam | 2 | -0/+10 | |
2011-10-11 | s3:dbwrap: add dbwrap_record_delete(), a wrapper for record->delete_rec | Michael Adam | 2 | -0/+6 | |
2011-10-11 | s3:dbwrap: add dbwrap_record_store(), a wrapper for record->store | Michael Adam | 2 | -0/+6 | |
2011-10-11 | s3:dbwrap: add get-functions for db_record key, value and private_data | Michael Adam | 2 | -0/+19 | |
2011-10-11 | s3:dbwrap: add wrapper function dbwrap_get_seqnum() | Michael Adam | 2 | -0/+6 | |
2011-10-11 | s3:dbwrap: add wrappers for transactions start/cancel/commit | Michael Adam | 2 | -0/+18 | |
2011-10-11 | s3:dbwrap: add wrapper dbwrap_get_flags() | Michael Adam | 2 | -0/+6 | |
2011-10-11 | s3:dbwrap: fix db_rbt_traverse() to return the record count on success | Gregor Beck | 1 | -5/+14 | |
this makes it consistent with documented behaviour of tdb_traverse() Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-11 | s3:dbwrap: add specific dbwrap_wipe() implementation to dbwrap_rbt | Gregor Beck | 1 | -0/+14 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-11 | s3:dbwrap: add specific dbwrap_wipe() implementation to dbwrap_tdb | Gregor Beck | 1 | -0/+8 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-11 | s3:dbwrap: add a comment | Michael Adam | 1 | -0/+4 | |
2011-10-11 | s3:dbwrap: add function dbwrap_wipe() | Gregor Beck | 4 | -0/+29 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-11 | s3:dbwrap: add specific dbwrap_parse_record() implementation to dbwrap_rbt | Gregor Beck | 1 | -0/+15 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-11 | s3:dbwrap: implement dbwrap_fallback_exists() with dbwrap_parse_record() | Gregor Beck | 1 | -10/+2 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-11 | s3:dbwrap: allow NULL parser for dbwrap_parse_record() | Gregor Beck | 1 | -0/+9 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-11 | s3:dbwrap: dbwrap_parse_record() should always return -1 on "not found" | Gregor Beck | 1 | -1/+1 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-11 | s3:dbwrap: add function dbwrap_parse_record() | Gregor Beck | 2 | -0/+16 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-11 | s3:dbwrap: add specific dbwrap_exists() implementation to dbwrap_rbt | Gregor Beck | 1 | -0/+6 | |
2011-10-11 | s3:dbwrap: factor out db_rpt_search_internal() | Gregor Beck | 1 | -46/+43 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-11 | s3:dbwrap: add specific dbwrap_exists() implementation to dbwrap_tdb | Gregor Beck | 1 | -0/+8 | |
Signed-off-by: Michael Adam <obnox@samba.org> |