Skip Menu |

This queue is for tickets about the DBD-SQLite CPAN distribution.

Report information
The Basics
Id: 61958
Status: resolved
Priority: 0/
Queue: DBD-SQLite

People
Owner: Nobody in particular
Requestors: mkanat [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.31
Fixed in: (no value)



Subject: REGEXP should return NULL when one of its arguments is NULL
The default "regexp" implementation in DBD::SQLite currently throws a warning if it gets "undef" for either argument. Instead, I think it should return NULL as most SQL functions do in that situation.
Thanks. Patched in the trunk. On Thu Oct 07 04:55:16 2010, MKANAT wrote: Show quoted text
> The default "regexp" implementation in DBD::SQLite currently throws a > warning if it gets "undef" for either argument. Instead, I think it > should return NULL as most SQL functions do in that situation.
DBD::SQLite 1.32_01 with this fix is out. Thanks. On 2010-11-14 Sun 01:19:24, ISHIGAKI wrote: Show quoted text
> Thanks. Patched in the trunk. > > On Thu Oct 07 04:55:16 2010, MKANAT wrote:
> > The default "regexp" implementation in DBD::SQLite currently throws a > > warning if it gets "undef" for either argument. Instead, I think it > > should return NULL as most SQL functions do in that situation.
>