Mysql shouldn't segfault in database-query when running a command with no resultset.