Opened 15 years ago
Closed 15 years ago
#936 closed defect (bug) (fixed)
upgrading 1.0.3 to trunk 1680 - sql error [has-patch]
Reported by: | DJPaul | Owned by: | |
---|---|---|---|
Milestone: | 1.2 | Priority: | minor |
Severity: | Version: | ||
Component: | Keywords: | has-patch | |
Cc: |
Description
[23-Aug-2009 15:06:16] WordPress database error Duplicate key name 'useritem' for query ALTER TABLE wp_bp_notifications ADD KEY useritem (user_id, is_new) made by require_once, require, do_action, call_user_func_array, bp_core_check_installed, bp_core_install, dbDelta
Attachments (1)
Change History (5)
#3
@
15 years ago
- Keywords has-patch added
- Milestone changed from 1.2.1 to 1.2
- Summary changed from upgrading 1.0.3 to trunk 1680 - sql error to upgrading 1.0.3 to trunk 1680 - sql error [has-patch]
I ran into this bug, and fixed it. It is because dbDelta does not accept whitespace in between the column names in index definitions.
Note: See
TracTickets for help on using
tickets.
Similar situation to #682.