is not used any more and exists only for history. Post new tickets on the Github account. n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 11 years ago

Closed 11 years ago

#1175 closed bug (fixed)

Queries executed by an installer should be in a transaction

Reported by: laurentj Owned by:
Priority: high Milestone: Jelix 1.2RC1
Component: jelix:installer Version: trunk
Severity: critical Keywords:
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:


If a SQL error occured during the execution of an install script, previous queries executed by this script should be rollbacked, so we can relaunch the installer safely.

Change History (1)

comment:1 Changed 11 years ago by laurentj

  • Resolution set to fixed
  • Status changed from new to closed

Too complex in fact.

Scripts should begin transaction themselves, depending of what they do.

However, an improvement have been done in the execSQLScript method of the installers : by default, queries are executed inside a transaction.

Note: See TracTickets for help on using tickets.