You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by dj...@apache.org on 2008/01/04 16:53:55 UTC
svn commit: r608898 -
/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj
Author: djd
Date: Fri Jan 4 07:53:54 2008
New Revision: 608898
URL: http://svn.apache.org/viewvc?rev=608898&view=rev
Log:
DERBY-2775 (partial) Remove unused DataTypeDescriptor parameter in uniqueSpecification method in SQL parser.
Modified:
db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj
Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj?rev=608898&r1=608897&r2=608898&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj Fri Jan 4 07:53:54 2008
@@ -11797,8 +11797,8 @@
ResultColumnList uniqueColumnList;
}
{
- //for table level constraint, second parameter will be null
- constraintType = uniqueSpecification((DataTypeDescriptor) null, null)
+ //for table level constraint, parameter will be null
+ constraintType = uniqueSpecification(null)
<LEFT_PAREN> uniqueColumnList = uniqueColumnList() <RIGHT_PAREN>
{
//go through the unique columns list and if any of the columns in the
@@ -11836,8 +11836,7 @@
//the second parameter to the following method will always be null for a table level
//constraint but not for a column level constraint
int
-uniqueSpecification(DataTypeDescriptor dataTypeDescriptor,
-String columnName) throws StandardException :
+uniqueSpecification(String columnName) throws StandardException :
{
}
{
@@ -12050,7 +12049,7 @@
//pass the columnname as the second parameter. It will be used to throw an
//exception if null constraint is defined for this column-level primary
//key constraint
- constraintType = uniqueSpecification(dataTypeDescriptor,columnName)
+ constraintType = uniqueSpecification(columnName)
[ properties = propertyList(false) <CHECK_PROPERTIES>]
{
ResultColumnList uniqueColumnList =