SQLITE_TRACE_ROW and SQLITE_TRACE_STMT Event Sequence in SQLite
Issue Overview: SQLITE_TRACE_ROW Firing Before SQLITE_TRACE_STMT When using the sqlite3_trace_v2 function in SQLite, developers can register callback functions to trace specific events during the execution of SQL statements. Two of the most commonly traced events are SQLITE_TRACE_STMT and SQLITE_TRACE_ROW. The SQLITE_TRACE_STMT event is expected to fire when a prepared statement begins execution, while the SQLITE_TRACE_ROW…