/ Check-in [df430be5]
Login

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

Overview
Comment:Fix minor typos in the sqlite3_backup documentation.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: df430be59d0766a34a94ab85fec9aa3c3baeb740
User & Date: drh 2010-12-17 01:00:00
Context
2010-12-17
14:03
Add the "-heap" option to the command-line shell - to allocate a fixed heap for use with SQLITE_ENABLE_MEMSYS5. check-in: 74fff692 user: drh tags: trunk
01:00
Fix minor typos in the sqlite3_backup documentation. check-in: df430be5 user: drh tags: trunk
2010-12-16
20:35
Improvements to the documentation for sqlite3_backup. No code changes. check-in: f83609f4 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/sqlite.h.in.

  5811   5811   ** ^The database name is "main" for the main database, "temp" for the
  5812   5812   ** temporary database, or the name specified after the AS keyword in
  5813   5813   ** an [ATTACH] statement for an attached database.
  5814   5814   ** ^The S and M arguments passed to 
  5815   5815   ** sqlite3_backup_init(D,N,S,M) identify the [database connection]
  5816   5816   ** and database name of the source database, respectively.
  5817   5817   ** ^The source and destination [database connections] (parameters S and D)
  5818         -** must be different or else sqlite3_backup_init(D,N,S,M) will file with
         5818  +** must be different or else sqlite3_backup_init(D,N,S,M) will fail with
  5819   5819   ** an error.
  5820   5820   **
  5821   5821   ** ^If an error occurs within sqlite3_backup_init(D,N,S,M), then NULL is
  5822         -** returned and an error code and error message are store3d in the
         5822  +** returned and an error code and error message are stored in the
  5823   5823   ** destination [database connection] D.
  5824   5824   ** ^The error code and message for the failed call to sqlite3_backup_init()
  5825   5825   ** can be retrieved using the [sqlite3_errcode()], [sqlite3_errmsg()], and/or
  5826   5826   ** [sqlite3_errmsg16()] functions.
  5827   5827   ** ^A successful call to sqlite3_backup_init() returns a pointer to an
  5828   5828   ** [sqlite3_backup] object.
  5829   5829   ** ^The [sqlite3_backup] object may be used with the sqlite3_backup_step() and
................................................................................
  5846   5846   ** [SQLITE_IOERR_ACCESS | SQLITE_IOERR_XXX] extended error code.
  5847   5847   **
  5848   5848   ** ^(The sqlite3_backup_step() might return [SQLITE_READONLY] if
  5849   5849   ** <ol>
  5850   5850   ** <li> the destination database was opened read-only, or
  5851   5851   ** <li> the destination database is using write-ahead-log journaling
  5852   5852   ** and the destination and source page sizes differ, or
  5853         -** <li> The destination database is an in-memory database and the
         5853  +** <li> the destination database is an in-memory database and the
  5854   5854   ** destination and source page sizes differ.
  5855   5855   ** </ol>)^
  5856   5856   **
  5857   5857   ** ^If sqlite3_backup_step() cannot obtain a required file-system lock, then
  5858   5858   ** the [sqlite3_busy_handler | busy-handler function]
  5859   5859   ** is invoked (if one is specified). ^If the 
  5860   5860   ** busy-handler returns non-zero before the lock is available, then