Skip to content

Commit 91a403a

Browse files
committed
Fixed an issue when calling restartAt() on a search of a folder with a large number of file entries (10K+).
Update to snapshot version.
1 parent 0466453 commit 91a403a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<dependency>
2929
<groupId>org.filesys</groupId>
3030
<artifactId>jfileserver</artifactId>
31-
<version>1.3.15</version>
31+
<version>1.3.16-SNAPSHOT</version>
3232
</dependency>
3333

3434
<!-- H2 JDBC -->

src/main/java/org/filesys/server/filesys/db/h2/H2SQLDBInterface.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1831,7 +1831,7 @@ public DBSearchContext startSearch(int dirId, String searchPath, int attrib, Fil
18311831

18321832
// Get a connection to the database
18331833
conn = getConnection();
1834-
pStmt = conn.prepareStatement(sql.toString());
1834+
pStmt = conn.prepareStatement(sql.toString(), ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);
18351835

18361836
setParams(pStmt, params);
18371837

0 commit comments

Comments
 (0)