Return-Path: Delivered-To: apmail-db-ddlutils-dev-archive@www.apache.org Received: (qmail 62163 invoked from network); 7 Jun 2006 21:52:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Jun 2006 21:52:35 -0000 Received: (qmail 55581 invoked by uid 500); 7 Jun 2006 21:52:34 -0000 Delivered-To: apmail-db-ddlutils-dev-archive@db.apache.org Received: (qmail 55542 invoked by uid 500); 7 Jun 2006 21:52:34 -0000 Mailing-List: contact ddlutils-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ddlutils-dev@db.apache.org Delivered-To: mailing list ddlutils-dev@db.apache.org Received: (qmail 55529 invoked by uid 99); 7 Jun 2006 21:52:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jun 2006 14:52:34 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jun 2006 14:52:33 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E5A4571429F for ; Wed, 7 Jun 2006 21:51:30 +0000 (GMT) Message-ID: <21891013.1149717090937.JavaMail.jira@brutus> Date: Wed, 7 Jun 2006 21:51:30 +0000 (GMT+00:00) From: "Vincent Siveton (JIRA)" To: ddlutils-dev@db.apache.org Subject: [jira] Created: (DDLUTILS-111) Handle Silent Column Specification Changes in the test cases MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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: 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: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira