<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Mon May 20 14:53:21 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-38/DBAL-38.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-38] Unused DBAL\Events (preExecute, postExecute)...</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-38</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;The ORM has a neat collection of Events, but the DBAL doesn&apos;t have any.&lt;br/&gt;
There is an DBAL/Events.php class which has defined constants for preExec, postExec, preExecute and postExecute (similar to ORM/Events.php), but these seem to be completely unused.&lt;br/&gt;
The only event/loging seems to be the -&amp;gt;logSql() event.&lt;/p&gt;


&lt;p&gt;A preExecute &amp;amp; postExecute events would be great for timing/profiling queries.&lt;/p&gt;</description>
                <environment>Linux</environment>
            <key id="10657">DBAL-38</key>
            <summary>Unused DBAL\Events (preExecute, postExecute)...</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</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="bjori">Hannes Magnusson</reporter>
                        <labels>
                    </labels>
                <created>Wed, 23 Dec 2009 13:00:15 +0000</created>
                <updated>Sun, 15 Aug 2010 14:59:41 +0000</updated>
                    <resolved>Sun, 15 Aug 2010 14:59:41 +0000</resolved>
                            <version>2.0.0-BETA3</version>
                                <fixVersion>2.0.0-BETA4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="12378" author="jwage" created="Sat, 20 Mar 2010 01:48:15 +0000"  >&lt;p&gt;Roman, do we want to implement these? If so I can produce a patch.&lt;/p&gt;</comment>
                    <comment id="12407" author="romanb" created="Sat, 20 Mar 2010 15:19:54 +0000"  >&lt;p&gt;I&apos;m not sure of their usefulness. Hannes mentions timing queries but this is not really possible since many queries are &lt;b&gt;not&lt;/b&gt; executed through execute()/executeUpdate() but rather through prepare() and then execute() on the Statement.&lt;/p&gt;

&lt;p&gt;Are there any other good use-cases?&lt;/p&gt;</comment>
                    <comment id="12409" author="beberlei" created="Sat, 20 Mar 2010 16:28:57 +0000"  >&lt;p&gt;Hm timing and profiling could either be done with vendor-tools or we extend the SqlLogger interface a bit like i proposed in a previous issue. I dont see any other use-cases.&lt;/p&gt;</comment>
                    <comment id="12414" author="romanb" created="Sat, 20 Mar 2010 18:27:30 +0000"  >&lt;p&gt;Personally I find timing queries in php code not very useful since its very inaccurate and you dont get any further information.&lt;/p&gt;</comment>
                    <comment id="13040" author="shurakai" created="Fri, 21 May 2010 19:16:32 +0000"  >&lt;p&gt;If there are no other use cases, +1 for removal.&lt;/p&gt;</comment>
                    <comment id="13628" author="shurakai" created="Wed, 21 Jul 2010 05:38:05 +0000"  >&lt;p&gt;Has any decision been made on whether to remove or not?&lt;/p&gt;</comment>
                    <comment id="13727" author="romanb" created="Wed, 28 Jul 2010 17:32:29 +0000"  >&lt;p&gt;I think they can be removed as the DBAL SQLLogger now also records the execution time.&lt;/p&gt;</comment>
                    <comment id="13959" author="beberlei" created="Sun, 15 Aug 2010 14:59:41 +0000"  >&lt;p&gt;Removed!&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>