Closed (fixed)
Project:
Commerce Core
Version:
7.x-1.x-dev
Component:
Other
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
13 Jan 2012 at 11:58 UTC
Updated:
4 Jan 2014 at 01:39 UTC
Jump to comment: Most recent
Comments
Comment #1
serialjaywalker commentedComment #2
rszrama commentedGreat, thanks for doing the research on this. I added return values to the update functions so the admin will see a confirmation message after the update and will follow this up with another patch to add a missing foreign key (commerce_line_item's order_id column) and then to deal with #1388868: Add index to the commerce_customer_profile table.
Committed!
Comment #3
amateescu commentedTagging.
Comment #4
serialjaywalker commentedFor what it's worth, I mentioned InnoDB's requirement of indices on foreign key columns, but this is irrelevant because Drupal doesn't actually create foreign keys in the database. I still think this fix is worthwhile for performance reasons, though.
Comment #5
damien tournoud commentedIn
commerce_paymentthe update function adds those:But the schema only adds the
uidone?Comment #6
amateescu commentedIt was added by Ryan in the commit, I guess he forgot to mention it.
http://drupalcode.org/project/commerce.git/commitdiff/99252b8
Comment #7
rszrama commentedYeah, I fixed it a bit. Sorry, should have mentioned that. ; )
Comment #8
serialjaywalker commentedThanks for catching that, Damien and Ryan. I'll have to try not to upload patches at 4AM anymore.