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

WordPress Trac wp-trac at lists.automattic.com
Tue May 8 03:27:05 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         |   Keywords:  has-patch
--------------------------+-----------------------------
 the variable type is case sensitive:
 int(22) != INT(22)

 the mysql type BOOL or BOOLEAN comes back from the db as tinyint(1):
 tinyint(1) != BOOLEAN

 Not a huge issue, just annoying. Makes dbDelta fire off unnecessary sql.

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


More information about the wp-trac mailing list