From be557907c45c893733f396d3d59342fa300db119 Mon Sep 17 00:00:00 2001 From: Pieterjan Spoelders Date: Wed, 6 Nov 2024 09:28:02 -0500 Subject: [PATCH] use this.acquire method instead of this.pool.acquire (like in all other query methods) --- src/lib/sql-client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/sql-client.ts b/src/lib/sql-client.ts index 17c6b93..809dbc9 100644 --- a/src/lib/sql-client.ts +++ b/src/lib/sql-client.ts @@ -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)