This function is called when SQLite finishes stepping through the data. It is analogous to SQLite's xFinal callback.