Tcl Source Code

View Ticket
Login
Ticket UUID: ff256d5a54d19a4aca2dc6e6cd93e76bba30b01e
Title: Compile SQLite tcl interface with its JSON extension
Type: RFE Version:
Submitter: jmcuaz60 Created on: 2021-05-28 08:02:17
Subsystem: 69. Other Assigned To: jan.nijtmans
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2021-05-28 20:24:50
Resolution: Fixed Closed By: jan.nijtmans
    Closed on: 2021-05-28 20:24:50
Description:
Hello

(sorry if it is not the right place to ask)

We are long time users of tcl/tk + SQLite3, exclusively at the script level on MS Windows (Magicsplat distribution) wich is great.

If possible it would be nice if the tcl interface of SQlite3 package boundled with the tcl langage could be provided/compiled with its JSON extension (https://sqlite.org/json1.html). This extension is mature and very usefull, allowing (for example) to create a sub table inside a cell of a database table (our usage). (we have no experience in compilation)

Thank you

Jean-Marie Cuaz
User Comments: jan.nijtmans added on 2021-05-28 20:24:50:

Fixed now: http://cyqlite.sourceforge.net/cgi-bin/sqlite/info/f201291c2f4f751b

Thanks, @Jean-Marie and @Ashok! So it was a bug after all! I didn't realize that magicsplat was using the nmake build system.


apnadkarni added on 2021-05-28 16:58:55:
This flag was added to the nmake make file as -DSQLITE_ENABLE_JSON=1 instead of -DSQLITE_ENABLE_JSON1=1. See original commit at http://cyqlite.sourceforge.net/cgi-bin/sqlite/artifact/50da2236bed30dea

Jan, could you make the fix? I'd rather not check out the repository just for this purpose.

/Ashok

jmcuaz60 added on 2021-05-28 12:54:32:
Thank you for your prompt reply.

I will try to contact Mr Nadkarni (author of Magicsplat distribution) to understand why this SQLite extension is'nt included in his distribution.

Thank you again

Jean-Marie Cuaz

jan.nijtmans added on 2021-05-28 08:11:13:

The standard TEA configure script provided with the SQLite extension already has JSON enabled. See:

http://cyqlite.sourceforge.net/cgi-bin/sqlite/file?udc=1&ln=84&ci=cf97ff291eb29ed8&name=configure.ac