[asterisk-users] Asterisk and Dabatase

Philipp Kempgen philipp.kempgen at amooma.de
Sun Dec 21 13:07:05 CST 2008


Tilghman Lesher schrieb:
> On Sunday 21 December 2008 12:08:17 Mike wrote:
>> Thanks, I appreciate getting the update on 1.6 with regards to the DB
>> functions (and, for that matter, on the hints too).  Wouldn't using "MYSQL
>> Disconnect" handle the ressources as well (if, of course, called when
>> needed)?
> 
> The Disconnect command only frees the resources associated with the
> connection.  The Clear command is needed to destroy resources associated with
> any outstanding query.  Of course, if you get a hangup prior to completing
> either of these cleanup commands (and you aren't explicitly handling those in
> the "h" extension), you'll get a resource leak.

That's why the MySQL functions should either be fixed or removed.
They make it too easy to shoot yourself in the foot.

   Philipp Kempgen

-- 
http://www.das-asterisk-buch.de  -  http://www.the-asterisk-book.com
Amooma GmbH - Bachstr. 126 - 56566 Neuwied  ->  http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
-- 



More information about the asterisk-users mailing list