From: <gi...@ma...> - 2010-05-17 20:47:51
|
The branch, master-1.2.x has been updated via 3fa5664bfcafb641481ae4904a2f5bb669b48f7f (commit) from c4b1574631fc6ad9263adc2b0f1a317e390fcac3 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 3fa5664bfcafb641481ae4904a2f5bb669b48f7f Author: Robert Munteanu <ro...@lm...> Date: Mon May 17 23:39:18 2010 +0300 Display all current SQL upgrade instructions on execution failure When executing SQL commands which failed, the installation page only displayed the first SQL command. This was incorrect and confusing. (cherry picked from commit 87448db8ee684b79cd9bcd05e4b9ec6e656bcb71) ----------------------------------------------------------------------- Summary of changes: admin/install.php | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) ----------------------------------------------------------------------- commit 3fa5664bfcafb641481ae4904a2f5bb669b48f7f Author: Robert Munteanu <ro...@lm...> Date: Mon May 17 23:39:18 2010 +0300 Display all current SQL upgrade instructions on execution failure When executing SQL commands which failed, the installation page only displayed the first SQL command. This was incorrect and confusing. (cherry picked from commit 87448db8ee684b79cd9bcd05e4b9ec6e656bcb71) diff --git a/admin/install.php b/admin/install.php index f3ea11a..47533ce 100644 --- a/admin/install.php +++ b/admin/install.php @@ -761,7 +761,10 @@ if( 3 == $t_install_state ) { print_test_result( GOOD ); config_set( 'database_version', $i ); } else { - print_test_result( BAD, true, $sqlarray[0] . '<br />' . $g_db->ErrorMsg() ); + $all_sql = ''; + foreach ( $sqlarray as $single_sql ) + $all_sql .= $single_sql . '<br>'; + print_test_result( BAD, true, $all_sql . $g_db->ErrorMsg() ); } echo '</tr>'; } ----------------------------------------------------------------------- -- Mantis Bug Tracker |