Commit fc980fa7 authored by Dries's avatar Dries
Browse files

- Patch #632012 by plach: field_sql_storage_field_storage_write() performs a...

- 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 e218e24a
......@@ -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();
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment