- 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,6 +417,7 @@ 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) {
|
||||
|
@ -427,7 +428,6 @@ function field_sql_storage_field_storage_write($obj_type, $object, $op, $fields)
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Implement hook_field_storage_delete().
|
||||
|
|
Loading…
Reference in New Issue