Update db.cpp

(sorry for the bad english)
if the variable szSecuritycode is not set (and the variable col is not increased) 
the variables: szSocialID, dwID, szStatus are set wrong