Updated for sqlite 3.8.6
Updated for sqlite 3.8.6