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

WordPress Trac wp-trac at lists.automattic.com
Tue May 8 04:31:22 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):

 I fixed that second patch to allow for single or double spaces between
 PRIMARY KEY and the ( so

 {{{
 PRIMARY KEY (
 }}}
 will work, but not break backwards compatibility with
 {{{
 PRIMARY KEY  (
 }}}

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


More information about the wp-trac mailing list