bug #1989081 [profiling] Profiling causes query to be executed again
This commit is contained in:
@@ -64,6 +64,8 @@ danbarry
|
||||
2.11.8.0 (not yet released)
|
||||
- patch #1987593 [interface] Table list pagination in navi,
|
||||
thanks to Jason Day - jday29
|
||||
- bug #1989081 [profiling] Profiling causes query to be executed again
|
||||
(really causes a problem in case of INSERT/UPDATE)
|
||||
|
||||
2.11.7.0 (not yet released)
|
||||
- bug #1908719 [interface] New field cannot be auto-increment and primary key
|
||||
|
@@ -1183,7 +1183,11 @@ function PMA_showMessage($message, $sql_query = null, $type = 'notice')
|
||||
echo '</code>';
|
||||
|
||||
echo '<div class="tools">';
|
||||
PMA_profilingCheckbox($sql_query);
|
||||
// avoid displaying a Profiling checkbox that could
|
||||
// be checked, which would reexecute an INSERT, for example
|
||||
if (! empty($refresh_link)) {
|
||||
PMA_profilingCheckbox($sql_query);
|
||||
}
|
||||
echo $edit_link . $explain_link . $php_link . $refresh_link . $validate_link;
|
||||
echo '</div>';
|
||||
}
|
||||
|
Reference in New Issue
Block a user