Re: [PATCH] Re: [FYI] smsbox routing patch commited

Nisan Bloch <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
At 11:03 PM 11/19/02 +0100, Alexander Malysh wrote:
>(sorry forgot to include list to cc)
>Hi Stipe,
>
>the problem is with in octstr_get_cstr (see attached patch).
>This patch shall fix this issue , but break other things ;(
>Other solution is, to use octsr instead of C-strings in dlr_add. But I think
>  , return "(null)" in octstr_get_cstr is not clear ?


This is bad.. When did this creep into the CVS? "(null)" is *not* the same 
as  NULL. I remember the patch (that is using "(null)") been discussed on 
the list a while back, and I thought it was vetoed.
So I would vote +1 for this patch.

Nisan
>Alex
>
>On Tuesday 19 November 2002 22:42, Stipe Tolj wrote:
> > > mysql..
> > > most the entries are blank and some are "(null)", which could have to do
> > > with some of the octstr patches?
> >
> > hmm, ok, this may be the problem. As we all know blank "" is not NULL.
> > I'd expect the entries to be NULLed if no smsbox-id has been given. So
> > the question is why are there entries that are blanked ""?
> >
> > Maybe it's an upgrade problem of the table itself. When you migrated
> > to the "new" version, including the boxc_id field, you added another
> > field to the table, right?! So when you did this, maybe MySQL has
> > added the blanks to the existing entries in the table?!
> >
> > I'd recomment to update the table and alter it in that way that the
> > boxc_id should be NULLed everywhere.
> >
> > Then send messages with DLR request and check your table if the new
> > entries are NULLed or blanked for that specific field. If they are
> > NULLed everything is fine, if they are blanked, then I don't know
> > where the problem is, but there seems to be one.
> >
> > 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
>
>--
>Mit besten Grüßen aus Köln
>
>Dipl.-Ing.
>Alexander Malysh
>___________________________________
>
>Centrium GmbH
>Ehrenstrasse 2
>50672 Köln
>
>Fon: +49 (0221) 277 49 150
>Fax: +49 (0221) 277 49 109
>
>email: [email protected]
>web: http://www.centrium.de
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.