]> git.sur5r.net Git - openldap/commit - servers/slapd/back-bdb/tools.c
ITS#7256 A few issues discovered during testing slapmodify.
authorOndrej Kuznik <ondrej.kuznik@acision.com>
Mon, 23 Apr 2012 14:58:20 +0000 (16:58 +0200)
committerHoward Chu <hyc@openldap.org>
Wed, 9 Jul 2014 00:28:12 +0000 (17:28 -0700)
commit01f698bce979660270207ce052f3bdbbd79365a5
tree951758cd5c6ecdf458b6f5147ab1650787df0d56
parentd3a5ab824dbb82991e4c9371d8a4f817b739ac46
ITS#7256 A few issues discovered during testing slapmodify.

- bdb deallocates cursor after some tool operations but expects it to be
  around every time it is called
- mdb tries to allocate a second transaction while it already holds one,
  deadlocking
- op->o_hdr must exist for most uses of op, but o_tmpmfuncs need not
- what about indexing after a tool modify? Does it happen automatically?
servers/slapd/back-bdb/tools.c
servers/slapd/back-mdb/id2entry.c