[wp-trac] [WordPress Trac] #20634: dbDelta is unforgiving about field declarations

WordPress Trac wp-trac at lists.automattic.com
Tue May 8 04:12:13 UTC 2012


#20634: dbDelta is unforgiving about field declarations
--------------------------+------------------------------
 Reporter:  SidHarrell    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Database      |     Version:  3.4
 Severity:  minor         |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by SidHarrell):

 Also annoying is the fact that in our schema, we have to put 2 spaces in
 between PRIMARY KEY and the (:
 PRIMARY KEY  (
 VS
 PRIMARY KEY (

 This one is more problematic, since the core schema is using the 2 space
 rule, which would be easy enough to fix with a search and replace, but the
 patch I have for it would also break every plugin out there that uses the
 2 space rule.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20634#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list