This is an import of sqlite 3.2.7