bug #1989081 [profiling] Profiling causes query to be executed again

This commit is contained in:
Marc Delisle
2008-06-13 16:26:21 +00:00
parent b6ec86da7d
commit 6d4a7b0b2f
2 changed files with 7 additions and 1 deletions

View File

@@ -64,6 +64,8 @@ danbarry
2.11.8.0 (not yet released) 2.11.8.0 (not yet released)
- patch #1987593 [interface] Table list pagination in navi, - patch #1987593 [interface] Table list pagination in navi,
thanks to Jason Day - jday29 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) 2.11.7.0 (not yet released)
- bug #1908719 [interface] New field cannot be auto-increment and primary key - bug #1908719 [interface] New field cannot be auto-increment and primary key

View File

@@ -1183,7 +1183,11 @@ function PMA_showMessage($message, $sql_query = null, $type = 'notice')
echo '</code>'; echo '</code>';
echo '<div class="tools">'; 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 $edit_link . $explain_link . $php_link . $refresh_link . $validate_link;
echo '</div>'; echo '</div>';
} }