View Issue Details

IDProjectCategoryView StatusLast Update
0026662mantisbtinstallationpublic2020-03-15 15:23
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionfixed 
Target Version2.24.0Fixed in Version2.24.0 
Summary0026662: Final statement to set database version not logged in SQL script
Description

The SQL script generated by the installer does not include the final statement to set database version.

TagsNo tags attached.

Relationships

related to 0026661 closeddregad Add informational comments to SQL script generated by installer 
related to 0026568 closeddregad Use appropriate statement to update DB schema when generating SQL 

Activities

Related Changesets

MantisBT: master ad05c04e

2020-01-06 05:04

dregad


Details Diff
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
Affected Issues
0026661, 0026662
mod - admin/install.php Diff File