Doc bug, fixed recently: MDB_CURRENT must not change the data size. Also with DUPSORT the data item must sort in the same place as the previous one, that needs to be documented too.