The use of PBMS is not dependent on a primary key
This commit is contained in:

committed by
Marc Delisle

parent
09fd3ecc33
commit
279a8f8f21
@@ -210,10 +210,6 @@ foreach ($loop_array as $rowcount => $where_clause) {
|
||||
? $_REQUEST['auto_increment']['multi_edit'][$rowcount]
|
||||
: null;
|
||||
|
||||
if ($blob_streaming_active) {
|
||||
$primary_field = PMA_BS_GetPrimaryField($GLOBALS['db'], $GLOBALS['table']);
|
||||
}
|
||||
|
||||
// Fetch the current values of a row to use in case we have a protected field
|
||||
// @todo possibly move to ./libraries/tbl_replace_fields.inc.php
|
||||
if ($is_insert && $using_key && isset($me_fields_type) && is_array($me_fields_type) && isset($where_clause)) {
|
||||
@@ -226,7 +222,7 @@ foreach ($loop_array as $rowcount => $where_clause) {
|
||||
require './libraries/tbl_replace_fields.inc.php';
|
||||
|
||||
// for blobstreaming
|
||||
if ($blob_streaming_active && (NULL != $primary_field || strlen($primary_field) > 0)) {
|
||||
if ($blob_streaming_active) {
|
||||
$remove_blob_repo = isset($_REQUEST['remove_blob_repo_' . $key]) ? $_REQUEST['remove_blob_repo_' . $key] : NULL;
|
||||
$upload_blob_repo = isset($_REQUEST['upload_blob_repo_' . $key]) ? $_REQUEST['upload_blob_repo_' . $key] : NULL;
|
||||
|
||||
|
Reference in New Issue
Block a user