Mercurial > hg > monetdb-java
changeset 586:ac5e97fc812d
Make SQLcopyinto test work onder monetdbd
It opens a new MAPI connection but didn't set the database name.
This works with standalone mserver5, but not with monetdbd.
author | Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com> |
---|---|
date | Fri, 05 Nov 2021 16:05:46 +0100 (2021-11-05) |
parents | 05a705ec9a69 |
children | fca22b72ce7e |
files | tests/JDBC_API_Tester.java |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/JDBC_API_Tester.java +++ b/tests/JDBC_API_Tester.java @@ -5014,8 +5014,11 @@ final public class JDBC_API_Tester { int port = Integer.parseInt(con.getClientInfo("port")); String login = con.getClientInfo("user"); String passw = con.getClientInfo("password"); + + String database = con.getClientInfo("database"); + server.setDatabase(database); + // sb.append("host: " + host + " port: " + port + " login: " + login + " passwd: " + passw + "\n"); - sb.append("Before connecting to MonetDB server via MapiSocket\n"); List<String> warning = server.connect(host, port, login, passw); if (warning != null) {