diff options
author | danielk1977 <danielk1977@noemail.net> | 2006-06-15 04:28:13 +0000 |
---|---|---|
committer | danielk1977 <danielk1977@noemail.net> | 2006-06-15 04:28:13 +0000 |
commit | d1ab1ba5ed68b51fd640a62a228a5b331829d83a (patch) | |
tree | 769bdcf5fb172a3192f30465958f9f2cf6c55e76 /src/test8.c | |
parent | 5aec042e275dee61ceee172e7ec9d32c2d881bd4 (diff) | |
download | sqlite-d1ab1ba5ed68b51fd640a62a228a5b331829d83a.tar.gz sqlite-d1ab1ba5ed68b51fd640a62a228a5b331829d83a.zip |
Add void* argument to sqlite3_create_module to replace sqlite3_module.pAux. (CVS 3251)
FossilOrigin-Name: 470a3a0b20775be1226fb4d477c798d8da2d5708
Diffstat (limited to 'src/test8.c')
-rw-r--r-- | src/test8.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/test8.c b/src/test8.c index 774221635..ead66444f 100644 --- a/src/test8.c +++ b/src/test8.c @@ -13,7 +13,7 @@ ** is not included in the SQLite library. It is used for automated ** testing of the SQLite library. ** -** $Id: test8.c,v 1.19 2006/06/14 23:43:31 drh Exp $ +** $Id: test8.c,v 1.20 2006/06/15 04:28:13 danielk1977 Exp $ */ #include "sqliteInt.h" #include "tcl.h" @@ -622,7 +622,6 @@ int echoUpdate(sqlite3_vtab *tab, int nData, sqlite3_value **apData){ static sqlite3_module echoModule = { 0, /* iVersion */ "echo", /* zName */ - 0, /* pAux */ echoCreate, echoConnect, echoBestIndex, @@ -661,9 +660,8 @@ static int register_echo_module( return TCL_ERROR; } if( getDbPointer(interp, Tcl_GetString(objv[1]), &db) ) return TCL_ERROR; - echoModule.pAux = interp; #ifndef SQLITE_OMIT_VIRTUALTABLE - sqlite3_create_module(db, "echo", &echoModule); + sqlite3_create_module(db, "echo", &echoModule, (void *)interp); #endif return TCL_OK; } |