Wapp

Check-in [a763b12070]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Enable JSON1 in wapptclsh
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: a763b1207069a1ab2380312785f48b6a9137737b27d59db0f6b22b6c0011f464
User & Date: drh 2018-01-27 22:17:57.039
Context
2018-01-28
17:32
Add the wapp-redirect command. (check-in: e6c6f398a0 user: drh tags: trunk)
2018-01-27
22:17
Enable JSON1 in wapptclsh (check-in: a763b12070 user: drh tags: trunk)
16:09
Add the optional wapp-before-dispatch-hook and the test05.tcl test case to demonstrate how to use it. (check-in: e605df67a3 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to wapptclsh.c.in.
18
19
20
21
22
23
24

25
26
27
28
29
30
31
#define SQLITE_OMIT_SHARED_CACHE 1
#define SQLITE_DEFAULT_MEMSTATUS 0
#define SQLITE_MAX_EXPR_DEPTH 0
#define SQLITE_OMIT_LOAD_EXTENSION 1
#define SQLITE_ENABLE_FTS4 1
#define SQLITE_ENABLE_FTS5 1
#define SQLITE_ENABLE_RTREE 1

#define TCLSH_INIT_PROC wapptclsh_init_proc
INCLUDE tclsqlite3.c

/* The wapp.tcl script contains the useful web-application interface
** procedures.  After loading this script, "package require wapp" becomes
** a no-op
*/







>







18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#define SQLITE_OMIT_SHARED_CACHE 1
#define SQLITE_DEFAULT_MEMSTATUS 0
#define SQLITE_MAX_EXPR_DEPTH 0
#define SQLITE_OMIT_LOAD_EXTENSION 1
#define SQLITE_ENABLE_FTS4 1
#define SQLITE_ENABLE_FTS5 1
#define SQLITE_ENABLE_RTREE 1
#define SQLITE_ENABLE_JSON1 1
#define TCLSH_INIT_PROC wapptclsh_init_proc
INCLUDE tclsqlite3.c

/* The wapp.tcl script contains the useful web-application interface
** procedures.  After loading this script, "package require wapp" becomes
** a no-op
*/