Subject | Re: [firebird-support] Re: DayOfWeek equivalent |
---|---|
Author | Richard Wesley |
Post date | 2006-05-24T17:08:12Z |
On May 23, 2006, at 17:31, Adam wrote:
"SQL Exception", not "runtime exception"!
run my test suite and post what it does (the test suite exercises all
the extract codes with a variety of dates).
No one told me in school that CS was an empirical discipline ;-)
________________________________________________________
Richard Wesley Software Engineer
Tableau Software
http://www.tableausoftware.com/ hawkfish
tableausoftware com
>> Is this a change for FB2? TFB p160 warns about EXTRACT(NULL).TFB simply says that it is an "exception" by which I assumed it meant
>
> It does say that, hmmm.
>
> The behaviour I describe is FB 1.5(.3 Classic on WinXP through iSQL).
> There is nothing that I have seen in the FB 2 release notes that
> indicates any change in behaviour for Extract.
>
> I don't imagine it would crash on null by design, the function in
> 1.5.3 behaves as I would expect with respect to null. Perhaps it was
> an issue with an older version of Firebird.
"SQL Exception", not "runtime exception"!
> Here we go:Very interesting. When I get a moment I will remove the guards and
>
> Bug # 538201
> fixed by Claudio Valderrama
> (1.5) Crash with extract from null as date.
>
> FB 1.5 release notes p132.
run my test suite and post what it does (the test suite exercises all
the extract codes with a variety of dates).
No one told me in school that CS was an empirical discipline ;-)
________________________________________________________
Richard Wesley Software Engineer
Tableau Software
http://www.tableausoftware.com/ hawkfish
tableausoftware com