提交 c46b8d77 authored 作者: Niklas Mehner's avatar Niklas Mehner

Fix mode in test

上级 f9f6a372
......@@ -37,7 +37,8 @@ public class TestConnection extends TestBase {
}
private void testSetInternalProperty() throws SQLException {
Connection conn = getConnection("clientInfoMySQL");
// Use MySQL-mode since this allows all property names (apart from h2 internal names).
Connection conn = getConnection("clientInfoMySQL;MODE=MySQL");
assertThrows(SQLClientInfoException.class, conn).setClientInfo("numServers", "SomeValue");
assertThrows(SQLClientInfoException.class, conn).setClientInfo("server23", "SomeValue");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论