caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Announcement: Ocaml-MySQL 1.0.0
@ 2003-05-12 23:59 Shawn Wagner
  2003-05-13  0:27 ` Shawn Wagner
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Shawn Wagner @ 2003-05-12 23:59 UTC (permalink / raw)
  To: caml-list

Bindings for accessing MySQL databases from ocaml programs.

Since nobody reported any bugs with the version (0.9.1) I released last
month, I'm bumping the version to 1.0.0. No other changes.

Available at http://raevnos.pennmush.org/code/ocaml.html


On a related note, have the people working on database server independant
DBI-type interfaces for ocaml made any significant progress? I'm thinking
about including higher-level query generating functions in the next major
release (Something like Query.select connection ~columns:["name"; "address"]
~from:(`Table "customers") ~where:"last_ordered > some-timestamp" ()), but
won't bother if there's other viable alternatives. I'd rather take the time
to make sure my code hooks into them.

-- 
Shawn Wagner
shawnw@speakeasy.org

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Caml-list] Announcement: Ocaml-MySQL 1.0.0
  2003-05-12 23:59 [Caml-list] Announcement: Ocaml-MySQL 1.0.0 Shawn Wagner
@ 2003-05-13  0:27 ` Shawn Wagner
  2003-05-13 12:56 ` MikhailFedotov
  2003-05-18 11:37 ` [Caml-list] Announcement: Ocaml-Sqlite 0.3.4 Mikhail Fedotov
  2 siblings, 0 replies; 5+ messages in thread
From: Shawn Wagner @ 2003-05-13  0:27 UTC (permalink / raw)
  To: caml-list

On Mon, May 12, 2003 at 04:59:52PM -0700, Shawn Wagner wrote:
> Bindings for accessing MySQL databases from ocaml programs.

Three copies of this seem to have gone out on the list; I have no idea why. 
I only sent it once, and my mail logs only show talking to inria's mail
server once.

-- 
Shawn Wagner
shawnw@speakeasy.org

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [Caml-list] Announcement: Ocaml-MySQL 1.0.0
  2003-05-12 23:59 [Caml-list] Announcement: Ocaml-MySQL 1.0.0 Shawn Wagner
  2003-05-13  0:27 ` Shawn Wagner
@ 2003-05-13 12:56 ` MikhailFedotov
  2003-05-13 13:24   ` Shawn Wagner
  2003-05-18 11:37 ` [Caml-list] Announcement: Ocaml-Sqlite 0.3.4 Mikhail Fedotov
  2 siblings, 1 reply; 5+ messages in thread
From: MikhailFedotov @ 2003-05-13 12:56 UTC (permalink / raw)
  To: shawnw; +Cc: caml-list

Hi!

> Bindings for accessing MySQL databases from ocaml programs.
>
> Since nobody reported any bugs with the version (0.9.1) I
> released last month, I'm bumping the version to 1.0.0. No
> other changes.

I believe there is at least one, similar to my own.

I'm creating an ocaml-sqlite binding (a bit more general than the one
posted here a while ago by David Brown) now and find out today that I
may no
use "CAMLreturn0;" clause in functions which are exported
into ocaml.

I have to declare them as "CAMLprim value", not "CAMLprim void",
and use a "CAMLreturn(Val_unit)" to return. Otherwise custom toplevel
becomes crazy in interactive mode, does segmentation faults etc.

Ocaml-MySQL uses CAMLreturn0 in two places.

Mikhail


-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Caml-list] Announcement: Ocaml-MySQL 1.0.0
  2003-05-13 12:56 ` MikhailFedotov
@ 2003-05-13 13:24   ` Shawn Wagner
  0 siblings, 0 replies; 5+ messages in thread
From: Shawn Wagner @ 2003-05-13 13:24 UTC (permalink / raw)
  To: MikhailFedotov; +Cc: caml-list

On Tue, May 13, 2003 at 04:56:24PM +0400, MikhailFedotov wrote:
> Hi!
> 
> > Bindings for accessing MySQL databases from ocaml programs.
> >
> > Since nobody reported any bugs with the version (0.9.1) I
> > released last month, I'm bumping the version to 1.0.0. No
> > other changes.
> 
> I believe there is at least one, similar to my own.

Only in older releases.

> 
> Ocaml-MySQL uses CAMLreturn0 in two places.

No, it doesn't. It used to, till I tracked that down as the cause of some
toplevel segfaults and changed it. It was fixed for the 0.9.1/1.0 releases.

-- 
Shawn Wagner
shawnw@speakeasy.org

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Caml-list] Announcement: Ocaml-Sqlite 0.3.4
  2003-05-12 23:59 [Caml-list] Announcement: Ocaml-MySQL 1.0.0 Shawn Wagner
  2003-05-13  0:27 ` Shawn Wagner
  2003-05-13 12:56 ` MikhailFedotov
@ 2003-05-18 11:37 ` Mikhail Fedotov
  2 siblings, 0 replies; 5+ messages in thread
From: Mikhail Fedotov @ 2003-05-18 11:37 UTC (permalink / raw)
  To: caml-list

Hi!

Bindings for accessing Sqlite databases from ocaml
programs, version 0.3.4

Not all functionality of Sqlite is exposed, the binding is
a rough equvalent of bindings by David Brown with a bit
more features. 

Available at
http://www.sourceforge.net/projects/ocaml-sqlite

Plans for 0.4.x versions: tidy up error codes & exceptions
(i.e raising Invalid_argument exception in place of
Sqlite_error where it is appropriate, and so on);

Plans for 0.5.x versions: provide richer API to match the
API of Sqlite more closely. User sql functions and
aggregates, busy calbacks, authorization etc.

Mikhail

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-05-18 11:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-12 23:59 [Caml-list] Announcement: Ocaml-MySQL 1.0.0 Shawn Wagner
2003-05-13  0:27 ` Shawn Wagner
2003-05-13 12:56 ` MikhailFedotov
2003-05-13 13:24   ` Shawn Wagner
2003-05-18 11:37 ` [Caml-list] Announcement: Ocaml-Sqlite 0.3.4 Mikhail Fedotov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).