Avoid selecting UNHEX function by default for a BLOB column for which editing is protected
This commit is contained in:
@@ -24,6 +24,8 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
|
|||||||
- bug #2983065 [operations] Error when changing from Maria to MyISAM engine
|
- bug #2983065 [operations] Error when changing from Maria to MyISAM engine
|
||||||
- bug #2975408 [tracking] Data too long for column data_sql
|
- bug #2975408 [tracking] Data too long for column data_sql
|
||||||
- bug [tracking] Tracking report should obey MaxCharactersInDisplayedSQL
|
- bug [tracking] Tracking report should obey MaxCharactersInDisplayedSQL
|
||||||
|
- bug [edit] Avoid selecting UNHEX function by default for a BLOB column for
|
||||||
|
which editing is protected
|
||||||
|
|
||||||
3.3.2.0 (2010-04-13)
|
3.3.2.0 (2010-04-13)
|
||||||
- patch #2969449 [core] Name for MERGE engine varies depending on the
|
- patch #2969449 [core] Name for MERGE engine varies depending on the
|
||||||
|
@@ -482,7 +482,7 @@ foreach ($rows as $row_id => $vrow) {
|
|||||||
$backup_field = '';
|
$backup_field = '';
|
||||||
$special_chars_encoded = PMA_duplicateFirstNewline($special_chars);
|
$special_chars_encoded = PMA_duplicateFirstNewline($special_chars);
|
||||||
// this will select the UNHEX function while inserting
|
// this will select the UNHEX function while inserting
|
||||||
if (($field['is_binary'] || $field['is_blob']) && $_SESSION['tmp_user_values']['display_binary_as_hex'] && $cfg['ShowFunctionFields']) {
|
if (($field['is_binary'] || ($field['is_blob'] && ! $cfg['ProtectBinary'])) && $_SESSION['tmp_user_values']['display_binary_as_hex'] && $cfg['ShowFunctionFields']) {
|
||||||
$field['display_binary_as_hex'] = true;
|
$field['display_binary_as_hex'] = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user