Menu

#2706 (ok 2.11.8) Profiling causes query to be executed again

2.11.6
fixed
None
1
2013-06-11
2008-06-09
kjarli
No

Whenever you preform a query, click on profiling, your query is preformed again. Quite annoying when inserting data...

Discussion

  • Marc Delisle

    Marc Delisle - 2008-06-10
    • assigned_to: nobody --> lem9
     
  • Marc Delisle

    Marc Delisle - 2008-06-12

    Logged In: YES
    user_id=210714
    Originator: NO

    I assumed that you want to profile the very same query, but you are right, so what do you think of this patch:

    --- common.lib.php (revision 11316)
    +++ common.lib.php (copie de travail)
    @@ -1215,7 +1215,9 @@

    if (!empty($edit_target)) {
    echo '<fieldset class="tblFooters">';
    - PMA_profilingCheckbox($sql_query);
    + if (! empty($refresh_link)) {
    + PMA_profilingCheckbox($sql_query);
    + }
    echo $edit_link . $explain_link . $php_link . $refresh_link . $validate_link;
    echo '</fieldset>';
    }

     
  • Marc Delisle

    Marc Delisle - 2008-06-13

    Logged In: YES
    user_id=210714
    Originator: NO

    Patch merged for 2.11.8.

     
  • Marc Delisle

    Marc Delisle - 2008-06-13
    • priority: 5 --> 1
    • summary: Profiling causes query to be executed again --> (ok 2.11.8) Profiling causes query to be executed again
    • status: open --> open-fixed
     
  • Marc Delisle

    Marc Delisle - 2008-07-28
    • status: open-fixed --> closed-fixed
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-fixed --> fixed