Hello Timo.

We've done more tests with both of your patches and it seems to work fine.

You can upload it to GIT.

Thanks a lot !!!

Regards



De:        Timo Teras <timo.teras@iki.fi>
Para:        Timo Teras <timo.teras@iki.fi>
cc:        "SIP Router - Kamailio \(OpenSER\) and SIP Express Router \(SER\) -        Users Mailing List" <sr-users@lists.sip-router.org>
Fecha:        29/10/2012 20:09
Asunto:        Re: [SR-Users] db_sqlite bugs
Enviado por:        sr-users-bounces@lists.sip-router.org




On Mon, 29 Oct 2012 16:07:56 +0200 Timo Teras <timo.teras@iki.fi> wrote:

> I guess we should first try decltype if available and fall back to
> first row column type. However, this will fail too if the first row
> has NULL value for the column.
>
> The fundamental problem is that Kamailio DB API expects the driver to
> return stored type - which on sqlite is not fixed.
>
> Will try to get something sketched up soonish.

Can you try the attached patch if it fixes it? I compile tested it
only, but I believe this is the proper thing to do.

Thanks,
Timo
[anexo sqlite-computed-col-fix.patch eliminado por Pedro Antonio Vico Solano/AmperProgramas] _______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


ADVERTENCIA


Este mensaje y/o sus anexos, pueden contener información personal y confidencial cuyo uso, reproducción o distribución no autorizados están legalmente prohibidos. Por lo tanto, si Vd. no fuera su destinatario y, erróneamente, lo hubiera recibido, le rogamos que informe al remitente y lo borre de inmediato.

En cumplimiento de la Ley Orgánica 15/1999, de Protección de Datos de Carácter Personal le informamos de que su dirección de correo electrónico, así como sus datos personales y de empresa pasarán a formar parte de nuestro fichero de Gestión, y serán tratados con la única finalidad de mantenimiento de la relación adquirida con usted. Los datos personales que existen en nuestro poder están protegidos por nuestra Política de Seguridad, y no serán compartidos con ninguna otra empresa. Usted puede ejercitar los derechos de acceso, rectificación, cancelación y oposición dirigiéndose por escrito a la dirección arriba indicada.

This e-mail and its attachments may include confidential personal information which may be protected by any legal rules and cannot be used, copied, distributed or disclosed to any person without authorisation. If you are not the intended recipient and have received this e-mail by mistake, please advise the sender and erase it.

In compliance with the Spanish Organic Act 15/1999 on Personal Data Protection, we hereby inform you that your email address, as well as your personal and business information, will be included in our Management files and used solely for purposes corresponding to our commercial relationship. All personal data in our possession is protected by our Data Safety Policy and thus shall not be released to any other third party whatsoever. You may exercise your right to access, rectify, cancel and contest by writing to the address provided above.