/ Check-in [b23c10ac]
Login

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

Overview
Comment:Updates to requirements marks. No changes to code.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:b23c10ac8f65bc88a6c7d88e140217222eb4cbe5
User & Date: drh 2016-08-02 13:26:34
Context
2016-08-02
19:29
The 'replace.tcl' tool should use Unix line-endings. check-in: 50de9631 user: mistachkin tags: trunk
16:24
Merge latest trunk changes into this branch. check-in: d468101b user: dan tags: rowvalue
13:26
Updates to requirements marks. No changes to code. check-in: b23c10ac user: drh tags: trunk
11:29
Fix a problem introduced by [77948b5eceab92a7] causing duplicate calls to be made to the xSavepoint() method of virtual tables under some circumstances. check-in: e64a4173 user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/sqlite.h.in.

  4700   4700   ** calls to sqlite3_get_auxdata(C,N) return P from the most recent
  4701   4701   ** sqlite3_set_auxdata(C,N,P,X) call if the metadata is still valid or
  4702   4702   ** NULL if the metadata has been discarded.
  4703   4703   ** ^After each call to sqlite3_set_auxdata(C,N,P,X) where X is not NULL,
  4704   4704   ** SQLite will invoke the destructor function X with parameter P exactly
  4705   4705   ** once, when the metadata is discarded.
  4706   4706   ** SQLite is free to discard the metadata at any time, including: <ul>
  4707         -** <li> when the corresponding function parameter changes, or
  4708         -** <li> when [sqlite3_reset()] or [sqlite3_finalize()] is called for the
  4709         -**      SQL statement, or
  4710         -** <li> when sqlite3_set_auxdata() is invoked again on the same parameter, or
  4711         -** <li> during the original sqlite3_set_auxdata() call when a memory 
  4712         -**      allocation error occurs. </ul>)^
         4707  +** <li> ^(when the corresponding function parameter changes)^, or
         4708  +** <li> ^(when [sqlite3_reset()] or [sqlite3_finalize()] is called for the
         4709  +**      SQL statement)^, or
         4710  +** <li> ^(when sqlite3_set_auxdata() is invoked again on the same
         4711  +**       parameter)^, or
         4712  +** <li> ^(during the original sqlite3_set_auxdata() call when a memory 
         4713  +**      allocation error occurs.)^ </ul>
  4713   4714   **
  4714   4715   ** Note the last bullet in particular.  The destructor X in 
  4715   4716   ** sqlite3_set_auxdata(C,N,P,X) might be called immediately, before the
  4716   4717   ** sqlite3_set_auxdata() interface even returns.  Hence sqlite3_set_auxdata()
  4717   4718   ** should be called near the end of the function implementation and the
  4718   4719   ** function implementation should not make any use of P after
  4719   4720   ** sqlite3_set_auxdata() has been called.
................................................................................
  5666   5667   ** ^Extension loading is off by default.
  5667   5668   ** ^Call the sqlite3_enable_load_extension() routine with onoff==1
  5668   5669   ** to turn extension loading on and call it with onoff==0 to turn
  5669   5670   ** it back off again.
  5670   5671   **
  5671   5672   ** ^This interface enables or disables both the C-API
  5672   5673   ** [sqlite3_load_extension()] and the SQL function [load_extension()].
  5673         -** Use [sqlite3_db_config](db,[SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION],..)
  5674         -** to enable or disable only the C-API.
         5674  +** ^(Use [sqlite3_db_config](db,[SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION],..)
         5675  +** to enable or disable only the C-API.)^
  5675   5676   **
  5676   5677   ** <b>Security warning:</b> It is recommended that extension loading
  5677   5678   ** be disabled using the [SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION] method
  5678   5679   ** rather than this interface, so the [load_extension()] SQL function
  5679   5680   ** remains disabled. This will prevent SQL injections from giving attackers
  5680   5681   ** access to extension loading capabilities.
  5681   5682   */