         }
     }
     
-    /// Transaction hook
     private func didCommit() {
         savepointStack.clear()
         

        }
    }
    
    /// Transaction hook
    func willCommit() throws {
        let eventsBuffer = savepointStack.eventsBuffer
        savepointStack.clear()

    }
    
#if SQLITE_ENABLE_PREUPDATE_HOOK
    /// See sqlite3_preupdate_hook
    private func willChange(with event: DatabasePreUpdateEvent) {
        if savepointStack.isEmpty {
            // Notify all interested transactionObservers.
            for observer in activeTransactionObservers {
                observer.databaseWillChange(with: event)
            }
