[wp-trac] Re: [WordPress Trac] #9422: Allow for start transaction/rollback/commit sql statements in WP

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 20 20:41:41 GMT 2009


#9422: Allow for start transaction/rollback/commit sql statements in WP
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:  Denis-de-Bernardy            
     Type:  enhancement        |      Status:  new                          
 Priority:  normal             |   Milestone:  2.9                          
Component:  Optimization       |     Version:  2.8                          
 Severity:  major              |    Keywords:  has-patch tested commit early
-------------------------------+--------------------------------------------

Comment(by Denis-de-Bernardy):

 we may also want to dig into the other insert/update/delete functions, and
 possibly patch the code base so as to get, each time:

  - delete_$foo and deleted_$foo
  - save_$foo and saved_$foo

 the hooks could be changed to ensure backwards compat, but the general
 idea would be there. and with a little define, we'd fire the wpdb methods
 automatically.

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


More information about the wp-trac mailing list