empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From doeb...@apache.org
Subject svn commit: r701550 - /incubator/empire-db/trunk/core/Empire-db/src/org/apache/empire/db/DBTableColumn.java
Date Fri, 03 Oct 2008 22:11:38 GMT
Author: doebele
Date: Fri Oct  3 15:11:38 2008
New Revision: 701550

URL: http://svn.apache.org/viewvc?rev=701550&view=rev
Log:
EMPIREDB-23

Modified:
    incubator/empire-db/trunk/core/Empire-db/src/org/apache/empire/db/DBTableColumn.java

Modified: incubator/empire-db/trunk/core/Empire-db/src/org/apache/empire/db/DBTableColumn.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/core/Empire-db/src/org/apache/empire/db/DBTableColumn.java?rev=701550&r1=701549&r2=701550&view=diff
==============================================================================
--- incubator/empire-db/trunk/core/Empire-db/src/org/apache/empire/db/DBTableColumn.java (original)
+++ incubator/empire-db/trunk/core/Empire-db/src/org/apache/empire/db/DBTableColumn.java Fri
Oct  3 15:11:38 2008
@@ -302,7 +302,7 @@
             case TEXT:
             case CHAR:
                 if (value!=null && value.toString().length() > size)
-                    return error(DBErrors.FieldValueTooLong, getName());
+                    return error(DBErrors.FieldValueTooLong, getName(), (int)size);
                 break;
                 
             default:



Mime
View raw message