Got rid of the random SET statements order in database adapters.