<!--
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Sun May 26 00:43:26 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/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+DBAL+AND+fixVersion+%3D+%222.3.2%22+AND+resolution+in+(Fixed%2C+%22Won't+Fix%22%2C+Duplicate%2C+Incomplete%2C+%22Cannot+Reproduce%22%2C+Invalid%2C+%22Can't+Fix%22)&tempMax=1000&field=key&field=summary
-->
<!-- If you wish to do custom client-side styling of RSS, uncomment this:
<?xml-stylesheet href="http://www.doctrine-project.org/jira/styles/jiraxml2html.xsl" type="text/xsl"?>
-->
<rss version="0.92">
    <channel>
        <title>Doctrine Project</title>
        <link>http://www.doctrine-project.org/jira/secure/IssueNavigator.jspa?reset=true&amp;jqlQuery=project+%3D+DBAL+AND+fixVersion+%3D+%222.3.2%22+AND+resolution+in+%28Fixed%2C+%22Won%27t+Fix%22%2C+Duplicate%2C+Incomplete%2C+%22Cannot+Reproduce%22%2C+Invalid%2C+%22Can%27t+Fix%22%29</link>
        <description>An XML representation of a search request</description>
                <language>en-us</language>
                        <issue start="0" end="4" total="4"/>
                <build-info>
            <version>5.2.7</version>
            <build-number>850</build-number>
            <build-date>21-02-2013</build-date>
        </build-info>
<item>
            <title>[DBAL-399] [GH-237] Do not treat assignment operator as a parameter DBAL-398</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-399</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of roverwolf:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/dbal/pull/237&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/dbal/pull/237&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;A native (mysql) query should be able to use the assignment operator := but currently the SQLParserUtils method treats that as a missing parameter.&lt;/p&gt;

&lt;p&gt;The patch solves the issue, but it looks like a higher-level fix might be desired that also handles the regular expression better.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14323">DBAL-399</key>
            <summary>[GH-237] Do not treat assignment operator as a parameter DBAL-398</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="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Tue, 18 Dec 2012 20:35:30 +0000</created>
                <updated>Sat, 22 Dec 2012 11:35:14 +0000</updated>
                    <resolved>Sat, 22 Dec 2012 11:35:14 +0000</resolved>
                                            <fixVersion>2.3.2</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19157" author="dward" created="Tue, 18 Dec 2012 20:46:11 +0000"  >&lt;p&gt;Noting that this auto-generated issue duplicates &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DBAL-398&quot; title=&quot;Native query does not allow mysql assignment operator :=&quot;&gt;&lt;del&gt;DBAL-398&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19168" author="beberlei" created="Sat, 22 Dec 2012 11:35:06 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-237&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/dbal/pull/237&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/dbal/pull/237&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DBAL-398] Native query does not allow mysql assignment operator :=</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-398</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;When trying to use the mysql assignment operator in a native query one gets an exception as SqlParserUtils does not qualify the character after the : as being part of a valid parameter value.&lt;/p&gt;

&lt;p&gt;Undefined index: in vendor/doctrine/dbal/lib/Doctrine/DBAL/SQLParserUtils.php line 156 (uncaught exception)&lt;/p&gt;


&lt;p&gt;A simple example is&lt;br/&gt;
$rsm = new ResultSetMapping();&lt;br/&gt;
$rsm-&amp;gt;addScalarResult(&apos;rank&apos;, &apos;rank&apos;);&lt;br/&gt;
$qry = $em-&amp;gt;createNativeQuery(&quot;&lt;br/&gt;
  SELECT (@rank := 1) AS rank&lt;br/&gt;
&quot;);&lt;br/&gt;
$result = $qry-&amp;gt;getResult(Query::HYDRATE_ARRAY);&lt;/p&gt;


&lt;p&gt;Or a more complicated example is (similar to actual use):&lt;/p&gt;

&lt;p&gt;$rsm = new ResultSetMapping();&lt;br/&gt;
$rsm-&amp;gt;addScalarResult(&apos;rank&apos;, &apos;rank&apos;);&lt;br/&gt;
$qry = $em-&amp;gt;createNativeQuery(&quot;&lt;br/&gt;
  SELECT rank FROM&lt;br/&gt;
    (SELECT (@rank := @rank +1) AS rank FROM (SELECT @rank :=0) rnk2) rnk1&lt;br/&gt;
&quot;);&lt;br/&gt;
$result = $qry-&amp;gt;getResult(Query::HYDRATE_ARRAY);&lt;/p&gt;


&lt;p&gt;I have attached quick-fix patch, but it looks like the getPlaceholderPositions method is wanting something better overall (due to the TODO comment in it).&lt;/p&gt;</description>
                <environment>Using Doctrine within Symfony 2.1.x</environment>
            <key id="14322">DBAL-398</key>
            <summary>Native query does not allow mysql assignment operator :=</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="dward">David Ward</reporter>
                        <labels>
                        <label>mysql</label>
                    </labels>
                <created>Tue, 18 Dec 2012 19:40:18 +0000</created>
                <updated>Thu, 3 Jan 2013 22:38:50 +0000</updated>
                    <resolved>Sat, 22 Dec 2012 13:24:23 +0000</resolved>
                            <version>2.3</version>
                                <fixVersion>2.3.2</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19156" author="dward" created="Tue, 18 Dec 2012 20:38:25 +0000"  >&lt;p&gt;A pull request has been added at &lt;a href=&quot;https://github.com/doctrine/dbal/pull/237&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/dbal/pull/237&lt;/a&gt; which also has tests added.&lt;/p&gt;</comment>
                    <comment id="19213" author="brysonarmstrong" created="Thu, 3 Jan 2013 22:36:42 +0000"  >&lt;p&gt;I ran into this error and the fix caused other queries to have errors. &lt;/p&gt;

