Skip to content

Commit b810395

Browse files
committed
add some const
1 parent 2024c1f commit b810395

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/connection/manager.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ export class SQLJobManager {
9191
const selected = this.jobs[this.selectedJob]
9292
if (SQLJobManager.jobSupport && selected) {
9393
// 2147483647 is NOT arbitrary. On the server side, this is processed as a Java
94-
// int. This is the largest number available without overflow
95-
let rowsToFetch = 2147483647;
96-
let results = await selected.job.query<T>(query).run(rowsToFetch);
94+
// int. This is the largest number available without overflow (Integer.MAX_VALUE)
95+
const rowsToFetch = 2147483647;
96+
const results = await selected.job.query<T>(query).run(rowsToFetch);
9797
return results.data;
9898
} else {
9999
const instance = getInstance();

0 commit comments

Comments
 (0)