⚠️ Warning: This is a draft ⚠️

This means it might contain formatting issues, incorrect code, conceptual problems, or other severe issues.

If you want to help to improve and eventually enable this page, please fork RosettaGit's repository and open a merge request on GitHub.

{{library}}{{implementation|SQL}}

OzSqlite is an Oz interface to {{libheader|SQLite}}, a lightweight embeddable sql database engine. It comes with its own version of SQLite.

==Installation== Download and unpack with


ozmake --extract package=mogul:/elansary/ozsqlite

On Unix-like systems, follow the instructions in README.txt

On Windows with cygwin, in order to make it compatible with the current cygwin version:


cd libsqlite

Edit "Makefile" as indicated in the file itself.

Insert in sqlite.h before line 16:


#include "os.h"

Insert in os.h before line 134:


#define	_OFF_T_

Insert in parse.c before line 6:


#include "os.h"

Then build it:


make

cd..
ozmake --build -L ./libsqlite
ozmake --install

==External Links== *[http://www.mozart-oz.org/mogul/info/elansary/ozsqlite.html Ozsqlite site]