[ https://issues.apache.org/jira/browse/TRAFODION-1726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15086290#comment-15086290 ]
ASF GitHub Bot commented on TRAFODION-1726: ------------------------------------------- Github user arvind-narain commented on a diff in the pull request: https://github.com/apache/incubator-trafodion/pull/243#discussion_r49011034 --- Diff: dcs/src/main/java/org/trafodion/dcs/servermt/serverHandler/ServerApiGetCatalogs.java --- @@ -353,7 +353,7 @@ else if (columnType == ServerConstants.SQL_ROWVER){ case ServerConstants.SQL_API_SQLSTATISTICS: if(LOG.isDebugEnabled()) LOG.debug(serverWorkerName + ". getIndexInfo (catalogNm :" + catalogNm + ", schemaNm :" + schemaNm + ", tableNm :" + tableNm + ", uniqueness :" + ((uniqueness == 1)? true : false) + ", true)"); - rs = dbmd.getIndexInfo(catalogNm, schemaNm, tableNm, (uniqueness == 1)? true : false, true); + rs = dbmd.getIndexInfo(catalogNm, schemaNm, tableNm, (uniqueness == ServerConstants.SQL_INDEX_ALL)? true : false, true); --- End diff -- Thanks for the updates. Here shouldn't this be SQL_INDEX_UNIQUE (0 - like your previous change). You could update line 355 also. > DatabaseMetaData.getIndexInfo does not work > ------------------------------------------- > > Key: TRAFODION-1726 > URL: https://issues.apache.org/jira/browse/TRAFODION-1726 > Project: Apache Trafodion > Issue Type: Bug > Components: client-jdbc-t2 > Reporter: Kevin Xu > Assignee: Kevin Xu > > DatabaseMetaData.getIndexInfo("TRAFODION", "SEABASE", "OSD28DL_Z1", false, > true) -- This message was sent by Atlassian JIRA (v6.3.4#6332)