From cc9e7d5cfe73d11a3f433b8f75312fa7982b2d9f Mon Sep 17 00:00:00 2001 From: nithinkdb Date: Wed, 27 Sep 2023 11:00:50 -0700 Subject: [PATCH 1/2] Changed error message --- lib/DBSQLSession.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/DBSQLSession.ts b/lib/DBSQLSession.ts index 18b3c2b5..3632315c 100644 --- a/lib/DBSQLSession.ts +++ b/lib/DBSQLSession.ts @@ -105,7 +105,7 @@ function getQueryParameters( ) { throw new Thrift.TProtocolException( Thrift.TProtocolExceptionType.BAD_VERSION, - 'Server version does not support parameterized queries', + 'Parameterized operations are not supported by this server. Support will begin with server version DBR 14.1' ); } From 602b6ee9032368c0ca40e41cedcfd35ad37c032f Mon Sep 17 00:00:00 2001 From: Levko Kravets Date: Thu, 28 Sep 2023 10:02:41 +0300 Subject: [PATCH 2/2] Code style Signed-off-by: Levko Kravets --- lib/DBSQLSession.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/DBSQLSession.ts b/lib/DBSQLSession.ts index 3632315c..b8fa8ff4 100644 --- a/lib/DBSQLSession.ts +++ b/lib/DBSQLSession.ts @@ -105,7 +105,7 @@ function getQueryParameters( ) { throw new Thrift.TProtocolException( Thrift.TProtocolExceptionType.BAD_VERSION, - 'Parameterized operations are not supported by this server. Support will begin with server version DBR 14.1' + 'Parameterized operations are not supported by this server. Support will begin with server version DBR 14.1', ); }