|
From: SVN by r. <sv...@ca...> - 2009-12-17 15:59:27
|
Author: roy
Date: 2009-12-17 16:59:15 +0100 (Thu, 17 Dec 2009)
New Revision: 445
Modified:
src/main/java/nl/improved/sqlclient/commands/DumpCommand.java
Log:
oops.. files became empty ;(
Modified: src/main/java/nl/improved/sqlclient/commands/DumpCommand.java
===================================================================
--- src/main/java/nl/improved/sqlclient/commands/DumpCommand.java 2009-12-17 15:47:07 UTC (rev 444)
+++ src/main/java/nl/improved/sqlclient/commands/DumpCommand.java 2009-12-17 15:59:15 UTC (rev 445)
@@ -250,11 +250,13 @@
ch[index] = chars.charAt(i);
if (ch[index] != 19 && ch[index] != 24 && ch[index] != 25 && ch[index] != 26
&& ch[index] != 27) {
- } else if (ch[index] == 28 || ch[index] == 29) {
- ch[index]='\'';
- index++;
- } else {
- index++;
+ if (ch[index] == 28 || ch[index] == 29) {
+ ch[index]='\'';
+ warnings++;
+ index++;
+ } else {
+ index++;
+ }
}
}
if (index == chars.length()) {
|