Re: [PATCH] No PANIC on failing store_load()
Stipe Tolj <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Organization | Kannel Software Foundation (KSF) |
| Message-ID | <[email protected]> |
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
-------------------------------------------------------------------