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 ba...@apache.org on 2005/05/13 21:35:47 UTC

svn commit: r170076 - /incubator/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj

Author: bandaram
Date: Fri May 13 12:35:46 2005
New Revision: 170076

URL: http://svn.apache.org/viewcvs?rev=170076&view=rev
Log:
Remove a few more references to old identifier length limits.

Submitted by Satheesh Bandaram (satheesh@sourcery.org)

Modified:
    incubator/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj

Modified: incubator/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj
URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj?rev=170076&r1=170075&r2=170076&view=diff
==============================================================================
--- incubator/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj (original)
+++ incubator/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj Fri May 13 12:35:46 2005
@@ -2647,7 +2647,6 @@
 	String cursorName = null;
 }
 {
-	//cursor names are limited to 18 characters
 	<CURRENT> <OF> cursorName = identifier(Limits.MAX_IDENTIFIER_LENGTH, true)
 	{ 
 		return (FromTable) nodeFactory.getNode(
@@ -3239,7 +3238,6 @@
 	*/
 
 	/* identifier() used to be columnName() */
-	//unqualified column names are limited to 30 characters
 	columnName = identifier(Limits.MAX_IDENTIFIER_LENGTH, true) 
 		( typeDescriptor = dataTypeDDL() 
 		)
@@ -4517,7 +4515,6 @@
 }
 {
 	/* identifier() used to be columnName() */
-	//unqualified column names are limited to 30 characters
 	[ <AS> ] columnName = identifier(Limits.MAX_IDENTIFIER_LENGTH, true)
 	{
 		return columnName;
@@ -6496,7 +6493,6 @@
 			columnName = thirdName;
 		}
 
-		//column name and schema name can not be longer than 30 characters and table name can not be longer than 128 characters
 		checkIdentifierLengthLimit(columnName, Limits.MAX_IDENTIFIER_LENGTH);
 		if (schemaName != null)
 			checkIdentifierLengthLimit(schemaName, Limits.MAX_IDENTIFIER_LENGTH);
@@ -6675,7 +6671,6 @@
 }
 {
 	/* identifier() used to be columnName() */
-	//unqualified column names are limited to 30 characters
 	columnName = identifier(Limits.MAX_IDENTIFIER_LENGTH, true)
 	{
 		columnList.addElement(columnName);
@@ -7730,7 +7725,6 @@
 }
 {
 	/* identifier() used to be columnName() */
-	//unqualified column names are limited to 30 characters
 	columnName = identifier(Limits.MAX_IDENTIFIER_LENGTH, true)
 	{
 		/*