Revert sqlite changes accidentally added to 09f915107ff2797852b88119b36260a5433f2028.