summaryrefslogtreecommitdiff
path: root/src/main/java/com/amazon/carbonado
diff options
context:
space:
mode:
authorBrian S. O'Neill <bronee@gmail.com>2006-12-11 22:39:09 +0000
committerBrian S. O'Neill <bronee@gmail.com>2006-12-11 22:39:09 +0000
commit6edaf548ee6e4928c51e1dbe049016b0966fd283 (patch)
treeddde1492f47445ad9c98e798c009128b9a901c29 /src/main/java/com/amazon/carbonado
parentf7a5f124ba999183aad72c8904c345e2fcafbb21 (diff)
Removed call to get index metadata in JDBC repository.
Diffstat (limited to 'src/main/java/com/amazon/carbonado')
-rw-r--r--src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableIntrospector.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableIntrospector.java b/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableIntrospector.java
index c8ebfa8..8cb3715 100644
--- a/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableIntrospector.java
+++ b/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableIntrospector.java
@@ -370,9 +370,12 @@ public class JDBCStorableIntrospector extends StorableIntrospector {
}
// Gather index info...
- IndexInfo[] indexInfo;
+ IndexInfo[] indexInfo = new IndexInfo[0];
boolean hasIndexInfo = false;
+ /* Oracle driver has a bug that always causes an analyze to run when
+ requesting index info. Checking indexes is not that important so
+ don't bother checking. Revisit if Oracle bug ever gets fixed.
gatherIndexInfo: {
if (resolvedTableName == null) {
indexInfo = new IndexInfo[0];
@@ -449,6 +452,7 @@ public class JDBCStorableIntrospector extends StorableIntrospector {
indexInfo = infoList.toArray(new IndexInfo[0]);
hasIndexInfo = true;
}
+ */
// Now verify that primary keys match.