Hi.
Coverity complained about possible dereference null pointerin *reindex_one_database* function.That's not really true.But the logic is unnecessarily complicated.
Let's simplify it to humans and machines.
patch attached.
Best regards,Ranier Vilela