Bug 40923 - Patch for row count of results to be returned as property in SQL task
Summary: Patch for row count of results to be returned as property in SQL task
Status: RESOLVED FIXED
Alias: None
Product: Ant
Classification: Unclassified
Component: Core tasks (show other bugs)
Version: 1.6.5
Hardware: Other other
: P2 enhancement (vote)
Target Milestone: 1.8.0
Assignee: Ant Notifications List
URL:
Keywords: PatchAvailable
Depends on:
Blocks:
 
Reported: 2006-11-07 17:46 UTC by Hunter Peress
Modified: 2009-08-24 07:25 UTC (History)
0 users



Attachments
Change to 1.6.5 SQLExec.java to add rowcountproperty (21.91 KB, text/plain)
2006-11-07 17:46 UTC, Hunter Peress
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hunter Peress 2006-11-07 17:46:01 UTC
Its very useful to know if your query returned any results. This patch to the
sql task allows this, and returns it in whatever property you supply via <sql
rowcountproperty="someprop"

This patch is optimized to work efficiently both when printing results and not
printing results
Comment 1 Hunter Peress 2006-11-07 17:46:34 UTC
Created attachment 19099 [details]
Change to 1.6.5 SQLExec.java to add rowcountproperty
Comment 2 Stefan Bodewig 2009-08-24 07:25:03 UTC
svn revision 807234