mysql dlr fixes
Stipe Tolj <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Organization | Wapme Systems AG |
| Message-ID | <[email protected]> |
Hi Andreas, Hi others
we recently changed this in gw/dlr.c:
{
#ifdef DLR_MYSQL
mysql_close(connection);
- if (!mysql_errno(connection))
- error(0,"MYSQL: %s", mysql_error(connection));
#endif
}
Hmmm, don't we need some constructs to check if the mysql_close() call
has been successfull?! And if this is not the way to do it (AFAIK,
this has been taken from a mysql doc example by myself) how should we
do this?
Stipe
[email protected]
-------------------------------------------------------------------
Wapme Systems AG
Münsterstr. 248
40470 Düsseldorf
Tel: +49-211-74845-0
Fax: +49-211-74845-299
E-Mail: [email protected]
Internet: http://www.wapme-systems.de
-------------------------------------------------------------------
wapme.net - wherever you are