fix bug #3966, only display 'table has no unique column' when table is defined
This commit is contained in:
parent
ac6ed91fc7
commit
7a3c15724a
@ -5,6 +5,7 @@ phpMyAdmin - ChangeLog
|
||||
- bug #3959 Using DefaultTabDatabase in NavigationTree for Database Click
|
||||
- bug #3961 Avoid Suhosin warning when in simulation mode
|
||||
- bug #3897 Row Statistics and Space usage bugs
|
||||
- bug #3966 Only display "table has no unique column" message when applicable
|
||||
|
||||
4.0.3.0 (not yet released)
|
||||
- bug #3941 Recent tables list always empty
|
||||
|
||||
2
sql.php
2
sql.php
@ -1239,7 +1239,7 @@ if ((0 == $num_rows && 0 == $unlim_num_rows) || $is_affected) {
|
||||
&& trim($analyzed_sql[0]['select_expr_clause']) == '*'
|
||||
&& PMA_Table::isUpdatableView($db, $table);
|
||||
$editable = $resultSetContainsUniqueKey || $updatableView;
|
||||
if (PMA_is_system_schema($db) || ! $editable) {
|
||||
if (!empty($table) && (PMA_is_system_schema($db) || !$editable)) {
|
||||
$disp_mode = 'nnnn110111';
|
||||
$msg = PMA_message::notice(
|
||||
__(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user