db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r815452 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/InbetweenTest.java
Date Tue, 15 Sep 2009 19:05:34 GMT
Author: mamta
Date: Tue Sep 15 19:05:33 2009
New Revision: 815452

URL: http://svn.apache.org/viewvc?rev=815452&view=rev
Log:
DERBY-4375

Changed the datetime format from 
Timestamp.valueOf("0000-00-00 15:47:28.0")
to 
Timestamp.valueOf("2007-02-23 15:47:27.544")

This change in data fixed the problem with the test with weme


Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/InbetweenTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/InbetweenTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/InbetweenTest.java?rev=815452&r1=815451&r2=815452&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/InbetweenTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/InbetweenTest.java
Tue Sep 15 19:05:33 2009
@@ -193,9 +193,9 @@
             + "'15:47:28', null, null)");
         
         st.executeUpdate(
-            " insert into bt2 values (28, 82, null, '15:47:28', "
-            + "'"+Timestamp.valueOf("0000-00-00 15:47:28.0")+"', null)");
-        
+                " insert into bt2 values (28, 82, null, '15:47:28', "
+                + "'"+Timestamp.valueOf("2007-02-23 15:47:27.544")+"', null)");
+            
         //create indexes
         
         st.executeUpdate(" create index ix_big_i on big (i)");       



Mime
View raw message