<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Wed May 22 06:04:36 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-254/DBAL-254.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-254] SQL Server rename table should use sp_RENAME</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-254</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;Whenever DBAL Schema Manager tries to rename a table in sql server 2008 it should use also the sp_RENAME procedure. Otherwise error is thrown.&lt;/p&gt;

&lt;p&gt;Apparently a similar issue was fixed for column ALTER Commands as described in the link below, but also the ALTER TABLE command should use sp_RENAME to avoid crash.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DBAL-199?page=com.atlassian.jira.plugin.system.issuetabpanels%3Achangehistory-tabpanel&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/jira/browse/DBAL-199?page=com.atlassian.jira.plugin.system.issuetabpanels%3Achangehistory-tabpanel&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;Suggested fix for Latest DBAL 2.2&lt;/p&gt;

&lt;p&gt;From Line 283: &lt;/p&gt;

&lt;p&gt;$queryParts[] = &apos;RENAME TO &apos; . $diff-&amp;gt;newName;&lt;/p&gt;

&lt;p&gt;To Line 283:&lt;/p&gt;

&lt;p&gt;$sql[] = &apos;sp_RENAME \&apos;&apos; . $diff-&amp;gt;name . &apos;\&apos;,\&apos;&apos; . $diff-&amp;gt;newName.&apos;\&apos;&apos;;&lt;/p&gt;

&lt;p&gt;This seems to fix the problem.&lt;/p&gt;

&lt;p&gt;Hope this helps&lt;/p&gt;

&lt;p&gt;Sorry for my bad english.&lt;/p&gt;

&lt;p&gt;Fredcallagan&lt;/p&gt;</description>
                <environment>SQL Server 2008 R2 on windows Server</environment>
            <key id="13627">DBAL-254</key>
            <summary>SQL Server rename table should use sp_RENAME</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>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="fredcallagan">Fryderyk Benigni</reporter>
                        <labels>
                    </labels>
                <created>Wed, 11 Apr 2012 17:11:55 +0000</created>
                <updated>Sun, 8 Jul 2012 20:31:44 +0000</updated>
                    <resolved>Sun, 8 Jul 2012 20:31:44 +0000</resolved>
                            <version>2.2.1</version>
                                <fixVersion>2.2.3</fixVersion>
                                <component>Platforms</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="18252" author="beberlei" created="Sun, 8 Jul 2012 20:31:44 +0000"  >&lt;p&gt;Fixed.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>