db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r566318 - in /db/derby/code/trunk/java: engine/org/apache/derby/diag/ engine/org/apache/derby/iapi/db/ engine/org/apache/derby/iapi/sql/dictionary/ engine/org/apache/derby/impl/sql/catalog/ engine/org/apache/derby/impl/sql/compile/ engine/o...
Date Wed, 15 Aug 2007 19:54:12 GMT
Author: djd
Date: Wed Aug 15 12:54:11 2007
New Revision: 566318

URL: http://svn.apache.org/viewvc?view=rev&rev=566318
Log:
DERBY-3012 Pass in TransactionController to DataDictionary.getTableDescriptor(String name).
Mainly a signature change, more changes needed to use the pass in transaction

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/diag/SpaceTable.java
    db/derby/code/trunk/java/engine/org/apache/derby/iapi/db/ConsistencyChecker.java
    db/derby/code/trunk/java/engine/org/apache/derby/iapi/db/OnlineCompress.java
    db/derby/code/trunk/java/engine/org/apache/derby/iapi/db/PropertyInfo.java
    db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/dictionary/DataDictionary.java
    db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/catalog/DD_Version.java
    db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.java
    db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/DropViewNode.java
    db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/QueryTreeNode.java
    db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/ConstraintInfo.java
    db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/CreateAliasConstantAction.java
    db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/CreateConstraintConstantAction.java
    db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/CreateIndexConstantAction.java
    db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/DropStatisticsConstantAction.java
    db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/DropTableConstantAction.java
    db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/DropViewConstantAction.java
    db/derby/code/trunk/java/storeless/org/apache/derby/impl/storeless/EmptyDictionary.java
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/T_ConsistencyChecker.java
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/TestPropertyInfo.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/diag/SpaceTable.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/diag/SpaceTable.java?view=diff&rev=566318&r1=566317&r2=566318
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/diag/SpaceTable.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/diag/SpaceTable.java Wed Aug 15 12:54:11
2007
@@ -138,8 +138,8 @@
 			schemaName = lcc.getCurrentSchemaName();
 
         // if schemaName is null, it gets the default schema
