MantisBT: master-1.2.x e94e0a8a

Author Committer Branch Timestamp Parent
dregad dregad master-1.2.x 2012-06-20 06:33 master-1.2.x 7d2ad4fc
Affected Issues  0014399: Lack of detailed error message during schema creation
Changeset

Fix Lack of detailed error message during schema creation

During MantisBT installation, when a schema upgrade step includes
several SQL statements (as generated by ADOdb), a detailed error message
was only reported the problem occurs while executing the last statement.

Calling ExecuteSQLArray() with the 2nd param = false forces the function
to return the error message on first failure instead of continuing with
the next statement.

Fixes 0014399

mod - admin/install.php Diff File