Google Groups Home
Help | Sign in
sqlite3 bindings
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Ted Kremenek  
View profile
 More options Jul 14 2006, 10:08 pm
Newsgroups: fa.caml
From: Ted Kremenek <kreme...@cs.stanford.edu>
Date: Sat, 15 Jul 2006 02:08:30 UTC
Local: Fri, Jul 14 2006 10:08 pm
Subject: Re: [Caml-list] sqlite3 bindings
Hi Mike,

i think there are more than one available SQLite bindings for OCaml,  
including some that are just for versions of SQLite before the API  
was changed in version 3 and others engineered directly for SQLite3.  

I am using Bįršur Įrantsson's bindings that are available at:

http://www.imada.sdu.dk/~bardur/personal/45-programs/

These particular OCaml bindings in many ways directly mirror the  
SQLite3 C API; they are not a DBI-like interfaces, but work well if  
you are familiar with SQLite3.

I have modified the bindings slightly for my own needs by adding a  
few methods and fixing a few bugs (any fixes of which I plan to  
eventually contribute back to Bįršur), but it works very well with  

the latest version of SQLite3.  I am using it just fine with version  
3.3.6 of SQLite.  I have successfully used it to create database  
files of several gigabytes (populated with marshaled OCaml objects  
using Sqlite3's blob type).

Ted

On Jul 14, 2006, at 4:46 PM, Mike Lin wrote:

> Hi, does anyone know how (if) the available ocaml sqlite bindings  
> work with recent versions of sqlite (namely 3.x.x)?
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Toby Allsopp  
View profile
 More options Jul 19 2006, 5:40 am
Newsgroups: fa.caml
From: Toby Allsopp <t...@mi6.gen.nz>
Date: Wed, 19 Jul 2006 09:40:29 UTC
Local: Wed, Jul 19 2006 5:40 am
Subject: [Caml-list] Re: sqlite3 bindings

"Mike Lin" <mike...@mit.edu> writes:
> Hi, does anyone know how (if) the available ocaml sqlite bindings work with
> recent versions of sqlite (namely 3.x.x)?

http://metamatix.org/~ocaml/ocaml_sqlite3.html

I've used this and it works fine, although there is a minor bug that
causes seg faults in certain situations that I can't currently
recall.  I have a patch that I will send next week from work.

Toby.

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Toby Allsopp  
View profile
 More options Jul 20 2006, 5:11 am
Newsgroups: fa.caml
From: Toby Allsopp <t...@mi6.gen.nz>
Date: Thu, 20 Jul 2006 09:11:37 UTC
Local: Thurs, Jul 20 2006 5:11 am
Subject: [Caml-list] Re: sqlite3 bindings

> Mike Lin writes:

>> Hi, does anyone know how (if) the available ocaml sqlite bindings work with
>> recent versions of sqlite (namely 3.x.x)?

> http://metamatix.org/~ocaml/ocaml_sqlite3.html

> I've used this and it works fine, although there is a minor bug that
> causes seg faults in certain situations that I can't currently
> recall.  I have a patch that I will send next week from work.

Here's the patch that I've been using to great effect.

Toby.

  ocaml-sqlite3.patch
1K Download

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google