MantisBT: master ad05c04e

Author Committer Branch Timestamp Parent
dregad dregad master 2020-01-06 05:04 master 412f855f
Affected Issues  0026661: Add informational comments to SQL script generated by installer
 0026662: Final statement to set database version not logged in SQL script
Changeset

Install: improve generated SQL script

The script generated by the installer when printing SQL queries instead
of writing to the database has been improved with comments, as follows:

  • Header indicating MantisBT version and date of generation
  • Schema step number before each SQL statement(s)
  • For UpdateFunction steps, print the PHP function to execute, with
    arguments
  • Empty upgrade steps are indicated as "No Operation"
  • Set database version

Fixes 0026661, 0026662

mod - admin/install.php Diff File