Fixed the bug of DBAgentMySQL that doesn't handle a NULL value correctly.