In some implementations, readdir_r()
is
broken. The symptom is that the SHOW
DATABASES
statement always returns an empty set.
This can be fixed by removing
HAVE_READDIR_R
from
config.h
after configuring and before
compiling.