~ubuntu-branches/ubuntu/maverick/mysql-5.1/maverick-proposed

« back to all changes in this revision

Viewing changes to mysql-test/t/mysql_upgrade.test

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 14:16:05 UTC
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: package-import@ubuntu.com-20120222141605-nxlu9yzc6attylc2
Tags: upstream-5.1.61
ImportĀ upstreamĀ versionĀ 5.1.61

Show diffs side-by-side

added added

removed removed

Lines of Context:
108
108
DROP PROCEDURE testproc;
109
109
--cat_file $MYSQLTEST_VARDIR/tmp/41569.txt
110
110
--remove_file $MYSQLTEST_VARDIR/tmp/41569.txt
 
111
 
 
112
 
 
113
--echo #
 
114
--echo # Bug #53613: mysql_upgrade incorrectly revokes 
 
115
--echo #   TRIGGER privilege on given table
 
116
--echo #
 
117
 
 
118
GRANT USAGE ON *.* TO 'user3'@'%';
 
119
GRANT ALL PRIVILEGES ON `roelt`.`test2` TO 'user3'@'%';
 
120
--echo Run mysql_upgrade with all privileges on a user
 
121
--exec $MYSQL_UPGRADE --skip-verbose --force 2>&1
 
122
SHOW GRANTS FOR 'user3'@'%';
 
123
 
 
124
DROP USER 'user3'@'%';
 
125
 
 
126
--echo End of 5.1 tests