Stop setting err to 0 when creating a new drh

Hope this meets your approval. All tests pass and the warn in the trace log goes away.

Martin