<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Tue Jun 18 07:38:13 UTC 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://www.doctrine-project.org/jira/si/jira.issueviews:issue-xml/DBAL-148/DBAL-148.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Doctrine Project</title>
    <link>http://www.doctrine-project.org/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>5.2.7</version>
        <build-number>850</build-number>
        <build-date>21-02-2013</build-date>
    </build-info>

<item>
            <title>[DBAL-148] Foreign key creation fails with MySQL 5.1.54</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-148</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;doctrine orm:schema-tool:create&lt;/p&gt;

&lt;p&gt;returns &lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;PDOException&amp;#93;&lt;/span&gt;                                                                                                                                                                                                          &lt;br/&gt;
SQLSTATE&lt;span class=&quot;error&quot;&gt;&amp;#91;42000&amp;#93;&lt;/span&gt;: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &apos;Position(id)&apos; at line 1  &lt;/p&gt;

&lt;p&gt;The problem seem to be that the create commande creates the following SQL syntax&lt;br/&gt;
ALTER TABLE Job ADD FOREIGN KEY (position_id) REFERENCES Position(id);&lt;/p&gt;

&lt;p&gt;which doesn&apos;t work. If I use the following (added a space between Postion and (id) in the end) it works.&lt;br/&gt;
ALTER TABLE Job ADD FOREIGN KEY (position_id) REFERENCES Position (id);&lt;/p&gt;

&lt;p&gt;Patch for AbstractPlatform.php attached.&lt;/p&gt;</description>
                <environment>MySQL 5.1.54, PHP 5.3.5, Ubuntu 11.04, Zend Framework 1.11.10</environment>
            <key id="12926">DBAL-148</key>
            <summary>Foreign key creation fails with MySQL 5.1.54</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="frecon">Frej Connolly</reporter>
                        <labels>
                    </labels>
                <created>Tue, 16 Aug 2011 15:06:49 +0000</created>
                <updated>Thu, 18 Aug 2011 20:16:54 +0000</updated>
                    <resolved>Thu, 18 Aug 2011 20:16:54 +0000</resolved>
                            <version>2.1</version>
                                <fixVersion>2.1</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="16354" author="beberlei" created="Thu, 18 Aug 2011 20:16:54 +0000"  >&lt;p&gt;Fixed and merged 2.1.x&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="11055" name="git_commit_9242fb332baaaeb81be4.txt" size="373" author="frecon" created="Tue, 16 Aug 2011 15:29:49 +0000" />
                    <attachment id="11053" name="Job.php" size="884" author="frecon" created="Tue, 16 Aug 2011 15:06:49 +0000" />
                    <attachment id="11054" name="orm_schema-tool_create--dump-sql.txt" size="1234" author="frecon" created="Tue, 16 Aug 2011 15:06:49 +0000" />
                    <attachment id="11052" name="Position.php" size="376" author="frecon" created="Tue, 16 Aug 2011 15:06:49 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>