Stop setting err to 0 when creating a new drh