]> git.sur5r.net Git - openldap/commit
ITS#7775 Drop <assert.h>, drop/replace assert()s.
authorHallvard Furuseth <hallvard@openldap.org>
Mon, 6 Jan 2014 22:21:54 +0000 (23:21 +0100)
committerHallvard Furuseth <hallvard@openldap.org>
Mon, 6 Jan 2014 22:21:54 +0000 (23:21 +0100)
commit5bda3565a9bfaa6cd54053faeafcc06da15bc00c
treefad94106a71d0b353904b47e5cbced1040f23961
parent6fb561d33ed7be4b37437c5c6e52b27ddd984c4b
ITS#7775 Drop <assert.h>, drop/replace assert()s.

db_mid2l_insert(): Move assert to mdb.c.
mdb_cursor_set(): Previous assert cannot fail now.
mdb_cursor_put(): Check mc/key and return EINVAL.
mdb_cursor_dbi(): No error return, so just segfault if cursor==NULL.
libraries/liblmdb/mdb.c
libraries/liblmdb/midl.c