* or with parent ""
*/
if ( !be_isroot( be, op->o_ndn )) {
- if ( be_issuffix( be, "" ) ) {
+ if ( be_issuffix( be, "" ) || be_isupdate( be, op->o_ndn ) ) {
static const Entry rootp = { NOID, "", "", NULL, NULL };
p = (Entry *)&rootp;
/* no parent, must be root to delete */
if( ! be_isroot( be, op->o_ndn ) ) {
- if ( be_issuffix( be, "" ) ) {
+ if ( be_issuffix( be, "" ) || be_isupdate( be, op->o_ndn ) ) {
static const Entry rootp = { NOID, "", "", NULL, NULL };
p = (Entry *)&rootp;
/* no parent, modrdn entry directly under root */
isroot = be_isroot( be, op->o_ndn );
if ( ! isroot ) {
- if ( be_issuffix( be, "" ) ) {
+ if ( be_issuffix( be, "" ) || be_isupdate( be, op->o_ndn ) ) {
p = (Entry *)&roote;
/* no parent, modrdn entry directly under root */
if ( ! isroot ) {
- if ( be_issuffix( be, "" ) ) {
+ if ( be_issuffix( be, "" ) || be_isupdate( be, op->o_ndn ) ) {
np = (Entry *)&roote;