Changes between Version 3 and Version 4 of Ticket #142, comment 4


Ignore:
Timestamp:
09/27/2013 04:33:18 PM (13 years ago)
Author:
chenchongqi
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #142, comment 4

    v3 v4  
    1111当然还是要检查一下查询数据库的地方,保证所有的都有commit。 
    1212 
     13还有就是,不建议在代码里去设置autocommit参数,因为你代码里不知道目前的环境是autocommit=0还是=1,设置了跑完了你没有复位,这个数据库连接就被你改了丢回链接池里,影响了其他地方的使用。 
     14 
    1315相关参考:[[br]] 
    1416http://www.taobaodba.com/html/1239_gdb_show_uncommit_trx_table_list.html