-        SchemaDescriptor sd = dd.getSchemaDescriptor(schemaName, lcc.getTransactionExecute(),
true);
-        TableDescriptor td = dd.getTableDescriptor(tableName,sd);
+        SchemaDescriptor sd = dd.getSchemaDescriptor(schemaName, tc, true);
+        TableDescriptor td = dd.getTableDescriptor(tableName,sd, tc);
         if (td == null)  // table does not exist
         {
             conglomTable = new ConglomInfo[0];   // make empty conglom table
@@ -191,8 +191,9 @@
      		if (!initialized)
     		{
 				LanguageConnectionContext lcc = ConnectionUtil.getCurrentLCC();
-               getConglomInfo(lcc);
                 tc = lcc.getTransactionExecute();
+               getConglomInfo(lcc);
+                
 			    initialized = true;
 			    currentRow = -1;
 		    }

Modified: db/derby/code/trunk/java/engine/org/apache/derby/iapi/db/ConsistencyChecker.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/iapi/db/ConsistencyChecker.java?view=diff&rev=566318&r1=566317&r2=566318
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/iapi/db/ConsistencyChecker.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/iapi/db/ConsistencyChecker.java Wed Aug
15 12:54:11 2007
@@ -143,7 +143,7 @@
             ExecutionFactory ef = lcc.getLanguageConnectionFactory().getExecutionFactory();
 
             sd = dd.getSchemaDescriptor(schemaName, tc, true);
-            td = dd.getTableDescriptor(tableName, sd);
+            td = dd.getTableDescriptor(tableName, sd, tc);
 
             if (td == null)
             {

Modified: db/derby/code/trunk/java/engine/org/apache/derby/iapi/db/OnlineCompress.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/iapi/db/OnlineCompress.java?view=diff&rev=566318&r1=566317&r2=566318
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/iapi/db/OnlineCompress.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/iapi/db/OnlineCompress.java Wed Aug 15
12:54:11 2007
@@ -272,7 +272,7 @@
                 data_dictionary.getSchemaDescriptor(
                     schemaName, nested_tc, true);
             TableDescriptor td = 
-                data_dictionary.getTableDescriptor(tableName, sd);
+                data_dictionary.getTableDescriptor(tableName, sd, nested_tc);
             nested_tc = 
                 tc.startNestedUserTransaction(false);
 
@@ -474,7 +474,7 @@
         SchemaDescriptor sd = 
             data_dictionary.getSchemaDescriptor(schemaName, tc, true);
         TableDescriptor  td = 
-            data_dictionary.getTableDescriptor(tableName, sd);
+            data_dictionary.getTableDescriptor(tableName, sd, tc);
 
         if (td == null)
         {
@@ -533,7 +533,7 @@
         SchemaDescriptor sd = 
             data_dictionary.getSchemaDescriptor(schemaName, tc, true);
         TableDescriptor  td = 
-            data_dictionary.getTableDescriptor(tableName, sd);
+            data_dictionary.getTableDescriptor(tableName, sd, tc);
 
         if (td == null)
         {

Modified: db/derby/code/trunk/java/engine/org/apache/derby/iapi/db/PropertyInfo.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/iapi/db/PropertyInfo.java?view=diff&rev=566318&r1=566317&r2=566318
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/iapi/db/PropertyInfo.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/iapi/db/PropertyInfo.java Wed Aug 15
12:54:11 2007
@@ -155,7 +155,7 @@
 		if ( !isIndex)
 		{
 			// get the TableDescriptor for the table
-			TableDescriptor td = dd.getTableDescriptor(conglomerateName, sd);
+			TableDescriptor td = dd.getTableDescriptor(conglomerateName, sd, tc);
 
 			// Return an empty Properties if table does not exist or if it is for a view.
 			if ((td == null) || td.getTableType() == TableDescriptor.VIEW_TYPE) { return new Properties();
}

Modified: db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/dictionary/DataDictionary.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/dictionary/DataDictionary.java?view=diff&rev=566318&r1=566317&r2=566318
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/dictionary/DataDictionary.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/dictionary/DataDictionary.java
Wed Aug 15 12:54:11 2007
@@ -415,14 +415,14 @@
 	 * @param tableName	The name of the table to get the descriptor for
 	 * @param schema	The descriptor for the schema the table lives in.
 	 *			If null, use the current (default) schema.
-	 *
+	 * @param tc Transaction context.
 	 * @return	The descriptor for the table, null if table does not
 	 *		existe.
 	 *
 	 * @exception StandardException		Thrown on failure
 	 */
 	public TableDescriptor		getTableDescriptor(String tableName,
-					SchemaDescriptor schema)
+					SchemaDescriptor schema, TransactionController tc)
 						throws StandardException;
 
 	/**

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/catalog/DD_Version.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/catalog/DD_Version.java?view=diff&rev=566318&r1=566317&r2=566318
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/catalog/DD_Version.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/catalog/DD_Version.java Wed
Aug 15 12:54:11 2007
@@ -559,7 +559,7 @@
 		SchemaDescriptor		sd = bootingDictionary.getSystemSchemaDescriptor();
 		TableDescriptor			td = bootingDictionary.getTableDescriptor(
 											crf.getCatalogName(),
-											sd);
+											sd, tc);
 		ConglomerateDescriptor[]	cds = td.getConglomerateDescriptors();
 		for (int index = 0; index < cds.length; index++)
 		{

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.java?view=diff&rev=566318&r1=566317&r2=566318
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.java
Wed Aug 15 12:54:11 2007
@@ -1769,14 +1769,13 @@
 	 * @param tableName	The name of the table to get the descriptor for
 	 * @param schema	The descriptor for the schema the table lives in.
 	 *			If null, use the system schema.
-	 *
 	 * @return	The descriptor for the table, null if table does not
 	 *		exist.
 	 *
 	 * @exception StandardException		Thrown on failure
 	 */
 	public TableDescriptor		getTableDescriptor(String tableName,
-					SchemaDescriptor schema)
+					SchemaDescriptor schema, TransactionController tc)
 			throws StandardException
 	{
 		TableDescriptor		retval = null;
@@ -6664,7 +6663,7 @@
 		SchemaDescriptor	sd = getSystemSchemaDescriptor();
 		String columnName;
 
-		TableDescriptor td = getTableDescriptor(rowFactory.getCatalogName(), sd);
+		TableDescriptor td = getTableDescriptor(rowFactory.getCatalogName(), sd, tc);
 
 		theColumn = columns[columnNumber - 1];	// from 1 to 0 based
 		ColumnDescriptor cd = makeColumnDescriptor(theColumn, columnNumber, td );
@@ -6732,7 +6731,7 @@
 		}
 		else
 		{
-			td = getTableDescriptor( rowFactory.getCatalogName(), sd );
+			td = getTableDescriptor( rowFactory.getCatalogName(), sd, tc );
 			conglomID = td.getHeapConglomerateId();
 		}
 
@@ -6770,7 +6769,7 @@
 	{
 		ExecRow				templateRow = rowFactory.makeEmptyRow();
 		SchemaDescriptor	sd = getSystemSchemaDescriptor( );
-		long				conglomID = getTableDescriptor( rowFactory.getCatalogName(), sd ).getHeapConglomerateId();
+		long				conglomID = getTableDescriptor( rowFactory.getCatalogName(), sd, tc ).getHeapConglomerateId();
 
 		widenConglomerate( templateRow, newColumnIDs, conglomID, tc );
 	}
@@ -8044,7 +8043,7 @@
 			}
 
 			TableDescriptor td = getTableDescriptor(ti.getTableName(),
-													getSystemSchemaDescriptor());
+													getSystemSchemaDescriptor(), null);
 
 			// It's possible that the system table is not there right
 			// now. This can happen, for example, if we're in the

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/DropViewNode.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/DropViewNode.java?view=diff&rev=566318&r1=566317&r2=566318
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/DropViewNode.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/DropViewNode.java Wed
Aug 15 12:54:11 2007
@@ -77,7 +77,8 @@
 		CompilerContext cc = getCompilerContext();
 				
 		TableDescriptor td = dd.getTableDescriptor(getRelativeName(), 
-					getSchemaDescriptor());
+					getSchemaDescriptor(),
+                    getLanguageConnectionContext().getTransactionCompile());
 	
 		/* 
 		 * Statement is dependent on the TableDescriptor 

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/QueryTreeNode.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/QueryTreeNode.java?view=diff&rev=566318&r1=566317&r2=566318
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/QueryTreeNode.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/QueryTreeNode.java Wed
Aug 15 12:54:11 2007
@@ -1224,7 +1224,8 @@
 			return null;
 
 		//it is not a temporary table, so go through the data dictionary to find the physical persistent
table
-		TableDescriptor td = getDataDictionary().getTableDescriptor(tableName, schema);
+		TableDescriptor td = getDataDictionary().getTableDescriptor(tableName, schema,
+                this.getLanguageConnectionContext().getTransactionCompile());
 		if (td == null || td.isSynonymDescriptor())
 			return null;
 		return td;

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/ConstraintInfo.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/ConstraintInfo.java?view=diff&rev=566318&r1=566317&r2=566318
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/ConstraintInfo.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/ConstraintInfo.java
Wed Aug 15 12:54:11 2007
@@ -229,7 +229,7 @@
 		}
 	
 		return dd.getTableDescriptor(tableName, 
-				getReferencedTableSchemaDescriptor(dd));
+				getReferencedTableSchemaDescriptor(dd), null);
 	}
 
 	/**

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/CreateAliasConstantAction.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/CreateAliasConstantAction.java?view=diff&rev=566318&r1=566317&r2=566318
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/CreateAliasConstantAction.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/CreateAliasConstantAction.java
Wed Aug 15 12:54:11 2007
@@ -242,7 +242,7 @@
 		break;
 		case AliasInfo.ALIAS_TYPE_SYNONYM_AS_CHAR:
 			// If target table/view exists already, error.
-			TableDescriptor targetTD = dd.getTableDescriptor(aliasName, sd);
+			TableDescriptor targetTD = dd.getTableDescriptor(aliasName, sd, tc);
 			if (targetTD != null)
 			{
 				throw StandardException.newException(
@@ -277,7 +277,7 @@
 
 			// If synonym final target is not present, raise a warning
 			if (nextSD != null)
-				targetTD = dd.getTableDescriptor(nextSynTable, nextSD);
+				targetTD = dd.getTableDescriptor(nextSynTable, nextSD, tc);
 			if (nextSD == null || targetTD == null)
 				activation.addWarning(
 					StandardException.newWarning(SQLState.LANG_SYNONYM_UNDEFINED,

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/CreateConstraintConstantAction.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/CreateConstraintConstantAction.java?view=diff&rev=566318&r1=566317&r2=566318
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/CreateConstraintConstantAction.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/CreateConstraintConstantAction.java
Wed Aug 15 12:54:11 2007
@@ -220,7 +220,7 @@
 			}
 			else
 			{
-				td = dd.getTableDescriptor(tableName, sd);
+				td = dd.getTableDescriptor(tableName, sd, tc);
 			}
 
 			if (td == null)

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/CreateIndexConstantAction.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/CreateIndexConstantAction.java?view=diff&rev=566318&r1=566317&r2=566318
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/CreateIndexConstantAction.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/CreateIndexConstantAction.java
Wed Aug 15 12:54:11 2007
@@ -216,7 +216,7 @@
 			}
 			else
 			{
-				td = dd.getTableDescriptor(tableName, sd);
+				td = dd.getTableDescriptor(tableName, sd, tc);
 			}
 		}
 

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/DropStatisticsConstantAction.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/DropStatisticsConstantAction.java?view=diff&rev=566318&r1=566317&r2=566318
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/DropStatisticsConstantAction.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/DropStatisticsConstantAction.java
Wed Aug 15 12:54:11 2007
@@ -73,7 +73,7 @@
 
 		if (forTable)
 		{
-			td = dd.getTableDescriptor(objectName, sd);
+			td = dd.getTableDescriptor(objectName, sd, tc);
 		}
 		
 		else

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/DropTableConstantAction.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/DropTableConstantAction.java?view=diff&rev=566318&r1=566317&r2=566318
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/DropTableConstantAction.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/DropTableConstantAction.java
Wed Aug 15 12:54:11 2007
@@ -139,7 +139,7 @@
 			td = lcc.getTableDescriptorForDeclaredGlobalTempTable(tableName); //check if this is a
temp table before checking data dictionary
 
 			if (td == null) //td null here means it is not a temporary table. Look for table in physical
SESSION schema
-				td = dd.getTableDescriptor(tableName, sd);
+				td = dd.getTableDescriptor(tableName, sd, tc);
 
 			if (td == null) //td null means tableName is not a temp table and it is not a physical
table in SESSION schema
 			{

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/DropViewConstantAction.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/DropViewConstantAction.java?view=diff&rev=566318&r1=566317&r2=566318
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/DropViewConstantAction.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/DropViewConstantAction.java
Wed Aug 15 12:54:11 2007
@@ -115,7 +115,8 @@
 		/* Get the table descriptor.  We're responsible for raising
 		 * the error if it isn't found 
 		 */
