comp.lang.ada
 help / color / mirror / Atom feed
From: Maciej Sobczak <see.my.homepage@gmail.com>
Subject: Re: Ada and MySQL (mysql_library_init)
Date: Sat, 5 Dec 2009 15:03:33 -0800 (PST)
Date: 2009-12-05T15:03:33-08:00	[thread overview]
Message-ID: <da1e9ed5-b8f1-49c8-b0b9-5b065ef94cb1@z7g2000vbl.googlegroups.com> (raw)
In-Reply-To: b13c9754-3c9f-4364-b4d0-9dfc0206c996@j35g2000vbl.googlegroups.com

On 5 Gru, 23:41, Tomek Walkuski <tomek.walku...@gmail.com> wrote:

> when interacting with MySQL database I should invoke mysql_library_init
> () function first. GNADE does not have it implemented

> Any ideas?

According to MySQL docs, you do not have to call this function,
because mysql_init does it implicitly - you have to just ensure that
you do not call it from multiple threads, which seems straightforward
as it is an initialization function.

You might also want to have a look at the SOCI-Ada library:

http://www.inspirel.com/soci-ada

--
Maciej Sobczak * www.msobczak.com * www.inspirel.com



  reply	other threads:[~2009-12-05 23:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-05 22:41 Ada and MySQL (mysql_library_init) Tomek Walkuski
2009-12-05 23:03 ` Maciej Sobczak [this message]
2009-12-06 13:06   ` Tomek Walkuski
2009-12-06 20:49     ` Maciej Sobczak
2009-12-06 21:13       ` Tomek Walkuski
2009-12-06 15:59 ` Stephen Leake
2009-12-06 16:52   ` Tomek Walkuski
2009-12-07  6:55     ` Stephen Leake
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox