callback now invoked with every SQL statement, not only SELECT or PRAGMA