Merge branch 'master' of ssh://phpmyadmin.git.sourceforge.net/gitroot/phpmyadmin/phpmyadmin
This commit is contained in:
commit
e3a3e26146
@ -57,6 +57,7 @@ phpMyAdmin - ChangeLog
|
||||
- [core] Remove library PHPExcel, due to license issues
|
||||
- [export] Remove native Excel export modules (xls and xlsx formats)
|
||||
- [import] Remove native Excel import modules (xls and xlsx formats)
|
||||
- bug #3392920 [edit] BLOB emptied after editing another column
|
||||
|
||||
3.4.4.0 (not yet released)
|
||||
- bug #3323060 [parser] SQL parser breaks AJAX requests if query has unclosed quotes
|
||||
|
||||
@ -3307,8 +3307,6 @@ function PMA_getCellValue(td) {
|
||||
return '';
|
||||
} else if (! $(td).is('.to_be_saved') && $(td).data('original_data')) {
|
||||
return $(td).data('original_data');
|
||||
} else if ($(td).is(':not(.transformed, .relation, .enum, .set, .null)')) {
|
||||
return unescape($(td).find('span').html()).replace(/<br>/g, "\n");
|
||||
} else {
|
||||
return $(td).text();
|
||||
}
|
||||
|
||||
218
js/makegrid.js
218
js/makegrid.js
@ -564,7 +564,7 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
|
||||
!g.colRsz && !g.colReorder)
|
||||
{
|
||||
if (!g.isCellEditActive) {
|
||||
$cell = $(cell);
|
||||
var $cell = $(cell);
|
||||
// remove all edit area and hide it
|
||||
$(g.cEdit).find('.edit_area').empty().hide();
|
||||
// reposition the cEdit element
|
||||
@ -573,24 +573,19 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
|
||||
left: $cell.position().left
|
||||
})
|
||||
.show()
|
||||
.find('input')
|
||||
.find('.edit_box')
|
||||
.css({
|
||||
width: $cell.outerWidth(),
|
||||
height: $cell.outerHeight()
|
||||
});
|
||||
// fill the cell edit with text from <td>, if it is not null
|
||||
var value = $cell.is(':not(.null)') ? PMA_getCellValue(cell) : '';
|
||||
$(g.cEdit).find('input')
|
||||
.val(value);
|
||||
// fill the cell edit with text from <td>
|
||||
var value = PMA_getCellValue(cell);
|
||||
$(g.cEdit).find('.edit_box').val(value);
|
||||
|
||||
g.currentEditCell = cell;
|
||||
$(g.cEdit).find('input[type=text]').focus();
|
||||
$(g.cEdit).find('.edit_box').focus();
|
||||
$(g.cEdit).find('*').removeAttr('disabled');
|
||||
}
|
||||
} else {
|
||||
if (g.isCellEditActive) {
|
||||
g.hideEditCell();
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@ -605,7 +600,7 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
|
||||
*/
|
||||
hideEditCell: function(force, data, field) {
|
||||
if (g.isCellEditActive && !force) {
|
||||
// cell is being edited, post the edited data
|
||||
// cell is being edited, save or post the edited data
|
||||
g.saveOrPostEditedCell();
|
||||
return;
|
||||
}
|
||||
@ -620,21 +615,19 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
|
||||
if (g.currentEditCell) { // save value of currently edited cell
|
||||
// replace current edited field with the new value
|
||||
var $this_field = $(g.currentEditCell);
|
||||
var new_html = $this_field.data('value');
|
||||
var is_null = $this_field.data('value') == null;
|
||||
if (is_null) {
|
||||
$this_field.find('span').html('NULL');
|
||||
$this_field.addClass('null');
|
||||
} else {
|
||||
$this_field.removeClass('null');
|
||||
var new_html = $this_field.data('value');
|
||||
if ($this_field.is('.truncated')) {
|
||||
if (new_html.length > g.maxTruncatedLen) {
|
||||
new_html = new_html.substring(0, g.maxTruncatedLen) + '...';
|
||||
}
|
||||
}
|
||||
// replace '\n' with <br>
|
||||
new_html = new_html.replace(/\n/g, '<br />');
|
||||
$this_field.find('span').html(new_html);
|
||||
$this_field.find('span').text(new_html);
|
||||
}
|
||||
}
|
||||
if (data.transformations != undefined) {
|
||||
@ -657,7 +650,7 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
|
||||
|
||||
// hide the cell editing area
|
||||
$(g.cEdit).hide();
|
||||
$(g.cEdit).find('input[type=text]').blur();
|
||||
$(g.cEdit).find('.edit_box').blur();
|
||||
g.isCellEditActive = false;
|
||||
g.currentEditCell = null;
|
||||
// destroy datepicker in edit area, if exist
|
||||
@ -671,8 +664,17 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
|
||||
if (!g.isCellEditActive) { // make sure the edit area has not been shown
|
||||
g.isCellEditActive = true;
|
||||
g.isEditCellTextEditable = false;
|
||||
/**
|
||||
* @var $td current edited cell
|
||||
*/
|
||||
var $td = $(g.currentEditCell);
|
||||
/**
|
||||
* @var $editArea the editing area
|
||||
*/
|
||||
var $editArea = $(g.cEdit).find('.edit_area');
|
||||
/**
|
||||
* @var where_clause WHERE clause for the edited cell
|
||||
*/
|
||||
var where_clause = $td.parent('tr').find('.where_clause').val();
|
||||
/**
|
||||
* @var field_name String containing the name of this field.
|
||||
@ -720,24 +722,24 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
|
||||
if ($td.is('.enum, .set')) {
|
||||
$editArea.find('select').live('change', function(e) {
|
||||
$checkbox.attr('checked', false);
|
||||
})
|
||||
});
|
||||
} else if ($td.is('.relation')) {
|
||||
$editArea.find('select').live('change', function(e) {
|
||||
$checkbox.attr('checked', false);
|
||||
})
|
||||
});
|
||||
$editArea.find('.browse_foreign').live('click', function(e) {
|
||||
$checkbox.attr('checked', false);
|
||||
})
|
||||
});
|
||||
} else {
|
||||
$(g.cEdit).find('input[type=text]').live('keypress change', function(e) {
|
||||
$(g.cEdit).find('.edit_box').live('keypress change', function(e) {
|
||||
$checkbox.attr('checked', false);
|
||||
})
|
||||
});
|
||||
$editArea.find('textarea').live('keydown', function(e) {
|
||||
$checkbox.attr('checked', false);
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
// if 'checkbox_null_<field_name>_<row_index>' is clicked empty the corresponding select/editor.
|
||||
// if null checkbox is clicked empty the corresponding select/editor.
|
||||
$checkbox.click(function(e) {
|
||||
if ($td.is('.enum')) {
|
||||
$editArea.find('select').attr('value', '');
|
||||
@ -745,7 +747,7 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
|
||||
$editArea.find('select').find('option').each(function() {
|
||||
var $option = $(this);
|
||||
$option.attr('selected', false);
|
||||
})
|
||||
});
|
||||
} else if ($td.is('.relation')) {
|
||||
// if the dropdown is there to select the foreign value
|
||||
if ($editArea.find('select').length > 0) {
|
||||
@ -754,12 +756,11 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
|
||||
} else {
|
||||
$editArea.find('textarea').val('');
|
||||
}
|
||||
$(g.cEdit).find('input[type=text]').val('');
|
||||
})
|
||||
$(g.cEdit).find('.edit_box').val('');
|
||||
});
|
||||
}
|
||||
|
||||
if($td.is('.relation')) {
|
||||
/** @lends jQuery */
|
||||
if ($td.is('.relation')) {
|
||||
//handle relations
|
||||
$editArea.addClass('edit_area_loading');
|
||||
|
||||
@ -770,15 +771,15 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
|
||||
* @var post_params Object containing parameters for the POST request
|
||||
*/
|
||||
var post_params = {
|
||||
'ajax_request' : true,
|
||||
'get_relational_values' : true,
|
||||
'server' : g.server,
|
||||
'db' : g.db,
|
||||
'table' : g.table,
|
||||
'column' : field_name,
|
||||
'token' : g.token,
|
||||
'curr_value' : relation_curr_value,
|
||||
'relation_key_or_display_column' : relation_key_or_display_column
|
||||
'ajax_request' : true,
|
||||
'get_relational_values' : true,
|
||||
'server' : g.server,
|
||||
'db' : g.db,
|
||||
'table' : g.table,
|
||||
'column' : field_name,
|
||||
'token' : g.token,
|
||||
'curr_value' : relation_curr_value,
|
||||
'relation_key_or_display_column' : relation_key_or_display_column
|
||||
}
|
||||
|
||||
g.lastXHR = $.post('sql.php', post_params, function(data) {
|
||||
@ -788,18 +789,18 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
|
||||
var value = $(data.dropdown).val();
|
||||
$td.data('original_data', value);
|
||||
// update the text input field, in case where the "Relational display column" is checked
|
||||
$(g.cEdit).find('input[type=text]').val(value);
|
||||
$(g.cEdit).find('.edit_box').val(value);
|
||||
|
||||
$editArea.append(data.dropdown);
|
||||
$editArea.append('<div class="cell_edit_hint">' + g.cellEditHint + '</div>');
|
||||
}) // end $.post()
|
||||
|
||||
$editArea.find('select').live('change', function(e) {
|
||||
$(g.cEdit).find('input[type=text]').val($(this).val());
|
||||
$(g.cEdit).find('.edit_box').val($(this).val());
|
||||
})
|
||||
$editArea.show();
|
||||
}
|
||||
else if($td.is('.enum')) {
|
||||
/** @lends jQuery */
|
||||
//handle enum fields
|
||||
$editArea.addClass('edit_area_loading');
|
||||
|
||||
@ -824,11 +825,11 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
|
||||
}) // end $.post()
|
||||
|
||||
$editArea.find('select').live('change', function(e) {
|
||||
$(g.cEdit).find('input[type=text]').val($(this).val());
|
||||
$(g.cEdit).find('.edit_box').val($(this).val());
|
||||
})
|
||||
$editArea.show();
|
||||
}
|
||||
else if($td.is('.set')) {
|
||||
/** @lends jQuery */
|
||||
//handle set fields
|
||||
$editArea.addClass('edit_area_loading');
|
||||
|
||||
@ -854,23 +855,25 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
|
||||
}) // end $.post()
|
||||
|
||||
$editArea.find('select').live('change', function(e) {
|
||||
$(g.cEdit).find('input[type=text]').val($(this).val());
|
||||
$(g.cEdit).find('.edit_box').val($(this).val());
|
||||
})
|
||||
$editArea.show();
|
||||
}
|
||||
else if($td.is('.truncated, .transformed')) {
|
||||
if ($td.is('.to_be_saved')) { // cell has been edited
|
||||
var value = $td.data('value');
|
||||
$(g.cEdit).find('input[type=text]').val(value);
|
||||
$editArea.append('<textarea>'+value+'</textarea>');
|
||||
$editArea.find('textarea').live('keyup', function(e) {
|
||||
$(g.cEdit).find('input[type=text]').val($(this).val());
|
||||
});
|
||||
$(g.cEdit).find('input[type=text]').live('keyup', function(e) {
|
||||
$(g.cEdit).find('.edit_box').val(value);
|
||||
$editArea.append('<textarea></textarea>');
|
||||
$editArea.find('textarea')
|
||||
.val(value)
|
||||
.live('keyup', function(e) {
|
||||
$(g.cEdit).find('.edit_box').val($(this).val());
|
||||
});
|
||||
$(g.cEdit).find('.edit_box').live('keyup', function(e) {
|
||||
$editArea.find('textarea').val($(this).val());
|
||||
});
|
||||
$editArea.append('<div class="cell_edit_hint">' + g.cellEditHint + '</div>');
|
||||
} else {
|
||||
/** @lends jQuery */
|
||||
//handle truncated/transformed values values
|
||||
$editArea.addClass('edit_area_loading');
|
||||
|
||||
@ -900,12 +903,14 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
|
||||
}
|
||||
|
||||
$td.data('original_data', data.value);
|
||||
$(g.cEdit).find('input[type=text]').val(data.value);
|
||||
$editArea.append('<textarea>'+data.value+'</textarea>');
|
||||
$editArea.find('textarea').live('keyup', function(e) {
|
||||
$(g.cEdit).find('input[type=text]').val($(this).val());
|
||||
});
|
||||
$(g.cEdit).find('input[type=text]').live('keyup', function(e) {
|
||||
$(g.cEdit).find('.edit_box').val(data.value);
|
||||
$editArea.append('<textarea></textarea>');
|
||||
$editArea.find('textarea')
|
||||
.val(data.value)
|
||||
.live('keyup', function(e) {
|
||||
$(g.cEdit).find('.edit_box').val($(this).val());
|
||||
});
|
||||
$(g.cEdit).find('.edit_box').live('keyup', function(e) {
|
||||
$editArea.find('textarea').val($(this).val());
|
||||
});
|
||||
$editArea.append('<div class="cell_edit_hint">' + g.cellEditHint + '</div>');
|
||||
@ -916,8 +921,9 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
|
||||
}) // end $.post()
|
||||
}
|
||||
g.isEditCellTextEditable = true;
|
||||
$editArea.show();
|
||||
} else if ($td.is('.datefield, .datetimefield, .timestampfield')) {
|
||||
var $input_field = $(g.cEdit).find('input[type=text]');
|
||||
var $input_field = $(g.cEdit).find('.edit_box');
|
||||
|
||||
// remember current datetime value in $input_field, if it is not null
|
||||
var is_null = $td.is('.null');
|
||||
@ -943,19 +949,10 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
|
||||
} else {
|
||||
$input_field.val('');
|
||||
}
|
||||
$editArea.show();
|
||||
} else {
|
||||
$editArea.append('<textarea>' + PMA_getCellValue(g.currentEditCell) + '</textarea>');
|
||||
$editArea.find('textarea').live('keyup', function(e) {
|
||||
$(g.cEdit).find('input[type=text]').val($(this).val());
|
||||
});
|
||||
$(g.cEdit).find('input[type=text]').live('keyup', function(e) {
|
||||
$editArea.find('textarea').val($(this).val());
|
||||
});
|
||||
$editArea.append('<div class="cell_edit_hint">' + g.cellEditHint + '</div>');
|
||||
g.isEditCellTextEditable = true;
|
||||
}
|
||||
|
||||
$editArea.show();
|
||||
}
|
||||
},
|
||||
|
||||
@ -1138,7 +1135,7 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
|
||||
if (!g.saveCellsAtOnce) {
|
||||
$(g.cEdit).find('*').attr('disabled', 'disabled');
|
||||
var $editArea = $(g.cEdit).find('.edit_area');
|
||||
$editArea.addClass('edit_area_posting');
|
||||
$(g.cEdit).find('.edit_box').addClass('edit_box_posting');
|
||||
} else {
|
||||
$('.save_edited').addClass('saving_edited_data')
|
||||
.find('input').attr('disabled', 'disabled'); // disable the save button
|
||||
@ -1153,52 +1150,52 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
|
||||
g.isSaving = false;
|
||||
if (!g.saveCellsAtOnce) {
|
||||
$(g.cEdit).find('*').removeAttr('disabled');
|
||||
$editArea.removeClass('edit_area_posting');
|
||||
$(g.cEdit).find('.edit_box').removeClass('edit_box_posting');
|
||||
} else {
|
||||
$('.save_edited').removeClass('saving_edited_data')
|
||||
.find('input').removeAttr('disabled'); // enable the save button back
|
||||
}
|
||||
if(data.success == true) {
|
||||
PMA_ajaxShowMessage(data.message);
|
||||
$('.to_be_saved').each(function() {
|
||||
var new_clause = $(this).parent('tr').data('new_clause');
|
||||
if (new_clause != '') {
|
||||
var $where_clause = $(this).parent('tr').find('.where_clause');
|
||||
var old_clause = $where_clause.attr('value');
|
||||
var decoded_old_clause = PMA_urldecode(old_clause);
|
||||
var decoded_new_clause = PMA_urldecode(new_clause);
|
||||
// update where_clause related data in each edited row
|
||||
$('.to_be_saved').parents('tr').each(function() {
|
||||
var new_clause = $(this).data('new_clause');
|
||||
var $where_clause = $(this).find('.where_clause');
|
||||
var old_clause = $where_clause.attr('value');
|
||||
var decoded_old_clause = PMA_urldecode(old_clause);
|
||||
var decoded_new_clause = PMA_urldecode(new_clause);
|
||||
|
||||
$where_clause.attr('value', new_clause);
|
||||
// update Edit, Copy, and Delete links also
|
||||
$(this).parent('tr').find('a').each(function() {
|
||||
$(this).attr('href', $(this).attr('href').replace(old_clause, new_clause));
|
||||
// update delete confirmation in Delete link
|
||||
if ($(this).attr('href').indexOf('DELETE') > -1) {
|
||||
$(this).removeAttr('onclick')
|
||||
.unbind('click')
|
||||
.bind('click', function() {
|
||||
return confirmLink(this, 'DELETE FROM `' + g.db + '`.`' + g.table + '` WHERE ' +
|
||||
decoded_new_clause + (is_unique ? '' : ' LIMIT 1'));
|
||||
});
|
||||
}
|
||||
});
|
||||
// update the multi edit checkboxes
|
||||
$(this).parent('tr').find('input[type=checkbox]').each(function() {
|
||||
var $checkbox = $(this);
|
||||
var checkbox_name = $checkbox.attr('name');
|
||||
var checkbox_value = $checkbox.attr('value');
|
||||
$where_clause.attr('value', new_clause);
|
||||
// update Edit, Copy, and Delete links also
|
||||
$(this).find('a').each(function() {
|
||||
$(this).attr('href', $(this).attr('href').replace(old_clause, new_clause));
|
||||
// update delete confirmation in Delete link
|
||||
if ($(this).attr('href').indexOf('DELETE') > -1) {
|
||||
$(this).removeAttr('onclick')
|
||||
.unbind('click')
|
||||
.bind('click', function() {
|
||||
return confirmLink(this, 'DELETE FROM `' + g.db + '`.`' + g.table + '` WHERE ' +
|
||||
decoded_new_clause + (is_unique ? '' : ' LIMIT 1'));
|
||||
});
|
||||
}
|
||||
});
|
||||
// update the multi edit checkboxes
|
||||
$(this).find('input[type=checkbox]').each(function() {
|
||||
var $checkbox = $(this);
|
||||
var checkbox_name = $checkbox.attr('name');
|
||||
var checkbox_value = $checkbox.attr('value');
|
||||
|
||||
$checkbox.attr('name', checkbox_name.replace(old_clause, new_clause));
|
||||
$checkbox.attr('value', checkbox_value.replace(decoded_old_clause, decoded_new_clause));
|
||||
});
|
||||
}
|
||||
$checkbox.attr('name', checkbox_name.replace(old_clause, new_clause));
|
||||
$checkbox.attr('value', checkbox_value.replace(decoded_old_clause, decoded_new_clause));
|
||||
});
|
||||
});
|
||||
// remove possible previous feedback message
|
||||
// update the display of executed SQL query command
|
||||
$('#result_query').remove();
|
||||
if (typeof data.sql_query != 'undefined') {
|
||||
// display feedback
|
||||
$('#sqlqueryresults').prepend(data.sql_query);
|
||||
}
|
||||
// hide and/or update the successfully saved cells
|
||||
g.hideEditCell(true, data);
|
||||
|
||||
// remove the "Save edited cells" button
|
||||
@ -1247,6 +1244,7 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
|
||||
var value;
|
||||
|
||||
if ($(g.cEdit).find('.edit_area').is('.edit_area_loading')) {
|
||||
// the edit area is still loading (retrieving cell data), no need to post
|
||||
need_to_post = false;
|
||||
} else if (is_null) {
|
||||
if (!g.wasEditedCellNull) {
|
||||
@ -1255,7 +1253,7 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
|
||||
}
|
||||
} else {
|
||||
if ($this_field.is('.bit')) {
|
||||
this_field_params[field_name] = '0b' + $(g.cEdit).find('textarea').val();
|
||||
this_field_params[field_name] = '0b' + $(g.cEdit).find('.edit_box').val();
|
||||
} else if ($this_field.is('.set')) {
|
||||
$test_element = $(g.cEdit).find('select');
|
||||
this_field_params[field_name] = $test_element.map(function(){
|
||||
@ -1273,10 +1271,8 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
|
||||
if ($test_element.length != 0) {
|
||||
this_field_params[field_name] = $test_element.text();
|
||||
}
|
||||
} else if ($this_field.is('.datefield, .datetimefield, .timestampfield')) {
|
||||
this_field_params[field_name] = $(g.cEdit).find('input[type=text]').val();
|
||||
} else {
|
||||
this_field_params[field_name] = $(g.cEdit).find('textarea').val();
|
||||
this_field_params[field_name] = $(g.cEdit).find('.edit_box').val();
|
||||
}
|
||||
if (g.wasEditedCellNull || this_field_params[field_name] != PMA_getCellValue(g.currentEditCell)) {
|
||||
need_to_post = true;
|
||||
@ -1533,7 +1529,7 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
|
||||
|
||||
// adjust g.cEdit
|
||||
g.cEdit.className = 'cEdit';
|
||||
$(g.cEdit).html('<input type="text" /><div class="edit_area" />');
|
||||
$(g.cEdit).html('<textarea class="edit_box" rows="1" ></textarea><div class="edit_area" />');
|
||||
$(g.cEdit).hide();
|
||||
|
||||
// assign cell editing hint
|
||||
@ -1560,10 +1556,10 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
|
||||
e.preventDefault();
|
||||
}
|
||||
});
|
||||
$(g.cEdit).find('input[type=text]').focus(function(e) {
|
||||
$(g.cEdit).find('.edit_box').focus(function(e) {
|
||||
g.showEditArea();
|
||||
});
|
||||
$(g.cEdit).find('input[type=text], select').live('keydown', function(e) {
|
||||
$(g.cEdit).find('.edit_box, select').live('keydown', function(e) {
|
||||
if (e.which == 13) {
|
||||
// post on pressing "Enter"
|
||||
e.preventDefault();
|
||||
@ -1614,9 +1610,6 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
|
||||
* Initialize grid
|
||||
******************/
|
||||
|
||||
// add relative position to table so that resize handlers are correctly positioned
|
||||
$(t).css('position', 'relative');
|
||||
|
||||
// wrap all data cells, except actions cell, with span
|
||||
$(t).find('th, td:not(:has(span))')
|
||||
.wrapInner('<span />');
|
||||
@ -1658,6 +1651,9 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
|
||||
// add table class
|
||||
$(t).addClass('pma_table');
|
||||
|
||||
// add relative position to global div so that resize handlers are correctly positioned
|
||||
$(g.gDiv).css('position', 'relative');
|
||||
|
||||
// link the global div
|
||||
$(t).before(g.gDiv);
|
||||
$(g.gDiv).append(t);
|
||||
|
||||
@ -74,9 +74,9 @@ rule 'Slow query logging'
|
||||
|
||||
#
|
||||
# versions
|
||||
rule 'Release Series'
|
||||
rule 'Release Series' [!PMA_DRIZZLE]
|
||||
version
|
||||
!PMA_DRIZZLE && substr(value,0,1) <= 5 && substr(value,2,1) < 1
|
||||
substr(value,0,1) <= 5 && substr(value,2,1) < 1
|
||||
The MySQL server version less then 5.1.
|
||||
You should upgrade, as MySQL 5.1 has improved performance, and MySQL 5.5 even more so.
|
||||
Current version: %s | value
|
||||
@ -131,7 +131,7 @@ rule 'Query cache usage' [!fired('Query cache disabled')]
|
||||
Questions / Uptime
|
||||
value > 100
|
||||
Suboptimal caching method.
|
||||
You are using the MySQL Query cache with a fairly high traffic database. It might be worth considering to use <a href="http://dev.mysql.com/doc/refman/5.1/en/ha-memcached.html">memcached</a> instead of the MySQL Query cache, especially if you have multiple slaves.
|
||||
You are using the MySQL Query cache with a fairly high traffic database. It might be worth considering to use <a href="http://dev.mysql.com/doc/refman/5.5/en/ha-memcached.html">memcached</a> instead of the MySQL Query cache, especially if you have multiple slaves.
|
||||
The query cache is enabled and the server receives %d queries per second. This rule fires if there is more than 100 queries per second. | round(value,1)
|
||||
|
||||
rule 'Query cache efficiency (%)' [Com_select + Qcache_hits > 0 && !fired('Query cache disabled')]
|
||||
@ -214,6 +214,7 @@ rule 'Rate of reading first index entry'
|
||||
This usually indicates frequent full index scans. Full index scans are faster than table scans but require lots of CPU cycles in big tables, if those tables that have or had high volumes of UPDATEs and DELETEs, running 'OPTIMIZE TABLE' might reduce the amount of and/or speed up full index scans. Other than that full index scans can only be reduced by rewriting queries.
|
||||
Index scans average: %s, this value should be less than 1 per hour | PMA_bytime(value,2)
|
||||
|
||||
# This rule may be applicable to MyISAM-only workloads, but completely wrong for InnoDB - http://www.mysqlperformanceblog.com/2010/06/15/what-does-handler_read_rnd-mean/
|
||||
rule 'Rate of reading fixed position'
|
||||
Handler_read_rnd / Uptime
|
||||
value * 60 * 60 > 1
|
||||
@ -247,19 +248,19 @@ rule 'Temp disk rate'
|
||||
Created_tmp_disk_tables / Uptime
|
||||
value * 60 * 60 > 1
|
||||
Many temporary tables are being written to disk instead of being kept in memory.
|
||||
Increasing {max_heap_table_size} and {tmp_table_size} might help. However some temporary tables are always being written to disk, independent of the value of these variables. To eliminate these you will have to rewrite your queries to avoid those conditions (Within a temprorary table: Presence of a BLOB or TEXT column or presence of a column bigger than 512 bytes) as mentioned in in the <a href="http://dev.mysql.com/doc/refman/5.0/en/internal-temporary-tables.html">MySQL Documentation</a>
|
||||
Increasing {max_heap_table_size} and {tmp_table_size} might help. However some temporary tables are always being written to disk, independent of the value of these variables. To eliminate these you will have to rewrite your queries to avoid those conditions (Within a temprorary table: Presence of a BLOB or TEXT column or presence of a column bigger than 512 bytes) as mentioned in in the <a href="http://dev.mysql.com/doc/refman/5.5/en/internal-temporary-tables.html">MySQL Documentation</a>
|
||||
Rate of temporay tables being written to disk: %s, this value should be less than 1 per hour | PMA_bytime(value,2)
|
||||
|
||||
# I couldn't find any source on the internet that suggests a direct relation between high counts of temporary tables and any of these variables.
|
||||
# Several independent Blog entries suggest (http://ronaldbradford.com/blog/more-on-understanding-sort_buffer_size-2010-05-10/ and http://www.xaprb.com/blog/2010/05/09/how-to-tune-mysqls-sort_buffer_size/)
|
||||
# that sort_buffer_size should be left as it is. And increasing read_buffer_size is only suggested when there are a lot of
|
||||
# table scans (http://dev.mysql.com/doc/refman/5.1/en/server-system-variables.html#sysvar_read_buffer_size and other sources) though
|
||||
# table scans (http://dev.mysql.com/doc/refman/5.5/en/server-system-variables.html#sysvar_read_buffer_size and other sources) though
|
||||
# setting it too high is bad too (http://www.mysqlperformanceblog.com/2007/09/17/mysql-what-read_buffer_size-value-is-optimal/).
|
||||
#rule 'Temp table rate'
|
||||
# Created_tmp_tables / Uptime
|
||||
# value * 60 * 60 > 1
|
||||
# Many intermediate temporary tables are being created.
|
||||
# This may be caused by queries under certain conditions as mentioned in the <a href="http://dev.mysql.com/doc/refman/5.0/en/internal-temporary-tables.html">MySQL Documentation</a>. Consider increasing {sort_buffer_size} (sorting), {read_rnd_buffer_size} (random read buffer, ie, post-sort), {read_buffer_size} (sequential scan).
|
||||
# This may be caused by queries under certain conditions as mentioned in the <a href="http://dev.mysql.com/doc/refman/5.5/en/internal-temporary-tables.html">MySQL Documentation</a>. Consider increasing {sort_buffer_size} (sorting), {read_rnd_buffer_size} (random read buffer, ie, post-sort), {read_buffer_size} (sequential scan).
|
||||
|
||||
#
|
||||
# MyISAM index cache
|
||||
@ -428,9 +429,9 @@ rule 'InnoDB buffer pool size' [system_memory > 0]
|
||||
# other
|
||||
rule 'MyISAM concurrent inserts'
|
||||
concurrent_insert
|
||||
value == 0
|
||||
value === 0 || value === 'NEVER'
|
||||
Enable concurrent_insert by setting it to 1
|
||||
Setting {concurrent_insert} to 1 reduces contention between readers and writers for a given table. See also <a href="http://dev.mysql.com/doc/refman/5.0/en/concurrent-inserts.html">MySQL Documentation</a>
|
||||
Setting {concurrent_insert} to 1 reduces contention between readers and writers for a given table. See also <a href="http://dev.mysql.com/doc/refman/5.5/en/concurrent-inserts.html">MySQL Documentation</a>
|
||||
concurrent_insert is set to 0
|
||||
|
||||
# INSERT DELAYED USAGE
|
||||
|
||||
@ -101,7 +101,7 @@ if (false !== $possibly_uploaded_val) {
|
||||
}
|
||||
|
||||
// The Null checkbox was unchecked for this field
|
||||
if (empty($val) && isset($me_fields_null_prev[$key]) && ! isset($me_fields_null[$key])) {
|
||||
if (empty($val) && ! empty($me_fields_null_prev[$key]) && ! isset($me_fields_null[$key])) {
|
||||
$val = "''";
|
||||
}
|
||||
} // end else (field value in the form)
|
||||
|
||||
177
po/es.po
177
po/es.po
@ -4,7 +4,7 @@ msgstr ""
|
||||
"Project-Id-Version: phpMyAdmin 3.5.0-dev\n"
|
||||
"Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n"
|
||||
"POT-Creation-Date: 2011-08-17 16:58+0200\n"
|
||||
"PO-Revision-Date: 2011-08-19 01:20+0200\n"
|
||||
"PO-Revision-Date: 2011-08-19 21:45+0200\n"
|
||||
"Last-Translator: Matías Bellone <matiasbellone@gmail.com>\n"
|
||||
"Language-Team: spanish <es@li.org>\n"
|
||||
"Language: es\n"
|
||||
@ -12347,28 +12347,37 @@ msgid ""
|
||||
"(often invalidated due to table updates) increasing {query_cache_limit} "
|
||||
"might reduce efficiency."
|
||||
msgstr ""
|
||||
"Cambiar «query_cache_limit» (normalmente aumentarlo) puede aumentar la "
|
||||
"eficiencia. Esta variable determina el tamaño máximo que puede tener el "
|
||||
"resultado de una consulta para ser agregada al caché de consultas. Si hay "
|
||||
"muchos resultados de consultas mayores a 1 MiB que son útiles al caché "
|
||||
"(muchas lecturas, pocas escrituras) entonces aumentar «query_cache_limit» "
|
||||
"aumentará la eficiencia. Sin embargo, en el caso que muchos resultados de "
|
||||
"consultas mayores a 1 MiB que no sean útiles al caché (invalidados "
|
||||
"frecuentemente por actualizaciones a la tabla) aumentar «query_cache_limit» "
|
||||
"podría reducir la eficiencia."
|
||||
|
||||
#: po/advisory_rules.php:103
|
||||
msgid "query_cache_limit is set to 1 MiB"
|
||||
msgstr ""
|
||||
msgstr "«query_cache_limit» está definido a 1 MiB"
|
||||
|
||||
#: po/advisory_rules.php:105
|
||||
#, fuzzy
|
||||
#| msgid "Allows creating temporary tables."
|
||||
msgid "Percentage of sorts that cause temporary tables"
|
||||
msgstr "Permite la creación de tablas temporales."
|
||||
msgstr "Porcentaje de ordenaciones que causan tablas temporales"
|
||||
|
||||
#: po/advisory_rules.php:106 po/advisory_rules.php:111
|
||||
#, fuzzy
|
||||
#| msgid "Allows creating temporary tables."
|
||||
msgid "Too many sorts are causing temporary tables."
|
||||
msgstr "Permite la creación de tablas temporales."
|
||||
msgstr "Demasiadas ordenaciones causan tablas temporales."
|
||||
|
||||
#: po/advisory_rules.php:107 po/advisory_rules.php:112
|
||||
msgid ""
|
||||
"Consider increasing sort_buffer_size and/or read_rnd_buffer_size, depending "
|
||||
"on your system memory limits"
|
||||
msgstr ""
|
||||
"Considere aumentar «sort_buffer_size» y/o «read_rnd_buffer_size» dependiendo "
|
||||
"de los límites de memoria del sistema"
|
||||
|
||||
#: po/advisory_rules.php:108
|
||||
#, php-format
|
||||
@ -12376,28 +12385,30 @@ msgid ""
|
||||
"%s%% of all sorts cause temporary tables, this value should be lower than "
|
||||
"10%%."
|
||||
msgstr ""
|
||||
"%s%% de todas las ordenaciones causan tablas temporales, este valor debería "
|
||||
"de ser menor a 10%%."
|
||||
|
||||
#: po/advisory_rules.php:110
|
||||
#, fuzzy
|
||||
#| msgid "Allows creating temporary tables."
|
||||
msgid "Rate of sorts that cause temporary tables"
|
||||
msgstr "Permite la creación de tablas temporales."
|
||||
msgstr "Tasa de ordenaciones que causan tablas temporales"
|
||||
|
||||
#: po/advisory_rules.php:113
|
||||
#, php-format
|
||||
msgid ""
|
||||
"Temporary tables average: %s, this value should be less than 1 per hour."
|
||||
msgstr ""
|
||||
"Promedio de tablas temporales: %s, este valor debería de ser menor a 1 por "
|
||||
"hora."
|
||||
|
||||
#: po/advisory_rules.php:115
|
||||
#, fuzzy
|
||||
#| msgid "Start row"
|
||||
msgid "Sort rows"
|
||||
msgstr "Fila de inicio"
|
||||
msgstr "Filas ordenadas"
|
||||
|
||||
#: po/advisory_rules.php:116
|
||||
msgid "There are lots of rows being sorted."
|
||||
msgstr ""
|
||||
msgstr "Hay demasiadas filas siendo ordenadas."
|
||||
|
||||
#: po/advisory_rules.php:117
|
||||
msgid ""
|
||||
@ -12406,42 +12417,49 @@ msgid ""
|
||||
"indexed fields in the ORDER BY clause, as this will result in much faster "
|
||||
"sorting"
|
||||
msgstr ""
|
||||
"Si bien no hay nada de malo en ordenar una gran cantidad de filas, podría "
|
||||
"llegar a desea asegurarse que las consultas que requieren gran cantidad de "
|
||||
"ordenación utilicen campos indexados en la cláusula «ORDER BY», lo que "
|
||||
"resultará en una ordenación más rápida"
|
||||
|
||||
#: po/advisory_rules.php:118
|
||||
#, php-format
|
||||
msgid "Sorted rows average: %s"
|
||||
msgstr ""
|
||||
msgstr "Promedio de filas ordenadas: %s"
|
||||
|
||||
#: po/advisory_rules.php:120
|
||||
#, fuzzy
|
||||
#| msgid "There are no routines to display."
|
||||
msgid "Rate of joins without indexes"
|
||||
msgstr "No hay rutinas para mostrar."
|
||||
msgstr "Tasa de uniones («JOIN») sin índices"
|
||||
|
||||
#: po/advisory_rules.php:121
|
||||
#, fuzzy
|
||||
#| msgid "There are no routines to display."
|
||||
msgid "There are too many joins without indexes."
|
||||
msgstr "No hay rutinas para mostrar."
|
||||
msgstr "Hay demasiadas uniones («JOIN») sin índices."
|
||||
|
||||
#: po/advisory_rules.php:122
|
||||
msgid ""
|
||||
"This means that joins are doing full table scans. Adding indexes for the "
|
||||
"fields being used in the join conditions will greatly speed up table joins"
|
||||
msgstr ""
|
||||
"Esto significa que las uniones («JOIN») están realizando escrutinios "
|
||||
"completos sobre tablas. Agregar índices a los campos siendo utilizandos en "
|
||||
"las condiciones de la unión las acelerarán en gran medida"
|
||||
|
||||
#: po/advisory_rules.php:123
|
||||
#, php-format
|
||||
msgid "Table joins average: %s, this value should be less than 1 per hour"
|
||||
msgstr ""
|
||||
"Promedio de uniones («JOIN») de tablas: %s, este promedio debería ser menor "
|
||||
"a 1 por hora"
|
||||
|
||||
#: po/advisory_rules.php:125
|
||||
msgid "Rate of reading first index entry"
|
||||
msgstr ""
|
||||
msgstr "Tasa de lectura del primer índice"
|
||||
|
||||
#: po/advisory_rules.php:126
|
||||
msgid "The rate of reading the first index entry is high."
|
||||
msgstr ""
|
||||
msgstr "La tasa de lectura del primer índice es alta."
|
||||
|
||||
#: po/advisory_rules.php:127
|
||||
msgid ""
|
||||
@ -12452,19 +12470,28 @@ msgid ""
|
||||
"scans. Other than that full index scans can only be reduced by rewriting "
|
||||
"queries."
|
||||
msgstr ""
|
||||
"Esto normalmente indica escruitinios completos de índices. Éstos son más "
|
||||
"rápidos que escrutinios de tablas pero requieren gran cantidad de clicos de "
|
||||
"CPU en tablas grandes. Si dichas tablas tienen o han tenido una gran "
|
||||
"cantidad de actualizaciones («UPDATE» o «DELETE»), ejecutar «OPTIMIZE TABLE» "
|
||||
"podría reducir dicha cantidad y/o acelerar los escrutinios completos de "
|
||||
"índices. De otra forma, la cantidad de escrutinios completos de índices sólo "
|
||||
"puede ser reducida re-escribiendo las consultas."
|
||||
|
||||
#: po/advisory_rules.php:128
|
||||
#, php-format
|
||||
msgid "Index scans average: %s, this value should be less than 1 per hour"
|
||||
msgstr ""
|
||||
"Promedio de escrutinios de índices: %s, este valor debería de ser menor a 1 "
|
||||
"por hora"
|
||||
|
||||
#: po/advisory_rules.php:130
|
||||
msgid "Rate of reading fixed position"
|
||||
msgstr ""
|
||||
msgstr "Tasa de lectura de una posición fija"
|
||||
|
||||
#: po/advisory_rules.php:131
|
||||
msgid "The rate of reading data from a fixed position is high."
|
||||
msgstr ""
|
||||
msgstr "La tasa de lecutura de datos de una posición fija es alta."
|
||||
|
||||
#: po/advisory_rules.php:132
|
||||
msgid ""
|
||||
@ -12472,6 +12499,9 @@ msgid ""
|
||||
"scan, including join queries that do not use indexes. Add indexes where "
|
||||
"applicable."
|
||||
msgstr ""
|
||||
"Esto indica que muchas consultas necesitan ordenar resultados y/o realizar "
|
||||
"un escrutinio completo de tablas, incluyendo consultas con uniones («JOIN») "
|
||||
"que no utilizan índices. Agregue índices donde sea aplicable."
|
||||
|
||||
#: po/advisory_rules.php:133
|
||||
#, php-format
|
||||
@ -12479,38 +12509,42 @@ msgid ""
|
||||
"Rate of reading fixed position average: %s, this value should be less than 1 "
|
||||
"per hour"
|
||||
msgstr ""
|
||||
"Tasa de lectura de una posición fija: %s, este valor debería de ser menor a "
|
||||
"1 por hora"
|
||||
|
||||
#: po/advisory_rules.php:135
|
||||
#, fuzzy
|
||||
#| msgid "Where to show the table row links"
|
||||
msgid "Rate of reading next table row"
|
||||
msgstr "Donde mostrar los enlaces de filas de tabla"
|
||||
msgstr "Tasa de lectura de la siguiente fila de una tabla"
|
||||
|
||||
#: po/advisory_rules.php:136
|
||||
#, fuzzy
|
||||
#| msgid "Where to show the table row links"
|
||||
msgid "The rate of reading the next table row is high."
|
||||
msgstr "Donde mostrar los enlaces de filas de tabla"
|
||||
msgstr "La tasa de lecutra de la siguiente fila de una tabla es alta."
|
||||
|
||||
#: po/advisory_rules.php:137
|
||||
msgid ""
|
||||
"This indicates that many queries are doing full table scans. Add indexes "
|
||||
"where applicable."
|
||||
msgstr ""
|
||||
"Esto indica que muchas consultas están realizando escrutinios completos de "
|
||||
"tablas. Agregue índices donde sea aplicable."
|
||||
|
||||
#: po/advisory_rules.php:138
|
||||
#, php-format
|
||||
msgid ""
|
||||
"Rate of reading next table row: %s, this value should be less than 1 per hour"
|
||||
msgstr ""
|
||||
"Tasa de lectura de la siguiente fila de una tabla: %s, este valor debería de "
|
||||
"ser menor a 1 por hora"
|
||||
|
||||
#: po/advisory_rules.php:140
|
||||
msgid "tmp_table_size vs. max_heap_table_size"
|
||||
msgstr ""
|
||||
msgstr "«tmp_table_size» vs. «max_heap_table_size»"
|
||||
|
||||
#: po/advisory_rules.php:141
|
||||
msgid "tmp_table_size and max_heap_table_size are not the same."
|
||||
msgstr ""
|
||||
msgstr "«tmp_table_size» y «max_heap_table_size» no son iguales."
|
||||
|
||||
#: po/advisory_rules.php:142
|
||||
msgid ""
|
||||
@ -12519,23 +12553,29 @@ msgid ""
|
||||
"wish to increase the in-memory table limit you will have to increase the "
|
||||
"other value as well."
|
||||
msgstr ""
|
||||
"Si ha modificado alguno de ellos deliberadamente: el servidor utiliza el "
|
||||
"valor menor de ellos para determinar el tamaño máximo de tablas en memoria. "
|
||||
"Si desea aumentar el límite de tamaño de tablas en memoria deberá también "
|
||||
"aumentar el otro valor."
|
||||
|
||||
#: po/advisory_rules.php:143
|
||||
#, php-format
|
||||
msgid "Current values are tmp_table_size: %s, max_heap_table_size: %s"
|
||||
msgstr ""
|
||||
"Los valores actuales son «tmp_table_size»: %s, «max_heap_table_size»: %s"
|
||||
|
||||
#: po/advisory_rules.php:145
|
||||
#, fuzzy
|
||||
#| msgid "Where to show the table row links"
|
||||
msgid "Percentage of temp tables on disk"
|
||||
msgstr "Donde mostrar los enlaces de filas de tabla"
|
||||
msgstr "Porcentaje de tablas temporales en disco"
|
||||
|
||||
#: po/advisory_rules.php:146 po/advisory_rules.php:151
|
||||
msgid ""
|
||||
"Many temporary tables are being written to disk instead of being kept in "
|
||||
"memory."
|
||||
msgstr ""
|
||||
"Muchas tablas temporales están siendo escritas la disco en lugar de ser "
|
||||
"mantenidas en memoria."
|
||||
|
||||
#: po/advisory_rules.php:147
|
||||
msgid ""
|
||||
@ -12547,6 +12587,14 @@ msgid ""
|
||||
"mentioned in the beginning of an <a href=\\\"http://www.facebook.com/note."
|
||||
"php?note_id=10150111255065841&comments\\\">Article by the Pythian Group</a>"
|
||||
msgstr ""
|
||||
"Aumentar «max_heap_table_size» y «tmp_table_size» podría ayudar. Sin "
|
||||
"embargo, algunas tablas temporales son siempre escritas a disco "
|
||||
"independientemente del valor de estas variables. Para eliminarlas deberá re-"
|
||||
"escribir las consultas para evitar estas condiciones (en una tabla temporal: "
|
||||
"la presencia de una columna «BLOB» o «TEXT», o la presencia de una columna "
|
||||
"mayor a 512 bytes) como se menciona al comienzo del <a href=\\\"http://www.fac"
|
||||
"ebook.com/note.php?note_id=10150111255065841&comments\\\">artículo de Pythian "
|
||||
"Group</a>"
|
||||
|
||||
#: po/advisory_rules.php:148
|
||||
#, php-format
|
||||
@ -12554,15 +12602,14 @@ msgid ""
|
||||
"%s%% of all temporary tables are being written to disk, this value should be "
|
||||
"below 25%%"
|
||||
msgstr ""
|
||||
"%s%% de todas las tablas temporales son escritas al disco, este valor "
|
||||
"debería de ser menor a 25%%"
|
||||
|
||||
# singular: tabla
|
||||
# plural: tablas
|
||||
#: po/advisory_rules.php:150
|
||||
#, fuzzy
|
||||
#| msgid "%s table"
|
||||
#| msgid_plural "%s tables"
|
||||
msgid "Temp disk rate"
|
||||
msgstr "%s tabla"
|
||||
msgstr "Tasa de tablas temporales en el disco"
|
||||
|
||||
#: po/advisory_rules.php:152
|
||||
msgid ""
|
||||
@ -12574,6 +12621,14 @@ msgid ""
|
||||
"mentioned in in the <a href=\\\"http://dev.mysql.com/doc/refman/5.0/en/"
|
||||
"internal-temporary-tables.html\\\">MySQL Documentation</a>"
|
||||
msgstr ""
|
||||
"Aumentar «max_heap_table_size» y «tmp_table_size» podría ayudar. Sin "
|
||||
"embargo, algunas tablas temporales son siempre escritas a disco "
|
||||
"independientemente del valor de estas variables. Para eliminarlas deberá re-"
|
||||
"escribir las consultas para evitar estas condiciones (en una tabla temporal: "
|
||||
"la presencia de una columna «BLOB» o «TEXT», o la presencia de una columna "
|
||||
"mayor a 512 bytes) como se menciona en la <a "
|
||||
"href=\\\"http://dev.mysql.com/doc/refman/5.0/en/internal-temporary-"
|
||||
"tables.html\\\">documentación de MySQL</a>"
|
||||
|
||||
#: po/advisory_rules.php:153
|
||||
#, php-format
|
||||
@ -12581,38 +12636,43 @@ msgid ""
|
||||
"Rate of temporay tables being written to disk: %s, this value should be less "
|
||||
"than 1 per hour"
|
||||
msgstr ""
|
||||
"La tasa de tablas temporales escritas al disco: %s, este valor debería ser "
|
||||
"menor a 1 por hora"
|
||||
|
||||
#: po/advisory_rules.php:155
|
||||
#, fuzzy
|
||||
#| msgid "Sort buffer size"
|
||||
msgid "MyISAM key buffer size"
|
||||
msgstr "Organizar el tamaño del búfer de memoria"
|
||||
msgstr "Tamaño de búfer de claves MyISAM"
|
||||
|
||||
#: po/advisory_rules.php:156
|
||||
msgid "Key buffer is not initialized. No MyISAM indexes will be cached."
|
||||
msgstr ""
|
||||
"El búfer de claves no fue inicializado. No se utilizará un caché de claves "
|
||||
"MyISAM."
|
||||
|
||||
#: po/advisory_rules.php:157
|
||||
msgid ""
|
||||
"Set {key_buffer_size} depending on the size of your MyISAM indexes. 64M is a "
|
||||
"good start."
|
||||
msgstr ""
|
||||
"Defina «key_buffer_size» dependiendo del tamaño de los índices MyISAM. 64M "
|
||||
"es un buen comienzo."
|
||||
|
||||
#: po/advisory_rules.php:158
|
||||
msgid "key_buffer_size is 0"
|
||||
msgstr ""
|
||||
msgstr "«key_buffer_size» es 0"
|
||||
|
||||
#: po/advisory_rules.php:160
|
||||
#, fuzzy, php-format
|
||||
#, php-format
|
||||
#| msgid "Sort buffer size"
|
||||
msgid "Max %% MyISAM key buffer ever used"
|
||||
msgstr "Organizar el tamaño del búfer de memoria"
|
||||
msgstr "Porcentaje máximo del búfer de claves MyISAM usado en algún momento"
|
||||
|
||||
#: po/advisory_rules.php:161 po/advisory_rules.php:166
|
||||
#, fuzzy, php-format
|
||||
#, php-format
|
||||
#| msgid "Sort buffer size"
|
||||
msgid "MyISAM key buffer (index cache) %% used is low."
|
||||
msgstr "Organizar el tamaño del búfer de memoria"
|
||||
msgstr "El porcentaje del búfer de claves MyISAM (caché de índices) es bajo."
|
||||
|
||||
#: po/advisory_rules.php:162 po/advisory_rules.php:167
|
||||
msgid ""
|
||||
@ -12620,93 +12680,106 @@ msgid ""
|
||||
"tables to see if indexes have been removed, or examine queries and "
|
||||
"expectations about what indexes are being used."
|
||||
msgstr ""
|
||||
"Podría necesitar aumentar el valor de «key_buffer_size», examine sus tablas "
|
||||
"nuevamente para ver si se han eliminado índices o sus consultas y las "
|
||||
"expectativas de uso de los índices."
|
||||
|
||||
#: po/advisory_rules.php:163
|
||||
#, php-format
|
||||
msgid "max %% MyISAM key buffer ever used: %s, this value should be above 95%%"
|
||||
msgstr ""
|
||||
"Maxímo porcentaje de búfer de claves MyISAM utilizado en algún momento: %s, "
|
||||
"este valor debería ser mayor a 95%%"
|
||||
|
||||
#: po/advisory_rules.php:165
|
||||
#, fuzzy
|
||||
#| msgid "Sort buffer size"
|
||||
msgid "Percentage of MyISAM key buffer used"
|
||||
msgstr "Organizar el tamaño del búfer de memoria"
|
||||
msgstr "Porcentaje de búfer de claves MyISAM utilizado"
|
||||
|
||||
#: po/advisory_rules.php:168
|
||||
#, php-format
|
||||
msgid "%% MyISAM key buffer used: %s, this value should be above 95%%"
|
||||
msgstr ""
|
||||
"Porcentaje de búfer de claves MyISAM utilizado: %s, este valor debería ser "
|
||||
"mayor a 95%%"
|
||||
|
||||
#: po/advisory_rules.php:170
|
||||
msgid "Percentage of index reads from memory"
|
||||
msgstr ""
|
||||
msgstr "Porcentaje de índices leídos desde memoria"
|
||||
|
||||
#: po/advisory_rules.php:171
|
||||
#, php-format
|
||||
msgid "The %% of indexes that use the MyISAM key buffer is low."
|
||||
msgstr ""
|
||||
"El porcentaje de índices que utilizan el búfer de claves MyISAM es bajo."
|
||||
|
||||
#: po/advisory_rules.php:172
|
||||
msgid "You may need to increase {key_buffer_size}."
|
||||
msgstr ""
|
||||
msgstr "Podría necesitar aumentar «key_buffer_size»."
|
||||
|
||||
#: po/advisory_rules.php:173
|
||||
#, php-format
|
||||
msgid "Index reads from memory: %s%%, this value should be above 95%%"
|
||||
msgstr ""
|
||||
msgstr "Índices leídos desde memoria: %s%%, este valor debería ser mayor a 95%%"
|
||||
|
||||
#: po/advisory_rules.php:175
|
||||
#, fuzzy
|
||||
#| msgid "Create table"
|
||||
msgid "Rate of table open"
|
||||
msgstr "Crear tabla"
|
||||
msgstr "Tasa de apertura de tablas"
|
||||
|
||||
#: po/advisory_rules.php:176
|
||||
#, fuzzy
|
||||
#| msgid "The current number of pending writes."
|
||||
msgid "The rate of opening tables is high."
|
||||
msgstr "El número actual de escrituras pendientess."
|
||||
msgstr "La tasa de apertura de tablas es alta."
|
||||
|
||||
#: po/advisory_rules.php:177
|
||||
msgid ""
|
||||
"Opening tables requires disk I/O which is costly. Increasing "
|
||||
"{table_open_cache} might avoid this."
|
||||
msgstr ""
|
||||
"Abrir tablas necesita E/S en disco, lo cual es costoso. Aumentar "
|
||||
"«table_open_cache» podría evitarlo."
|
||||
|
||||
#: po/advisory_rules.php:178
|
||||
#, php-format
|
||||
msgid "Opened table rate: %s, this value should be less than 10 per hour"
|
||||
msgstr ""
|
||||
"Tasa de apertura de tablas: %s, este valor debería ser menor a 10 por hora"
|
||||
|
||||
#: po/advisory_rules.php:180
|
||||
#, fuzzy
|
||||
#| msgid "Format of imported file"
|
||||
msgid "Percentage of used open files limit"
|
||||
msgstr "Formato del archivo importado"
|
||||
msgstr "Porcentaje de uso del límite de archivos de abiertos"
|
||||
|
||||
# El mensaje de error llegará de PHP o MySQL por lo que no me parece correcto traducirlo
|
||||
#: po/advisory_rules.php:181
|
||||
msgid ""
|
||||
"The number of open files is approaching the max number of open files. You "
|
||||
"may get a \\\"Too many open files\\\" error."
|
||||
msgstr ""
|
||||
"La cantidad de archivos abiertos se acerca al máximo permitido. Podría "
|
||||
"llegar a obtener un error al respecto («Too many open files»)."
|
||||
|
||||
#: po/advisory_rules.php:182 po/advisory_rules.php:187
|
||||
msgid ""
|
||||
"Consider increasing {open_files_limit}, and check the error log when "
|
||||
"restarting after changing open_files_limit."
|
||||
msgstr ""
|
||||
"Considere aumentar «open_files_limit», y revise el registro de errores al "
|
||||
"reiniciar luego de cambiar esta variable."
|
||||
|
||||
#: po/advisory_rules.php:183
|
||||
#, php-format
|
||||
msgid ""
|
||||
"The number of opened files is at %s%% of the limit. It should be below 85%%"
|
||||
msgstr ""
|
||||
"La cantidad de archivos abiertos es %s%% del límite. Debería ser menor a 85%"
|
||||
"%"
|
||||
|
||||
#: po/advisory_rules.php:185
|
||||
#, fuzzy
|
||||
#| msgid "Format of imported file"
|
||||
msgid "Rate of open files"
|
||||
msgstr "Formato del archivo importado"
|
||||
msgstr "Tasa de apertura de archivos"
|
||||
|
||||
#: po/advisory_rules.php:186
|
||||
#, fuzzy
|
||||
|
||||
9
po/sl.po
9
po/sl.po
@ -4,7 +4,7 @@ msgstr ""
|
||||
"Project-Id-Version: phpMyAdmin 3.5.0-dev\n"
|
||||
"Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n"
|
||||
"POT-Creation-Date: 2011-08-17 16:58+0200\n"
|
||||
"PO-Revision-Date: 2011-08-18 00:48+0200\n"
|
||||
"PO-Revision-Date: 2011-08-19 11:26+0200\n"
|
||||
"Last-Translator: Domen <dbc334@gmail.com>\n"
|
||||
"Language-Team: slovenian <sl@li.org>\n"
|
||||
"Language: sl\n"
|
||||
@ -936,6 +936,8 @@ msgid ""
|
||||
"Chose \"GeomFromText\" from the \"Function\" column and paste the below "
|
||||
"string into the \"Value\" field"
|
||||
msgstr ""
|
||||
"Izberite \"GeomFromText\" iz stolpca \"Funkcija\" in prilepite spodnji niz v "
|
||||
"polje \"Vrednost\""
|
||||
|
||||
#: import.php:57
|
||||
#, php-format
|
||||
@ -1874,6 +1876,9 @@ msgid ""
|
||||
"This table does not contain a unique column. Features related to the grid "
|
||||
"edit, checkbox, Edit, Copy and Delete links may not work after saving."
|
||||
msgstr ""
|
||||
"Tabela ne vsebuje unikatnega stolpca. Zmožnosti, povezane z urejanjem mreže, "
|
||||
"potrditvenimi polji, povezavami Uredi, Kopiraj in Izbriši, po shranjevanju "
|
||||
"morda ne bodo delovale."
|
||||
|
||||
#: js/messages.php:318
|
||||
msgid ""
|
||||
@ -9481,6 +9486,8 @@ msgid ""
|
||||
"The Advisor system can provide recommendations on server variables by "
|
||||
"analyzing the server status variables."
|
||||
msgstr ""
|
||||
"Svetovalni sistem lahko nudi priporočila o strežniških spremenljivkah tako, "
|
||||
"da analizira spremenljivke stanja strežnika."
|
||||
|
||||
#: server_status.php:810
|
||||
msgid ""
|
||||
|
||||
55
po/tr.po
55
po/tr.po
@ -4,7 +4,7 @@ msgstr ""
|
||||
"Project-Id-Version: phpMyAdmin 3.5.0-dev\n"
|
||||
"Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n"
|
||||
"POT-Creation-Date: 2011-08-17 16:58+0200\n"
|
||||
"PO-Revision-Date: 2011-08-18 10:40+0200\n"
|
||||
"PO-Revision-Date: 2011-08-19 21:49+0200\n"
|
||||
"Last-Translator: Burak Yavuz <hitowerdigit@hotmail.com>\n"
|
||||
"Language-Team: turkish <tr@li.org>\n"
|
||||
"Language: tr\n"
|
||||
@ -817,7 +817,8 @@ msgstr "Çıktı"
|
||||
|
||||
#: enum_editor.php:68
|
||||
msgid "Copy and paste the joined values into the \"Length/Values\" field"
|
||||
msgstr "\"Genişlik/Değerler\" alanına katılan değerleri kopyala ve yapıştır"
|
||||
msgstr ""
|
||||
"\"Genişlik/Değerler\" alanında birleştirilen değerleri kopyala ve yapıştır"
|
||||
|
||||
#: export.php:77
|
||||
msgid "Selected export type has to be saved in file!"
|
||||
@ -3075,7 +3076,7 @@ msgstr "Sıfırla"
|
||||
|
||||
#: libraries/config/messages.inc.php:17
|
||||
msgid "Improves efficiency of screen refresh"
|
||||
msgstr "Ekran yenilemenin etkinliğini geliştirir"
|
||||
msgstr "Ekran yenileme etkinliğini geliştirir"
|
||||
|
||||
#: libraries/config/messages.inc.php:18
|
||||
msgid "Enable Ajax"
|
||||
@ -9782,8 +9783,8 @@ msgstr ""
|
||||
"Sabitlenmiş konumda satır tabanlı okumak için istek sayısıdır. Eğer "
|
||||
"sonuçları sıralamayı gerektiren çok fazla sorgu yapıyorsanız, bu değer "
|
||||
"yüksek olur. Muhtemelen bütün tabloları taramak için MySQL gerektiren çok "
|
||||
"fazla sorgulamanız vardır veya düzgün bir şekilde anahtarları "
|
||||
"kullanmamaktasınız."
|
||||
"fazla sorgulamalara sahipsiniz ya da anahtarları düzgün kullanılmayan "
|
||||
"birleştirmelere sahipsiniz."
|
||||
|
||||
#: server_status.php:1209
|
||||
msgid ""
|
||||
@ -10245,7 +10246,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Yapılması zorunlu sıralama algoritması birleştirme geçişi sayısıdır. Eğer bu "
|
||||
"değer büyükse, sort_buffer_size sistem değişkeninin değerini arttırmayı "
|
||||
"dikkate almalısınız."
|
||||
"düşünmelisiniz."
|
||||
|
||||
#: server_status.php:1290
|
||||
msgid "The number of sorts that were done with ranges."
|
||||
@ -11976,9 +11977,10 @@ msgid ""
|
||||
"cache, especially if you have multiple slaves."
|
||||
msgstr ""
|
||||
"Oldukça yüksek trafikli veritabanı ile MySQL Sorgu önbelleği "
|
||||
"kullanıyorsunuz. MySQL Sorgu önbelleği yerine <a href=\\\"http://dev.mysql."
|
||||
"com/doc/refman/5.1/en/ha-memcached.html\\\">memcached</a> kullanmayı hesaba "
|
||||
"katmak değebilir özelliklede çoklu slave'lere sahipseniz."
|
||||
"kullanıyorsunuz. MySQL Sorgu önbelleği yerine <a "
|
||||
"href=\\\"http://dev.mysql.com/doc/refman/5.1/en/ha-"
|
||||
"memcached.html\\\">memcached</a> kullanmayı düşünmek değebilir özelliklede "
|
||||
"çoklu slave'lere sahipseniz."
|
||||
|
||||
#: po/advisory_rules.php:73
|
||||
#, php-format
|
||||
@ -11999,7 +12001,7 @@ msgstr "Sorgu önbelleği verimli çalışmıyor, düşük tavan oranına sahip.
|
||||
|
||||
#: po/advisory_rules.php:77
|
||||
msgid "Consider increasing {query_cache_limit}."
|
||||
msgstr "Dikkate değer artış {query_cache_limit}."
|
||||
msgstr "Dikkate değer {query_cache_limit} artışı."
|
||||
|
||||
#: po/advisory_rules.php:78
|
||||
#, php-format
|
||||
@ -12145,6 +12147,13 @@ msgid ""
|
||||
"(often invalidated due to table updates) increasing {query_cache_limit} "
|
||||
"might reduce efficiency."
|
||||
msgstr ""
|
||||
"{query_cache_limit} değiştirmek (genelde artarak) verimi arttırabilir. Bu "
|
||||
"değişken en fazla boyutu belirler sorgu sonucu sorgu önbelleği içine "
|
||||
"eklenebilmek zorundadır. Eğer 1 MiB'ın üstünde iyi önbelleklenebilir (çok "
|
||||
"okuma, az yazma) birçok sorgu sonucu varsa sonrasında {query_cache_limit} "
|
||||
"arttırmak etkiyi arttıracaktır. Halbuki çoğu sonucun iyi önbelleklenemeyen "
|
||||
"(tablo güncellemelerinden dolayı sıkça geçersiz kılınan) 1 MiB'ın üzerinde "
|
||||
"olması durumunda {query_cache_limit} arttırmak verimi azaltacaktır."
|
||||
|
||||
#: po/advisory_rules.php:103
|
||||
msgid "query_cache_limit is set to 1 MiB"
|
||||
@ -12163,6 +12172,8 @@ msgid ""
|
||||
"Consider increasing sort_buffer_size and/or read_rnd_buffer_size, depending "
|
||||
"on your system memory limits"
|
||||
msgstr ""
|
||||
"Dikkate değer sort_buffer_size ve/veya read_rnd_buffer_size artışı, sistem "
|
||||
"bellek sınırlarınıza bağlıdır."
|
||||
|
||||
#: po/advisory_rules.php:108
|
||||
#, php-format
|
||||
@ -12170,6 +12181,8 @@ msgid ""
|
||||
"%s%% of all sorts cause temporary tables, this value should be lower than "
|
||||
"10%%."
|
||||
msgstr ""
|
||||
"Tüm sıralamaların %%%s'i geçici tablolara sebep olur, bu değer %%10'dan "
|
||||
"düşük olmalıdır."
|
||||
|
||||
#: po/advisory_rules.php:110
|
||||
msgid "Rate of sorts that cause temporary tables"
|
||||
@ -12180,6 +12193,7 @@ msgstr "Geçici tablolara sebep olan sıralamaların oranı"
|
||||
msgid ""
|
||||
"Temporary tables average: %s, this value should be less than 1 per hour."
|
||||
msgstr ""
|
||||
"Geçici tabloların ortalaması: %s, bu değer saat başına 1'den az olmalıdır."
|
||||
|
||||
#: po/advisory_rules.php:115
|
||||
msgid "Sort rows"
|
||||
@ -12196,38 +12210,47 @@ msgid ""
|
||||
"indexed fields in the ORDER BY clause, as this will result in much faster "
|
||||
"sorting"
|
||||
msgstr ""
|
||||
"Satır sıralamanın yüksek miktarıyla hiçbir sorun yokken, ORDER BY ibaresinde "
|
||||
"indekslenmiş alanları kullanan çok fazla sıralama gerektiren sorgulardan "
|
||||
"emin olmak isteyebilirsiniz, ki bu çok daha hızlı sıralamayla "
|
||||
"sonuçlanacaktır."
|
||||
|
||||
#: po/advisory_rules.php:118
|
||||
#, php-format
|
||||
msgid "Sorted rows average: %s"
|
||||
msgstr ""
|
||||
msgstr "Sıralanmış satır ortalaması: %s"
|
||||
|
||||
#: po/advisory_rules.php:120
|
||||
msgid "Rate of joins without indexes"
|
||||
msgstr "İndeksler olmaksızın katılım oranı"
|
||||
msgstr "İndeksler olmaksızın birleştirme oranı"
|
||||
|
||||
#: po/advisory_rules.php:121
|
||||
msgid "There are too many joins without indexes."
|
||||
msgstr "İndeksler olmaksızın çok fazla katılım var."
|
||||
msgstr "İndeksler olmaksızın çok fazla birleştirme var."
|
||||
|
||||
#: po/advisory_rules.php:122
|
||||
msgid ""
|
||||
"This means that joins are doing full table scans. Adding indexes for the "
|
||||
"fields being used in the join conditions will greatly speed up table joins"
|
||||
msgstr ""
|
||||
"Bu, birleştirmeler tam tablo taraması yapıyor anlamına gelir. Birleştirme "
|
||||
"şartlarında kullanılan alanlar için indekslerin eklenmesi tablo "
|
||||
"birleştirmelerini fazlasıyla hızlandıracaktır."
|
||||
|
||||
#: po/advisory_rules.php:123
|
||||
#, php-format
|
||||
msgid "Table joins average: %s, this value should be less than 1 per hour"
|
||||
msgstr ""
|
||||
"Tablo birleştirmeleri ortalaması: %s, bu değer saat başına 1'den az "
|
||||
"olmalıdır."
|
||||
|
||||
#: po/advisory_rules.php:125
|
||||
msgid "Rate of reading first index entry"
|
||||
msgstr ""
|
||||
msgstr "Okunan ilk indeks girişi oranı"
|
||||
|
||||
#: po/advisory_rules.php:126
|
||||
msgid "The rate of reading the first index entry is high."
|
||||
msgstr ""
|
||||
msgstr "Okunan ilk indeks girişi oranı yüksek."
|
||||
|
||||
#: po/advisory_rules.php:127
|
||||
msgid ""
|
||||
@ -12530,7 +12553,7 @@ msgstr "İşlem önbelleği tavan oranı %%"
|
||||
|
||||
#: po/advisory_rules.php:206
|
||||
msgid "Thread cache is not efficient."
|
||||
msgstr "İşlem önbelleği etkin değil."
|
||||
msgstr "İşlem önbelleği verimli değil."
|
||||
|
||||
#: po/advisory_rules.php:207
|
||||
msgid "Increase {thread_cache_size}."
|
||||
|
||||
@ -2548,17 +2548,21 @@ span.cm-number {
|
||||
margin: 0.3em 0.2em;
|
||||
}
|
||||
|
||||
.cEdit .edit_box {
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.cEdit .edit_box_posting {
|
||||
background: #FFF url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>ajax_clock_small.gif) no-repeat right center;
|
||||
padding-right: 1.5em;
|
||||
}
|
||||
|
||||
.cEdit .edit_area_loading {
|
||||
background: #FFF url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>ajax_clock_small.gif) no-repeat center;
|
||||
height: 10em;
|
||||
}
|
||||
|
||||
|
||||
.cEdit .edit_area_posting {
|
||||
background: #FFF url(<?php echo $_SESSION['PMA_Theme']->getImgPath(); ?>ajax_clock_small.gif) no-repeat center top;
|
||||
padding-top: 1.5em;
|
||||
}
|
||||
|
||||
.cEdit .goto_link {
|
||||
background: #EEE;
|
||||
color: #555;
|
||||
|
||||
@ -2992,16 +2992,21 @@ span.cm-number {
|
||||
margin: 0.3em 0.2em;
|
||||
}
|
||||
|
||||
.cEdit .edit_box {
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.cEdit .edit_box_posting {
|
||||
background: #FFF url(./themes/pmahomme/img/ajax_clock_small.gif) no-repeat right center;
|
||||
padding-right: 1.5em;
|
||||
}
|
||||
|
||||
.cEdit .edit_area_loading {
|
||||
background: #FFF url(./themes/pmahomme/img/ajax_clock_small.gif) no-repeat center;
|
||||
height: 10em;
|
||||
}
|
||||
|
||||
.cEdit .edit_area_posting {
|
||||
background: #FFF url(./themes/pmahomme/img/ajax_clock_small.gif) no-repeat center top;
|
||||
padding-top: 1.5em;
|
||||
}
|
||||
|
||||
.cEdit .goto_link {
|
||||
background: #EEE;
|
||||
color: #555;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user