db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eranda JIRA <erandaj...@gmail.com>
Subject Re: values SYSCS_UTIL.SYSCS_GET_RUNTIMESTATISTICS() returns null
Date Sat, 26 Dec 2009 04:31:24 GMT
Hi Knut,
Thanks Knut,
You are correct runtime statistcs not tured on when call
SYSCS_GET_RUNTIMESTATISTICS.
And after calling SYSCS_SET_RUNTIMESTATISTICS() the probem was fixed.
Thanks
Eranda



On Sat, Dec 26, 2009 at 3:46 AM, Knut Anders Hatlen <Knut.Hatlen@sun.com>wrote:

>  Eranda Sooriyabandara <070468d@gmail.com> writes:
>
> > Hi Kathey,
> > I saw your test conversion of  scrollCursors1.sql and the related issue
> > values SYSCS_UTIL.SYSCS_GET_RUNTIMESTATISTICS() returns null in test
> > ScrollCursors1Test when run against network (
> > http://issues.apache.org/jira/browse/DERBY-2553). When I was converting
> > outerjoin.sql to JUnit (https://issues.apache.org/jira/browse/DERBY-4424)
> I
> > face the same problem and not solved yet.
> > Can you help me for reasoning for it being null.
>
> Hi Eranda,
>
> It looks like only the test case testInnerJoinXform() enables collection
> of runtime statistics (that is, calls SYSCS_SET_RUNTIMESTATISTICS). I
> see that Bryan commented that the NullPointerException happens in
> testBug2897(). Does it work if you call SYSCS_SET_RUNTIMESTATISTICS
> first in that method too?
>
> --
> Knut Anders
>

Mime
View raw message