Will upgrade clean database?

Will upgrade clean database?



Earlier today I posted about a spam injection problem that I found on my site:



Basically a long list of blue links on the bottom of every page. the links go to an innocent site - with a masked true destination. Also you can see the links in IE but not FireFox.



Looking with my webhost we saw a long line of 777 folders either left by CS Cart after an update a few months ago or by the spammers.



Now I am wondering if I backup my database and download 2.07 and install the database will the spam injection carryover or will a clean database carry over?