<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Fri May 24 13:08:51 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-109/DBAL-109.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-109] Doctrine/DBAL/Platforms/MySqlPlatform.php is missing test coverage around _getCreateTableSQL method</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-109</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;In &quot;Doctrine/DBAL/Platforms/MySqlPlatform.php&quot;, the following methods are public: getShowDatabasesSQL, getCreateDatabaseSQL, getDropDatabaseSQL, getDropTableSQL (easy to test); however, the &quot;_getCreateTableSQL&quot; method is not public.&lt;/p&gt;

&lt;p&gt;Is there a specific reason for this difference?&lt;/p&gt;

&lt;p&gt;As a result of this method not being tested, there is a &quot;quote&quot;  method being called which doesn&apos;t exist.&lt;/p&gt;

&lt;p&gt;See: &lt;a href=&quot;https://github.com/doctrine/dbal/blob/master/lib/Doctrine/DBAL/Platforms/MySqlPlatform.php#L410&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/dbal/blob/master/lib/Doctrine/DBAL/Platforms/MySqlPlatform.php#L410&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The only way at this time to test for this case is to get an error when doing: $table-&amp;gt;addOption(&apos;comment&apos;, &apos;...&apos;);&lt;/p&gt;

&lt;p&gt;I would suggest making the protected method public so it can be tested. I also suggest moving the options parsing out of _getCreateTableSQL into a helper method...this method seems a bit overloaded.&lt;/p&gt;

&lt;p&gt;If agreed, I&apos;m happy to take care of the cleanup. Just wanted to get some feedback on the ideas first.&lt;/p&gt;</description>
                <environment>2.1.0-DEV</environment>
            <key id="12558">DBAL-109</key>
            <summary>Doctrine/DBAL/Platforms/MySqlPlatform.php is missing test coverage around _getCreateTableSQL method</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="wilmoore">Wil Moore III</reporter>
                        <labels>
                    </labels>
                <created>Tue, 12 Apr 2011 15:21:03 +0000</created>
                <updated>Fri, 18 Nov 2011 16:46:56 +0000</updated>
                                    <version>2.1</version>
                                                <component>Platforms</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="16868" author="beberlei" created="Fri, 18 Nov 2011 16:46:56 +0000"  >&lt;p&gt;This is an improvement&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>