Patches to ignore stupid mysql errors.