Fixed #23871 -- Removed promotion of MySQL warnings to errors in DEBUG mode.