aboutsummaryrefslogtreecommitdiff
path: root/src/test_tclvar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test_tclvar.c')
-rw-r--r--src/test_tclvar.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/test_tclvar.c b/src/test_tclvar.c
index 00937c276..fc474bb70 100644
--- a/src/test_tclvar.c
+++ b/src/test_tclvar.c
@@ -16,7 +16,7 @@
** The emphasis of this file is a virtual table that provides
** access to TCL variables.
**
-** $Id: test_tclvar.c,v 1.1 2006/06/13 23:51:35 drh Exp $
+** $Id: test_tclvar.c,v 1.2 2006/06/14 06:58:16 danielk1977 Exp $
*/
#include "sqliteInt.h"
#include "tcl.h"
@@ -45,7 +45,7 @@ struct tclvar_cursor {
/* Methods for the tclvar module */
static int tclvarConnect(
sqlite3 *db,
- const sqlite3_module *pModule,
+ void *pAux,
int argc, char **argv,
sqlite3_vtab **ppVtab
){
@@ -55,8 +55,7 @@ static int tclvarConnect(
pVtab = sqliteMalloc( sizeof(*pVtab) );
if( pVtab==0 ) return SQLITE_NOMEM;
*ppVtab = &pVtab->base;
- pVtab->base.pModule = pModule;
- pVtab->interp = pModule->pAux;
+ pVtab->interp = (Tcl_Interp *)pAux;
#ifndef SQLITE_OMIT_VIRTUALTABLE
sqlite3_declare_vtab(db, zSchema);
#endif