Debugging statements courtesy of Tokudb.