- Patch #632012 by plach: field_sql_storage_field_storage_write() performs a multiple-insert query for each field translation instead of making a global multiple-insert query handling all the available field translations.
parent
e218e24a96
commit
fc980fa793
|
@ -417,13 +417,13 @@ function field_sql_storage_field_storage_write($obj_type, $object, $op, $fields)
|
|||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Execute the query if we have values to insert.
|
||||
if ($do_insert) {
|
||||
$query->execute();
|
||||
if (isset($vid)) {
|
||||
$revision_query->execute();
|
||||
}
|
||||
// Execute the query if we have values to insert.
|
||||
if ($do_insert) {
|
||||
$query->execute();
|
||||
if (isset($vid)) {
|
||||
$revision_query->execute();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue