db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Junjie Peng (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-3802) Convert "org.apache.derbyTesting.functionTests.tests.lang.optimizerOverrides.sql" to junit.
Date Sat, 09 Aug 2008 08:48:44 GMT

     [ https://issues.apache.org/jira/browse/DERBY-3802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Junjie Peng updated DERBY-3802:
-------------------------------

    Attachment: derby-3802-2.stat
                derby-3802-2.patch

Myrna, thanks for your verbose advices.
1. -comments. I have got correct results.
2. -update. I have read the reference, and I think, the test case "select * from t1 --derby-properties
index = t1_c1 
for update of c2, c1;" is just the same as "select * from t1 --derby-properties index = t1_c1

for update;" in jdbc statement. So, Line 118 - Line 124 and Line 139 - Line 145 in  optimizerOverrides.sql
can be ignored. Am I right?
3. -setup()/teardown(). I have tried to use CleanDatabaseSetup. It's really better.
4. -runtimestatistics. I have imported the tool RuntimeStatisticsParser. However, I don't
know what to do with it, its methods, such as usedDistinctScan(), usedHashJoin(), usedIndexRowToBaseRow(),
usedIndexScan(), usedIndexScan() and usedTableScan() all returned false. Then whether  is
it useless to use the tool?

Regards
Junjie

> Convert "org.apache.derbyTesting.functionTests.tests.lang.optimizerOverrides.sql" to
junit. 
> --------------------------------------------------------------------------------------------
>
>                 Key: DERBY-3802
>                 URL: https://issues.apache.org/jira/browse/DERBY-3802
>             Project: Derby
>          Issue Type: Test
>          Components: Test
>            Reporter: Junjie Peng
>            Assignee: Junjie Peng
>             Fix For: 10.1.3.2
>
>         Attachments: derby-3802-1.patch, derby-3802-2.patch, derby-3802-2.stat
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message