db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Weerasiri (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-4561) Help in ij should fit in 80 columns terminal
Date Thu, 18 Mar 2010 19:42:27 GMT

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

Denis Weerasiri commented on DERBY-4561:
----------------------------------------

Hi Sylvain,
One test seems to get failed. The following is the information regarding that in derbytools.sum.
Does this give any clue to tackle what the error is?

*** Start: ij jdk1.6.0_06 derbytools:derbytools 2010-03-18 20:13:20 ***
100 del
<   REMOVE name;                 -- removes the named previously prepared statement
100a100,101
>   REMOVE name;                 -- removes the named previously prepared
>                                -- statement
110 del
<                                -- the default is a forward-only cursor with
110a111
>                                -- the default is a forward-only cursor with 
113 del
<   FIRST name;                  -- gets the first row from the named scroll cursor
113a114,115
>   FIRST name;                  -- gets the first row from the named scroll
>                                -- cursor
121 del
<                                -- last row.)
121a123
>                                -- last row.) 
129 del
<   GETCURRENTROWNUMBER name;    -- returns the row number for the current position
130 del
<                                -- of the named scroll cursor
130a131,132
>   GETCURRENTROWNUMBER name;    -- returns the row number for the current
>                                -- position of the named scroll cursor
132 del
<                                -- positioned on a row.)
132a134
>                                -- positioned on a row.) 
Test Failed.


Thanks,
Denis Weerasiri

> Help in ij should fit in 80 columns terminal
> --------------------------------------------
>
>                 Key: DERBY-4561
>                 URL: https://issues.apache.org/jira/browse/DERBY-4561
>             Project: Derby
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Sylvain Leroux
>            Priority: Trivial
>         Attachments: derby-4561-patch-1.diff, derby-4561-patch-2.diff
>
>
> In ij, some statements seem to assume 80 columns terminal to format their output (SHOW
FUNCTION, SHOW PROCEDURE).
> But not HELP.
> HELP should assume the same defaults in order to fit nicely in 80 columns terminal. An
other option would be to dynamically adjust the display to the real terminal width - but I
don't know if there is a portable way of doing this in Java.

-- 
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