-		td = dd.getTableDescriptor(tableName, sd);
+		td = dd.getTableDescriptor(tableName, sd,
+                lcc.getTransactionExecute());
 
 		if (td == null)
 		{

Modified: db/derby/code/trunk/java/storeless/org/apache/derby/impl/storeless/EmptyDictionary.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/storeless/org/apache/derby/impl/storeless/EmptyDictionary.java?view=diff&rev=566318&r1=566317&r2=566318
==============================================================================
--- db/derby/code/trunk/java/storeless/org/apache/derby/impl/storeless/EmptyDictionary.java
(original)
+++ db/derby/code/trunk/java/storeless/org/apache/derby/impl/storeless/EmptyDictionary.java
Wed Aug 15 12:54:11 2007
@@ -169,7 +169,7 @@
 	}
 
 	public TableDescriptor getTableDescriptor(String tableName,
-			SchemaDescriptor schema) throws StandardException {
+			SchemaDescriptor schema, TransactionController tc) throws StandardException {
 		// TODO Auto-generated method stub
 		return null;
 	}

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/T_ConsistencyChecker.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/T_ConsistencyChecker.java?view=diff&rev=566318&r1=566317&r2=566318
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/T_ConsistencyChecker.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/T_ConsistencyChecker.java
Wed Aug 15 12:54:11 2007
@@ -250,7 +250,7 @@
 		throws StandardException
 	{
 		sd = dd.getSchemaDescriptor(schemaName, tc, true);
-		td = dd.getTableDescriptor(tableName, sd);
+		td = dd.getTableDescriptor(tableName, sd, tc);
 
 		if (td == null)
 		{

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/TestPropertyInfo.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/TestPropertyInfo.java?view=diff&rev=566318&r1=566317&r2=566318
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/TestPropertyInfo.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/util/TestPropertyInfo.java
Wed Aug 15 12:54:11 2007
@@ -140,7 +140,7 @@
 		if ( !isIndex)
 		{
 			// get the TableDescriptor for the table
-			td = dd.getTableDescriptor(conglomerateName, sd);
+			td = dd.getTableDescriptor(conglomerateName, sd, tc);
 
 			// Return an empty Properties if table does not exist or if it is for a view.
 			if ((td == null) || td.getTableType() == TableDescriptor.VIEW_TYPE) { return new Properties();
}



Mime
View raw message