Skip to content

Commit

Permalink
merge in some upgrade warnings from trunk
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://svn.bestpractical.com/svn/bps-public/rt/3.8/branches/3.8.3-releng@19772 e417ac7c-1bcc-0310-8ffa-8f5827389a85
  • Loading branch information
jibsheet committed May 27, 2009
1 parent 152b9a8 commit e697d89
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions etc/upgrade/upgrade-mysql-schema.pl
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,13 @@
convert_table($_) foreach @tables;

print join "\n", map(/;$/? $_ : "$_;", @sql_commands), "";
my $use_p = $db_pass ? " -p" : '';
print STDERR <<ENDREMINDER;
-- ** NOTICE: No database changes have been made. **
-- Please review the generated SQL, ensure you have a full backup of your database
-- and apply it to your database using a command like:
-- mysql -u ${db_user}${use_p} $db_name < queries.sql";
ENDREMINDER
exit 0;
my %alter_aggregator;
Expand Down

0 comments on commit e697d89

Please sign in to comment.