[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#9037) observing crash in mdb_cursor_put()



hyc@symas.com wrote on 2019-06-18 01:30:
> There is no issue with mdb_cursor_put then. The question is why didn't mdb_page_search find the DBI's root node?
Would it be useful for mdb_cursor_init to return the result code of 
mdb_page_search, and for mdb_put to then return that code if it isn't 
MDB_SUCCESS?

That wouldn't resolve the problem, but it might avoid the crash and 
provide some insight into the failure (if mdb_page_search is actually 
returning a failure code when it doesn't find the DBI's root node).

-myk