• Luca Giambonini's avatar
    fix, the beginTransaction() was outside the loop, generating a corrupted... · 26ae9115
    Luca Giambonini authored
    fix, the beginTransaction() was outside the loop, generating a corrupted database with mid transation values
    
    actually we need for each package removed:
    for(){
    	beginTransaction()
    	.... other operations
    	commitTransaction()
    }
    
    An other solution would be move both begin and commit Transaction out of the loop, but then is no more possible to manage correctly the error in case the transaction is faulty
    26ae9115
akabeipolkitreplaceoperation.cpp 16.2 KB