/ Check-in [e908365f]
Login

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

Overview
Comment:Fix a couple of typos in comments.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | get-trace
Files: files | file ages | folders
SHA1:e908365faea6987f98dc3954b932f9a353241bfc
User & Date: mistachkin 2015-05-12 23:31:02
Context
2015-05-12
23:33
Use the database mutex where applicable. check-in: 28cfdabc user: mistachkin tags: get-trace
23:31
Fix a couple of typos in comments. check-in: e908365f user: mistachkin tags: get-trace
23:28
Improve API armor integration. Fix harmless compiler warnings. check-in: fbf29b45 user: mistachkin tags: get-trace
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/main.c.

  1759   1759     pOld = db->pTraceArg;
  1760   1760     db->xTrace = xTrace;
  1761   1761     db->pTraceArg = pArg;
  1762   1762     sqlite3_mutex_leave(db->mutex);
  1763   1763     return pOld;
  1764   1764   }
  1765   1765   /*
  1766         -** Return the curren trace function and argument.
         1766  +** Return the current trace function and argument.
  1767   1767   */
  1768   1768   int sqlite3_get_trace(
  1769   1769     const sqlite3 *db,
  1770   1770     void (**pxTrace)(void*,const char*),
  1771   1771     void **ppArg
  1772   1772   ){
  1773   1773   #ifdef SQLITE_ENABLE_API_ARMOR
................................................................................
  1804   1804     pOld = db->pProfileArg;
  1805   1805     db->xProfile = xProfile;
  1806   1806     db->pProfileArg = pArg;
  1807   1807     sqlite3_mutex_leave(db->mutex);
  1808   1808     return pOld;
  1809   1809   }
  1810   1810   /*
  1811         -** Return the curren trace function and argument.
         1811  +** Return the current profile function and argument.
  1812   1812   */
  1813   1813   int sqlite3_get_profile(
  1814   1814     const sqlite3 *db,
  1815   1815     void (**pxProfile)(void*,const char*,sqlite3_uint64),
  1816   1816     void **ppArg
  1817   1817   ){
  1818   1818   #ifdef SQLITE_ENABLE_API_ARMOR