提交 3e1c0ac3 authored 作者: Thomas Mueller's avatar Thomas Mueller

ODBC: MS Access could not link to a table with unique index or primary key.

上级 bce81e63
...@@ -108,10 +108,11 @@ public class TestPgServer extends TestBase { ...@@ -108,10 +108,11 @@ public class TestPgServer extends TestBase {
assertEquals("NAME", rs.getString("COLUMN_NAME")); assertEquals("NAME", rs.getString("COLUMN_NAME"));
assertFalse(rs.next()); assertFalse(rs.next());
rs = dbMeta.getIndexInfo(null, null, "TEST", false, false); rs = dbMeta.getIndexInfo(null, null, "TEST", false, false);
rs.next(); // index info is currently disabled
assertEquals("TEST", rs.getString("TABLE_NAME")); // rs.next();
rs.next(); // assertEquals("TEST", rs.getString("TABLE_NAME"));
assertEquals("TEST", rs.getString("TABLE_NAME")); // rs.next();
// assertEquals("TEST", rs.getString("TABLE_NAME"));
assertFalse(rs.next()); assertFalse(rs.next());
rs = stat.executeQuery("select version(), pg_postmaster_start_time(), current_schema()"); rs = stat.executeQuery("select version(), pg_postmaster_start_time(), current_schema()");
rs.next(); rs.next();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论