- 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.

merge-requests/26/head
Dries Buytaert 2009-11-13 19:19:50 +00:00
parent e218e24a96
commit fc980fa793
1 changed files with 6 additions and 6 deletions

View File

@ -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().