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

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 1 13:55:52 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.8                          
Component:  Optimization       |     Version:  2.8                          
 Severity:  major              |    Keywords:  has-patch tested dev-feedback
-------------------------------+--------------------------------------------

Comment(by Denis-de-Bernardy):

 Yeah, I'm quite aware. I ended up working around this by using savepoints
 and a global variable to make sure no errors occurred, so as to determine
 if a commit or a rollback was needed. :D

 D.

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


More information about the wp-trac mailing list