The Samba-Bugzilla – Attachment 7851 Details for
Bug 9128
ldb_index could mention the conflicting index value
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch against ldb-1.1.9
improve_ldb_index_conflict_message.patch (text/plain), 738 bytes, created by
Arvid Requate
on 2012-08-30 11:47:47 UTC
(
hide
)
Description:
patch against ldb-1.1.9
Filename:
MIME Type:
Creator:
Arvid Requate
Created:
2012-08-30 11:47:47 UTC
Size:
738 bytes
patch
obsolete
>diff -Nuarp a/ldb-1.1.9/ldb_tdb/ldb_index.c b/ldb-1.1.9/ldb_tdb/ldb_index.c >--- a/ldb-1.1.9/ldb_tdb/ldb_index.c 2012-07-09 08:07:11.000000000 +0200 >+++ b/ldb-1.1.9/ldb_tdb/ldb_index.c 2011-12-23 06:53:59.000000000 +0100 >@@ -1127,8 +1127,8 @@ static int ltdb_index_add1(struct ldb_mo > if (list->count > 0 && > a->flags & LDB_ATTR_FLAG_UNIQUE_INDEX) { > talloc_free(list); >- ldb_asprintf_errstring(ldb, __location__ ": unique index violation on %s in %s", >- el->name, dn); >+ ldb_asprintf_errstring(ldb, __location__ ": unique index violation on %s in %s, value: %s, key: %s", >+ el->name, dn, (char *)el->values[v_idx].data, (char *)ldb_dn_get_linearized(dn_key)); > return LDB_ERR_ENTRY_ALREADY_EXISTS; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 9128
: 7851