Do you know if there is a transaction control inside oRs:Save()?
If there is, is possible disable it ?
MySql Transaction and oRs:Save()
-
- Posts: 465
- Joined: Sun Oct 30, 2005 6:37 am
- Location: Guangzhou(Canton),China
- Contact:
Re: MySql Transaction and oRs:Save()
if set autocommit=0;
//oserver:query("set autocommit=0")
oserver:query(" start transaction")
... update/sve/insert/delete sql
if ... error
oserver:query("rollback")
else
oserver:query("commit")
end
//
if set autocommit=1;
... single sql include commit /rollback
//oserver:query("set autocommit=0")
oserver:query(" start transaction")
... update/sve/insert/delete sql
if ... error
oserver:query("rollback")
else
oserver:query("commit")
end
//
if set autocommit=1;
... single sql include commit /rollback
http://www.xtech2.top
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651
Re: MySql Transaction and oRs:Save()
Thank you,
I found in the topic bellow the answer for my question
https://forums.fivetechsupport.com/view ... 16#p248789
I found in the topic bellow the answer for my question
https://forums.fivetechsupport.com/view ... 16#p248789