Re: [PATCH] No PANIC on failing store_load()

Willy Mularto <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <CAChGr4EqM34Maz9dOstddhPX_BSrJ5d+C11yToVHV8ojnUB_TA@mail.gmail.com>
Sorry,  it doesn't mean setting default value during table creation right?
Because this approach will still might be interupted by user's value.
Thanks.
On 17 Sep 2013 21:57, "Stipe Tolj" <[email protected]> wrote:

> Am 17.09.2013 16:54, schrieb Willy Mularto:
>
>> Thanks for your review. The other approach is to override the sms_type
>> value during the INSERT.
>>
>
> yep, most DBMSs allow setting "default values", in case the INSERT
> statement does not insert a specific value for the field. That was my idea.
> It's cleaner, and leaves the value injection to the DB layer.
>
> Stipe
>
> --
> ------------------------------**------------------------------**-------
> Kölner Landstrasse 419
> 40589 Düsseldorf, NRW, Germany
>
> tolj.org system architecture      Kannel Software Foundation (KSF)
> http://www.tolj.org/              http://www.kannel.org/
>
> mailto:st_{at}_tolj.org           mailto:stolj_{at}_kannel.org
> ------------------------------**------------------------------**-------
>
>
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.