You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2013/03/21 08:52:10 UTC

[Bug 54737] New: Sqlexec task - Ant introduces additional space in results of sql fetch

https://issues.apache.org/bugzilla/show_bug.cgi?id=54737

            Bug ID: 54737
           Summary: Sqlexec task - Ant introduces additional space in
                    results of sql fetch
           Product: Ant
           Version: 1.8.3
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Other
          Assignee: notifications@ant.apache.org
          Reporter: sundeep@sundeepmachado.com
    Classification: Unclassified

The SQL exec task now introduces an additional column in the results.

Eg:- Ant 1.6.5 DB O/p -

     Ant,is,great

     Ant 1.8.3 DB O/p -

     Ant ,is ,great

This is also seen when firing an sql script file. In this result of an
enhancement?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54737] Sqlexec task - Ant introduces additional space in results of sql fetch

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54737

--- Comment #1 from Sundeep Machado <su...@sundeepmachado.com> ---
The SQL exec task now introduces an additional space before comma in the
results

(In reply to comment #0)
> The SQL exec task now introduces an additional column in the results.
> 
> Eg:- Ant 1.6.5 DB O/p -
> 
>      Ant,is,great
> 
>      Ant 1.8.3 DB O/p -
> 
>      Ant ,is ,great
> 
> This is also seen when firing an sql script file. In this result of an
> enhancement?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54737] Sqlexec task - Ant introduces additional space in results of sql fetch

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54737

Antoine Levy-Lambert <an...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #2 from Antoine Levy-Lambert <an...@apache.org> ---
I have tried the sql task with Ant 1.8.3 and with Ant 1.7.0 and with Ant 1.9.0
I have used these attributes :

onerror="abort" keepformat="true" delimiter="/" delimitertype="row"
print="true"

In all cases the fields are separated only by a "," comma without spaces.

I cannot reproduce your issue.

I am marking it resolved, if you have more details you can reopen it, make sure
to include a snipped of your build file. Better still you can email the user
list with your issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.