Handle nested transactions (#90)

* starting a new transaction will send nothing in the DB (only one global transaction : merge nested transactions)
* same for COMMIT or ROLLBACK if more than 1 transaction is opened
* transactions are kept inside \DBObject::DBInsertNoReload, but they can be disabled using config flag db_core_transactions_enabled=false (true by default, hidden by default)
This commit is contained in:
Pierre Goiffon
2019-08-20 10:47:29 +02:00
committed by GitHub
parent 5dd92ab506
commit 51bbe1f79d
5 changed files with 216 additions and 18 deletions

View File

@@ -22,15 +22,15 @@
namespace Combodo\iTop\Portal\Form;
use Exception;
use IssueLog;
use CMDBSource;
use Dict;
use UserRights;
use Combodo\iTop\Form\FormManager;
use Combodo\iTop\Form\Form;
use Combodo\iTop\Form\Field\HiddenField;
use Combodo\iTop\Form\Field\SelectField;
use Combodo\iTop\Form\Form;
use Combodo\iTop\Form\FormManager;
use Dict;
use Exception;
use IssueLog;
use UserRights;
/**
* Description of PreferencesFormManager