Merge pull request #154 from lem9/master

Notice about missing non-unique column
This commit is contained in:
Michal Čihař 2013-02-08 05:34:56 -08:00
commit 85bb5a88e6

View File

@ -1202,6 +1202,8 @@ if ((0 == $num_rows && 0 == $unlim_num_rows) || $is_affected) {
// - if the result set does not contain all the columns of a unique key
if (PMA_is_system_schema($db) || ! $resultSetContainsUniqueKey) {
$disp_mode = 'nnnn110111';
$msg = PMA_message::notice(__('This table does not contain a unique column. Grid edit, checkbox, Edit, Copy and Delete features are not available.'));
$msg->display();
}
if (isset($label)) {