[wp-trac] [WordPress Trac] #13310: Extend option_name to varchar(255)

WordPress Trac noreply at wordpress.org
Tue Nov 25 15:10:40 UTC 2014


#13310: Extend option_name to varchar(255)
---------------------------------------------+-----------------------------
 Reporter:  scribu                           |       Owner:
     Type:  defect (bug)                     |      Status:  assigned
 Priority:  normal                           |   Milestone:  Future Release
Component:  Database                         |     Version:  3.4.2
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch 2nd-opinion 4.1-early  |     Focuses:
---------------------------------------------+-----------------------------

Comment (by Hube2):

 I really think that transients and putting in a new table is a completely
 separate discussion.

 Changing option_name from varchar(64) to varchar(255) is really a rather
 simple schema change that should have no other effects on WP other then
 stopping the silent failure to get values from the database because the
 option_name value was too long and truncated when the value was saved. I
 just don't understand why this is 5 years old.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/13310#comment:44>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list