Fixing MySQL bug where insert statements without placeholders sent as prepared statements would never complete