Skip to content

Commit 643aad3

Browse files
[PECO-1015] Changed error message to tell users which version of DBR will support parameterized queries. (#186)
* Changed error message * Code style Signed-off-by: Levko Kravets <levko.ne@gmail.com> --------- Signed-off-by: Levko Kravets <levko.ne@gmail.com> Co-authored-by: Levko Kravets <levko.ne@gmail.com>
1 parent b74dade commit 643aad3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/DBSQLSession.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ function getQueryParameters(
105105
) {
106106
throw new Thrift.TProtocolException(
107107
Thrift.TProtocolExceptionType.BAD_VERSION,
108-
'Server version does not support parameterized queries',
108+
'Parameterized operations are not supported by this server. Support will begin with server version DBR 14.1',
109109
);
110110
}
111111

0 commit comments

Comments
 (0)