3b3295 Add forgotten sqlite patch

Authored and Committed by Michal Domonkos a year ago
    Add forgotten sqlite patch
    
    Related: #1938861