user-agent: mediapartners-Google* Disallow:
accomplish the same thing? You're not actually disallowing any spiders from anywhere in your site, that I can see. Or am I missing something here?
your code will work the same as will a blank robots.txt file because you are not blocking any spider from accessing your site