&lt;p&gt;I fixed it by changing line 57 in vendor/doctrine/dbal/lib/Doctrine/DBAL/SQLParserUtils.php:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt; 
&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; ($statement[$i] == $match &amp;amp;&amp;amp; !$inLiteral &amp;amp;&amp;amp; (!$isPositional &amp;amp;&amp;amp; $statement[$i+1] != &apos;=&apos;)) {
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt; 

&lt;p&gt;to: &lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; ($statement[$i] == $match &amp;amp;&amp;amp; !$inLiteral &amp;amp;&amp;amp; ($isPositional || $statement[$i+1] != &apos;=&apos;)) {
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt; </comment>
                </comments>
                    <attachments>
                    <attachment id="11365" name="FixNativeAssignmentOperator.patch" size="613" author="dward" created="Tue, 18 Dec 2012 19:40:18 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DBAL-392] Moving entity relationship doesn&apos;t move foreign key in mysql table</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-392</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;This is the copy of bug &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-2161&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/jira/browse/DDC-2161&lt;/a&gt; that I&apos;ve moved here since it&apos;s related to the dbal and not the orm.&lt;/p&gt;

&lt;p&gt;Basically when you update just the foreign table of a foreign key the constrain doesn&apos;t gets updated.&lt;/p&gt;</description>
                <environment>Mac OSX, mysql 5.5.28, php 5.4.8</environment>
            <key id="14266">DBAL-392</key>
            <summary>Moving entity relationship doesn&apos;t move foreign key in mysql table</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="alex88">Alessandro Tagliapietra</reporter>
                        <labels>
                    </labels>
                <created>Sat, 24 Nov 2012 00:13:11 +0000</created>
                <updated>Sun, 23 Dec 2012 20:31:22 +0000</updated>
                    <resolved>Sun, 23 Dec 2012 20:31:22 +0000</resolved>
                                            <fixVersion>2.3.2</fixVersion>
                                <component>Schema Managers</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19044" author="beberlei" created="Sat, 24 Nov 2012 00:24:27 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-521&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/521&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/521&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19066" author="alex88" created="Mon, 26 Nov 2012 20:01:48 +0000"  >&lt;p&gt;The related pull request is &lt;a href=&quot;https://github.com/doctrine/dbal/pull/234&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/dbal/pull/234&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10001">
                <name>Reference</name>
                                                <inwardlinks description="is referenced by">
                            <issuelink>
            <issuekey id="14257">DDC-2161</issuekey>
        </issuelink>
                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DBAL-380] [GH-226] Fix for decimal fields with precision.</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-380</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of bobdenotter:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/dbal/pull/226&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/dbal/pull/226&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;These fields have no spaces in the length, so the &apos;explode&apos; fails. Omit the space from the code, and it works. Even if there &lt;em&gt;were&lt;/em&gt; a space, it would still work, because of the `array_map(&quot;trim&quot;, ..)`.&lt;/p&gt;


&lt;p&gt;    arr(7) &lt;br/&gt;
    [&lt;br/&gt;
        &quot;cid&quot;        =&amp;gt; str(2) &quot;11&quot;&lt;br/&gt;
        &quot;name&quot;       =&amp;gt; str(6) &quot;nummer&quot;&lt;br/&gt;
        &quot;type&quot;       =&amp;gt; str(7) &quot;DECIMAL&quot;&lt;br/&gt;
        &quot;notnull&quot;    =&amp;gt; str(1) &quot;1&quot;&lt;br/&gt;
        &quot;dflt_value&quot; =&amp;gt; str(1) &quot;0&quot;&lt;br/&gt;
        &quot;pk&quot;         =&amp;gt; str(1) &quot;0&quot;&lt;br/&gt;
        &quot;length&quot;     =&amp;gt; str(4) &quot;18,9&quot;&lt;br/&gt;
    ]&lt;/p&gt;</description>
                <environment></environment>
            <key id="14216">DBAL-380</key>
            <summary>[GH-226] Fix for decimal fields with precision.</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="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Mon, 12 Nov 2012 13:35:42 +0000</created>
                <updated>Sun, 23 Dec 2012 19:50:31 +0000</updated>
                    <resolved>Sun, 23 Dec 2012 19:50:31 +0000</resolved>
                                            <fixVersion>2.3.2</fixVersion>
                                        <due></due>
                    <votes>1</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19112" author="bobdenotter" created="Fri, 7 Dec 2012 10:16:18 +0000"  >&lt;p&gt;&lt;b&gt;bump&lt;/b&gt; &lt;/p&gt;

&lt;p&gt;Not trying to be annoying, but I think this is an issue, that can be resolved quickly, without any consequences for other functionality. If it could be squeezed into 2.3.2 or 2.4, i&apos;d be very grateful. &lt;/p&gt;
</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>