Re: Possible BUG in dlr.c (sdb_callbackk_add() CVS)
David Chkhartishvili <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Organization | MagtiCom Ltd. |
| Message-ID | <[email protected]> |
I've added three lines to dlr.c for debugging: info(0,"p[0] -- %s",p[0]); info(0,"p[1] -- %s",p[1]); info(0,"p[2] -- %s",p[2]); Here is output from bearerbox: 2002-08-23 13:48:39 [5] INFO: p[0] -- 3 2002-08-23 13:48:39 [5] INFO: p[1] -- 1 2002-08-23 13:48:39 [5] INFO: p[2] -- http://localhost/dlr.php?type=%d&id=11 How come, I got just one field in p[0] and you got 3 fields? Stipe Tolj wrote: >I still thing a select that results in one row, this the DLR should >here is only in p[0]. > >p[i] is a row, not the attribute. > >Think of a situation where you would have 5 rows. Then how may you >fetch the 5 rows with 3 attributes each?! > >Stipe > >[email protected] >------------------------------------------------------------------- >Wapme Systems AG > >Vogelsanger Weg 80 >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 > > > -- David Chkhartishvili Tel: 995 99 182418