1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Improved built-in help in the command-line shell. Enable the

fulltext search extension in the TCL interface. (CVS 3372)

FossilOrigin-Name: 9763b4bfd5f0579f9fb821899ffa8bfe650054d7
This commit is contained in:
drh
2006-08-29 12:04:19 +00:00
parent c9e0a9057e
commit 80e8be9337
4 changed files with 24 additions and 15 deletions

View File

@@ -11,7 +11,7 @@
*************************************************************************
** A TCL Interface to SQLite
**
** $Id: tclsqlite.c,v 1.170 2006/08/25 23:42:53 drh Exp $
** $Id: tclsqlite.c,v 1.171 2006/08/29 12:04:19 drh Exp $
*/
#ifndef NO_TCL /* Omit this whole file if TCL is unavailable */
@@ -2073,6 +2073,13 @@ static int DbMain(void *cd, Tcl_Interp *interp, int objc,Tcl_Obj *const*objv){
zArg = Tcl_GetStringFromObj(objv[1], 0);
Tcl_CreateObjCommand(interp, zArg, DbObjCmd, (char*)p, DbDeleteCmd);
#ifdef SQLITE_ENABLE_FTS1
{
extern int fulltext_init(sqlite3*);
fulltext_init(p->db);
}
#endif
/* If compiled with SQLITE_TEST turned on, then register the "md5sum"
** SQL function.
*/