jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r547606 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/BundleDbPersistenceManager.java
Date Fri, 15 Jun 2007 10:43:49 GMT
Author: jukka
Date: Fri Jun 15 03:43:48 2007
New Revision: 547606

URL: http://svn.apache.org/viewvc?view=rev&rev=547606
Log:
JCR-972: Use the correct table name in consistency check.

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/BundleDbPersistenceManager.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/BundleDbPersistenceManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/BundleDbPersistenceManager.java?view=diff&rev=547606&r1=547605&r2=547606
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/BundleDbPersistenceManager.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/BundleDbPersistenceManager.java
Fri Jun 15 03:43:48 2007
@@ -674,9 +674,13 @@
         DataInputStream din = null;
         try {
             if (getStorageModel() == SM_BINARY_KEYS) {
-                stmt = con.prepareStatement("select NODE_ID, BUNDLE_DATA from BUNDLE");
+                stmt = con.prepareStatement(
+                        "select NODE_ID, BUNDLE_DATA from "
+                        + schemaObjectPrefix + "BUNDLE");
             } else {
-                stmt = con.prepareStatement("select NODE_ID_HI, NODE_ID_LO, BUNDLE_DATA from
BUNDLE");
+                stmt = con.prepareStatement(
+                        "select NODE_ID_HI, NODE_ID_LO, BUNDLE_DATA from "
+                        + schemaObjectPrefix + "BUNDLE");
             }
             stmt.execute();
             rs = stmt.getResultSet();



Mime
View raw message