Skip to content

Commit

Permalink
Committed the database changes more frequently.
Browse files Browse the repository at this point in the history
I increased the number of commit operations from one to eight. Several small commits seem to be more reliable that a single huge commit.

Made Git ignore the files that ANT automatically generates for org.hsqldb.

This commit belongs to issue #290.
  • Loading branch information
reprogrammer committed Aug 5, 2011
1 parent 724e29e commit 17c9d8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ public void loadCSVToSQL(String filePath) throws IOException, SQLException {
if (progress % 8000 == 0) {
progress= 0;
System.out.println();
connection.commit();
}
}
}
Expand Down
1 change: 1 addition & 0 deletions plug-ins/org.hsqldb/ant/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
downloads/

0 comments on commit 17c9d8e

Please sign in to comment.