[wp-trac] Re: [WordPress Trac] #4027: upgrade.php doesn't detect that ALTER TABLE fails

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 25 17:14:40 GMT 2007


#4027: upgrade.php doesn't detect that ALTER TABLE fails
----------------------------+-----------------------------------------------
 Reporter:  skjaeve         |        Owner:       
     Type:  defect          |       Status:  new  
 Priority:  high            |    Milestone:  2.2  
Component:  Administration  |      Version:  2.1.2
 Severity:  major           |   Resolution:       
 Keywords:                  |  
----------------------------+-----------------------------------------------
Changes (by rob1n):

  * priority:  low => high
  * status:  assigned => new
  * severity:  normal => major
  * owner:  rob1n =>
  * milestone:  2.3 => 2.2

Comment:

 There is currently no checking that wp_upgrade() or its associated
 functions failed. I'm not sure what to do about this, as having an actual
 error reporting system would require rewriting parts of some of the
 functions.

 Perhaps we could make use of WP_Error?

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


More information about the wp-trac mailing list