Mercurial > hg > monetdb-java
comparison tests/JDBC_API_Tester.java @ 932:f16966084980
In JdbcClient when running the \vsci or \vdbi or \vsi commands, we now suppress "42000 SELECT: insufficient privileges for ..." and "42000 SELECT: access denied for ..." error messages when the connected user does not have 'monetdb' or 'sysadmin' privileges, needed for some validations.
author | Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
---|---|
date | Thu, 07 Nov 2024 18:02:34 +0100 (5 months ago) |
parents | df18aa5c8a61 |
children | d416e9b6b3d0 |
comparison
equal
deleted
inserted
replaced
931:df18aa5c8a61 | 932:f16966084980 |
---|---|
770 "0 user true null User loginname to use when authenticating on the database server\n" + | 770 "0 user true null User loginname to use when authenticating on the database server\n" + |
771 "1 password true null Password to use when authenticating on the database server\n" + | 771 "1 password true null Password to use when authenticating on the database server\n" + |
772 "2 tls true null secure the connection using TLS\n" + | 772 "2 tls true null secure the connection using TLS\n" + |
773 "3 cert true null path to TLS certificate to authenticate server with\n"); | 773 "3 cert true null path to TLS certificate to authenticate server with\n"); |
774 } | 774 } |
775 | |
776 | 775 |
777 private void handleExecuteDDL(Statement stmt, String action, String objtype, String objname, String sql) { | 776 private void handleExecuteDDL(Statement stmt, String action, String objtype, String objname, String sql) { |
778 try { | 777 try { |
779 int response = stmt.executeUpdate(sql); | 778 int response = stmt.executeUpdate(sql); |
780 if (response != Statement.SUCCESS_NO_INFO) | 779 if (response != Statement.SUCCESS_NO_INFO) |