In case of the death, resignation, or removal from office of any of the officers mentioned in Section 25-3-47, the person elected or appointed, temporarily or permanently, to fill such vacancy shall, from the time he shall enter upon the discharge of his official duties, receive the compensation authorized by this chapter, and at the same rate for any period of time less than one (1) year, and for so long as the person shall serve as such officer.