/ Check-in [3784d147]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix a typo in the header comment of sqlite3_commit_hook().
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 3784d1475b49f24e4a51450edc94aee66fd48fe4
User & Date: drh 2012-03-01 21:30:44
Context
2012-03-02
20:34
Remove an obsolete comment from FTS3. No code changes. check-in: 74d224b1 user: drh tags: trunk
2012-03-01
21:30
Fix a typo in the header comment of sqlite3_commit_hook(). check-in: 3784d147 user: drh tags: trunk
2012-02-28
17:57
Fix spurious errors that may occur if an empty database is opened and then initialized as a WAL database by a second connection. check-in: 16330a2f user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/main.c.

  1308   1308     db->xProfile = xProfile;
  1309   1309     db->pProfileArg = pArg;
  1310   1310     sqlite3_mutex_leave(db->mutex);
  1311   1311     return pOld;
  1312   1312   }
  1313   1313   #endif /* SQLITE_OMIT_TRACE */
  1314   1314   
  1315         -/*** EXPERIMENTAL ***
  1316         -**
  1317         -** Register a function to be invoked when a transaction comments.
         1315  +/*
         1316  +** Register a function to be invoked when a transaction commits.
  1318   1317   ** If the invoked function returns non-zero, then the commit becomes a
  1319   1318   ** rollback.
  1320   1319   */
  1321   1320   void *sqlite3_commit_hook(
  1322   1321     sqlite3 *db,              /* Attach the hook to this database */
  1323   1322     int (*xCallback)(void*),  /* Function to invoke on each commit */
  1324   1323     void *pArg                /* Argument to the function */