Bugzilla – Bug 6865
Modification of DB attribute fails when new value same as current value
Last modified: 2009-12-07 16:26:18
You need to
before you can comment on or make changes to this bug.
Running the automated RLS tests, modification of an attribute, e.g. "date", in
which the new value and the current value are the same, results in a failure
The bug is very likely in "server/db.c", in "db_attr_modify()".
The call to "SQLRowCount()" returns a "0" in "rows" when the new value and the
current value are the same, and a "1", otherwise.
"0" rows (which may be an indication of a true failure in some cases) results
in a "GLOBUS_RLS_ATTR_NEXIST" being returned by "db_attr_modify()", and a
failure being reported by the automated RLS tests.