Skip to content

Commit

Permalink
2.2.4
Browse files Browse the repository at this point in the history
Fixed problem with SQLUtils.

git-svn-id: https://oswing.svn.sourceforge.net/svnroot/oswing/trunk@361 e1d01cdd-142e-0410-ac95-ccc3d9d4cfaf
  • Loading branch information
mcarniel committed Oct 24, 2011
1 parent 28e1750 commit f597af8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
Binary file modified classes/demo10/demo10.jar
Binary file not shown.
7 changes: 7 additions & 0 deletions relnotes.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@


Release Notes 2.4.4
-------------------

Fixed problem with SQLUtils.



Release Notes 2.4.3
-------------------

Expand Down
4 changes: 2 additions & 2 deletions src/org/openswing/swing/server/QueryUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -2166,8 +2166,8 @@ private static ArrayList getColumns(String sql) {
int parenthesis = 0;
while((comma=sql.indexOf(",",lastIndex))>0) {
token = sql.substring(lastIndex,comma).trim();
parenthesis = parenthesis + new StringTokenizer(token,"(").countTokens();
parenthesis = parenthesis - new StringTokenizer(token,")").countTokens();
parenthesis = parenthesis + new StringTokenizer(" "+token+" ","(").countTokens();
parenthesis = parenthesis - new StringTokenizer(" "+token+" ",")").countTokens();
if (parenthesis>0) {
lastIndex = comma+1;
continue;
Expand Down

0 comments on commit f597af8

Please sign in to comment.