Removed INVARIANTS sections in the experimental extension loading API that I should not have added in the first place. No changes to code. (CVS 5273)
FossilOrigin-Name: e7610890b4df78af5bb8f3e8f8d05ef5cf36e186
This commit is contained in:
+6
-13
@@ -30,7 +30,7 @@
|
||||
** the version number) and changes its name to "sqlite3.h" as
|
||||
** part of the build process.
|
||||
**
|
||||
** @(#) $Id: sqlite.h.in,v 1.351 2008/06/22 10:21:27 mihailim Exp $
|
||||
** @(#) $Id: sqlite.h.in,v 1.352 2008/06/22 16:35:49 mihailim Exp $
|
||||
*/
|
||||
#ifndef _SQLITE3_H_
|
||||
#define _SQLITE3_H_
|
||||
@@ -4992,8 +4992,6 @@ int sqlite3_table_column_metadata(
|
||||
**
|
||||
** This interface loads an SQLite extension library from the named file.
|
||||
**
|
||||
** INVARIANTS:
|
||||
**
|
||||
** {F12601} The sqlite3_load_extension() interface attempts to load an
|
||||
** SQLite extension library contained in the file zFile.
|
||||
**
|
||||
@@ -5006,10 +5004,11 @@ int sqlite3_table_column_metadata(
|
||||
** [SQLITE_OK] on success and [SQLITE_ERROR] if something goes wrong.
|
||||
**
|
||||
** {F12605} If an error occurs and pzErrMsg is not 0, then the
|
||||
** sqlite3_load_extension() interface shall attempt to fill
|
||||
** *pzErrMsg with error message text stored in memory obtained
|
||||
** from [sqlite3_malloc()]. {END} The calling function should free
|
||||
** this memory by calling [sqlite3_free()].
|
||||
** [sqlite3_load_extension()] interface shall attempt to
|
||||
** fill *pzErrMsg with error message text stored in memory
|
||||
** obtained from [sqlite3_malloc()]. {END} The calling function
|
||||
** should free this memory by calling [sqlite3_free()].
|
||||
**
|
||||
** {F12606} Extension loading must be enabled using
|
||||
** [sqlite3_enable_load_extension()] prior to calling this API,
|
||||
** otherwise an error will be returned.
|
||||
@@ -5031,8 +5030,6 @@ int sqlite3_load_extension(
|
||||
**
|
||||
** Extension loading is off by default. See ticket #1863.
|
||||
**
|
||||
** INVARIANTS:
|
||||
**
|
||||
** {F12621} Call the sqlite3_enable_load_extension() routine with onoff==1
|
||||
** to turn extension loading on and call it with onoff==0 to turn
|
||||
** it back off again.
|
||||
@@ -5056,8 +5053,6 @@ int sqlite3_enable_load_extension(sqlite3 *db, int onoff);
|
||||
** This interface is experimental and is subject to change or
|
||||
** removal in future releases of SQLite.
|
||||
**
|
||||
** INVARIANTS:
|
||||
**
|
||||
** {F12641} This function registers an extension entry point that is
|
||||
** automatically invoked whenever a new [database connection]
|
||||
** is opened using [sqlite3_open()], [sqlite3_open16()],
|
||||
@@ -5083,8 +5078,6 @@ int sqlite3_auto_extension(void *xEntryPoint);
|
||||
** This interface is experimental and is subject to change or
|
||||
** removal in future releases of SQLite.
|
||||
**
|
||||
** INVARIANTS:
|
||||
**
|
||||
** {F12661} This function disables all previously registered
|
||||
** automatic extensions.
|
||||
**
|
||||
|
||||
Reference in New Issue
Block a user