db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Siveton (JIRA)" <j...@apache.org>
Subject [jira] Created: (DDLUTILS-111) Handle Silent Column Specification Changes in the test cases
Date Wed, 07 Jun 2006 21:51:30 GMT
Handle Silent Column Specification Changes in the test cases

         Key: DDLUTILS-111
         URL: http://issues.apache.org/jira/browse/DDLUTILS-111
     Project: DdlUtils
        Type: Bug

  Components: Tests  
 Environment: trunk + mysql 4.1
    Reporter: Vincent Siveton
 Assigned to: Thomas Dudziak 

In some cases, MySQL silently changes column specifications from those given in a CREATE TABLE
or ALTER TABLE statement [1]

So TestAlteration.testAddColumns() failed with:
junit.framework.ComparisonFailure: Type not the same for column avalue4. expected:<...>
but was:<VAR...>
	at junit.framework.Assert.assertEquals(Assert.java:81)
	at org.apache.ddlutils.io.RoundtripTestBase.assertEquals(RoundtripTestBase.java:441)
	at org.apache.ddlutils.io.RoundtripTestBase.assertEquals(RoundtripTestBase.java:369)
	at org.apache.ddlutils.io.RoundtripTestBase.assertEquals(RoundtripTestBase.java:315)
	at org.apache.ddlutils.io.TestAlteration.testAddColumns(TestAlteration.java:526)

[1] http://dev.mysql.com/doc/refman/5.0/en/silent-column-changes.html

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message