[ 
https://issues.apache.org/jira/browse/DERBY-2553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12994738#comment-12994738
 ] 

Myrna van Lunteren commented on DERBY-2553:
-------------------------------------------

Interesting. I have been poking at DERBY-1342 for a couple of days now, and so 
I noticed a couple of different tests getting runtimestatistics fine with 
client. So I thought I'd double check this, and with the if (embedded) 
condition commented out, the test ran fine (built classes, insane). I also 
checked InbetweenTest, which has the same check for if (embedded) (as do a 
number of other tests).

Did you actually try it out also?

> values SYSCS_UTIL.SYSCS_GET_RUNTIMESTATISTICS() returns null in test 
> ScrollCursors1Test when run against network server 
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-2553
>                 URL: https://issues.apache.org/jira/browse/DERBY-2553
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Client
>    Affects Versions: 10.3.1.4
>            Reporter: Kathey Marsden
>            Priority: Minor
>              Labels: derby_triage10_8
>
> Call to runtimestatistics in the new test ScrollCursors1Test returns null 
> value when run against network server.
> Look for the reference to this bug near the following code.   I was not able 
> to reproduce this outside of the test.
>  rs2 = s.executeQuery("values SYSCS_UTIL.SYSCS_GET_RUNTIMESTATISTICS()");
>             rs2.next();
>                     
>             if (usingEmbedded())
>             {
>                 // not sure why I get a null rts with network server.
>                 RuntimeStatisticsParser rts = new 
> RuntimeStatisticsParser(rs2.getString(1));
>                 rs2.close();
>                 assertEquals(Connection.TRANSACTION_READ_COMMITTED, 
> rts.getIsolationLevel());
>                 assertTrue(rts.usedTableScan());
>                 assertTrue(rts.isScrollInsensitive());
>             }
>          

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to