[wp-trac] [WordPress Trac] #19748: dbDelta fails for capital prefixed tables

WordPress Trac wp-trac at lists.automattic.com
Thu Jan 5 19:24:46 UTC 2012


#19748: dbDelta fails for capital prefixed tables
--------------------------+------------------------------
 Reporter:  netweblogic   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  1.5
 Severity:  major         |  Resolution:
 Keywords:  dev-feedback  |
--------------------------+------------------------------
Changes (by kurtpayne):

 * cc: kpayne@… (added)
 * keywords:   => dev-feedback
 * version:  3.3.1 => 1.5


Comment:

 This line was introduced in r1575 and updated in r10948, but strtolower
 was always there.  There's no explanation of why `strtolower` was used.
 Database tables are stored as files and not cased properly in windows.
 The author probably expected that table names would always be lower cased.

 Are you running into this error by setting the `$table_prefix` in your wp-
 config.php file to a string with upper case letters?

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


More information about the wp-trac mailing list