db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhille...@apache.org
Subject svn commit: r1805249 - /db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/DataTypeDescriptor.java
Date Thu, 17 Aug 2017 01:27:18 GMT
Author: rhillegas
Date: Thu Aug 17 01:27:17 2017
New Revision: 1805249

URL: http://svn.apache.org/viewvc?rev=1805249&view=rev
Log:
DERBY-6956: Commit patch derby-6956-01-aa-removeSpuriousCheck.diff, removing a needless restriction
on the kind of DECIMAL types which can be column types in a CREATE TABLE AS SELECT statement.

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/DataTypeDescriptor.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/DataTypeDescriptor.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/DataTypeDescriptor.java?rev=1805249&r1=1805248&r2=1805249&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/DataTypeDescriptor.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/iapi/types/DataTypeDescriptor.java Thu
Aug 17 01:27:17 2017
@@ -1855,8 +1855,7 @@ public final class DataTypeDescriptor im
             case Types.DECIMAL:
                 return
                 (getPrecision() <= typeId.getMaximumPrecision()) &&
-                (getScale() <= typeId.getMaximumScale()) &&
-                (getMaximumWidth() <= typeId.getMaximumMaximumWidth());
+                (getScale() <= typeId.getMaximumScale());
             default: break;
         }
         return true;



Mime
View raw message