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:
@@ -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.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user