included the query statement to an exception object when sqlite3_prepare() fails.