prevent needing analyze privilege when using getIndexInfo

Signed-off-by: nevafuse <nevafuse@gmail.com>
This commit is contained in:
nevafuse 2016-09-15 15:20:49 -04:00 committed by nevafuse
parent 459abd144e
commit 0634882b7c
1 changed files with 1 additions and 1 deletions

View File

@ -1173,7 +1173,7 @@ public class JDBCSessionIdManager extends AbstractSessionIdManager
boolean index1Exists = false;
boolean index2Exists = false;
try (ResultSet result = metaData.getIndexInfo(null, schemaName, tableName, false, false))
try (ResultSet result = metaData.getIndexInfo(null, schemaName, tableName, false, true))
{
while (result.next())
{