== Nested Set integrity check ==
Does a quick checksum check on a nested set tree. Adds all left and right values to check they sum up to the correct values and does some other little checks.
mysql> SELECT
#
# The sum of all lft and rgt values should add up (does not guarantee
# correct structure, but is good at catching borked data.