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
Download (untitled) / with headers
text/plain 202b
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.
Download (untitled) / with headers
text/plain 284b
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.
Download (untitled) / with headers
text/plain 395b
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.
>


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.