Skip to content

Commit

Permalink
use this.acquire method instead of this.pool.acquire (like in all oth…
Browse files Browse the repository at this point in the history
…er query methods)
  • Loading branch information
pj-spoelders committed Nov 6, 2024
1 parent 1accfb7 commit be55790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/sql-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export class ExasolDriver implements IExasolDriver {
if (this.closed) {
return Promise.reject(ErrClosed);
}
const connection = this.pool.acquire();
const connection = await this.acquire();
if (connection) {
return connection
.sendCommandWithNoResult(cmd)
Expand Down

0 comments on commit be55790

Please sign in to comment.