master
Kirigaya Kazuto 2017-11-26 16:58:30 +08:00
parent 9ae86e4127
commit cceb695515
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ Transaction::Transaction(MySQLConn& MySQLConnection) : conn(MySQLConnection)
Transaction::~Transaction()
{
if(!_operated)
if(_isReady&&(!_operated))
{
rollback();
}