aboutsummaryrefslogtreecommitdiff
path: root/src/test_schema.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2006-06-17 13:21:32 +0000
committerdrh <drh@noemail.net>2006-06-17 13:21:32 +0000
commit428397c143da99c81ffa21ae8cfb0947d1a4699b (patch)
treeb9e0ec0dda472384fdfb80a26f89067cb9c5380e /src/test_schema.c
parente7ff403ab11c01ee31651682d58e1a76aa6022f1 (diff)
downloadsqlite-428397c143da99c81ffa21ae8cfb0947d1a4699b.tar.gz
sqlite-428397c143da99c81ffa21ae8cfb0947d1a4699b.zip
The default entry point for loadable extensions is now
always sqlite3_extension_init(). (CVS 3268) FossilOrigin-Name: 059b1f61406ca60fdbd3ec59c5b15fadc6552564
Diffstat (limited to 'src/test_schema.c')
-rw-r--r--src/test_schema.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test_schema.c b/src/test_schema.c
index 9d8a6b1d5..edc78cb01 100644
--- a/src/test_schema.c
+++ b/src/test_schema.c
@@ -13,12 +13,12 @@
** is not included in the SQLite library. It is used for automated
** testing of the SQLite library.
**
-** $Id: test_schema.c,v 1.3 2006/06/16 06:17:47 danielk1977 Exp $
+** $Id: test_schema.c,v 1.4 2006/06/17 13:21:33 drh Exp $
*/
-/* The code in this file defines a sqlite3 module that provides
-** a read-only view of the current database schema. There is one
-** row in the schema table for each column in the database.
+/* The code in this file defines a sqlite3 virtual-table module that
+** provides a read-only view of the current database schema. There is one
+** row in the schema table for each column in the database schema.
*/
#define SCHEMA \
"CREATE TABLE x(" \
@@ -332,7 +332,7 @@ int Sqlitetestschema_Init(Tcl_Interp *interp){
/*
** Extension load function.
*/
-int schema_init(
+int sqlite3_extension_init(
sqlite3 *db,
char **pzErrMsg,
const sqlite3_api_routines *pApi