Revert "Fixed sql dry mode output and compression level"

This reverts commit 7ee1872718258b8a6fab07b851f2f46e7e40b3f9.