[wp-trac] [WordPress Trac] #20773: update_option can't store serialized binary in wp_options.option_value column

WordPress Trac wp-trac at lists.automattic.com
Wed May 30 20:58:09 UTC 2012


#20773: update_option can't store serialized binary in wp_options.option_value
column
--------------------------+----------------------
 Reporter:  mmaunder      |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:  3.3.2
 Severity:  normal        |  Resolution:  wontfix
 Keywords:                |
--------------------------+----------------------
Changes (by scribu):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 Ok, thanks for reporting the issue. However, I don't think it makes sense
 to switch to longblob because:

 1. There's no compelling use-case to justify the costs of such a change
 (schema changes are expensive).
 2. It's harder to search through a longblob column, since MySQL doesn't
 know the encoding of the data anymore

 Feel free to update the Codex, if you think it would be useful for others.

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


More information about the wp-trac mailing list