~ubuntu-branches/ubuntu/hardy/mysql-dfsg-5.0/hardy-updates

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2007-04-02 16:10:53 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20070402161053-zkil9hjq9k5p1uzv
Tags: 5.0.37-0ubuntu1
* New upstream bugfix release.
  - Fixes replication failure with auto-increment and on duplicate key
    update, a regression introduced into 5.0.24. (LP: #95821)
* debian/control: Set Ubuntu maintainer.
* debian/rules: Change comments from 'Debian etch' to 'Ubuntu 7.04'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
sync_with_master;
34
34
select password<>_binary'' from mysql.user where user=_binary'rpl_do_grant';
35
35
 
 
36
#
 
37
# Bug#24158 SET PASSWORD in binary log fails under ANSI_QUOTES
 
38
#
 
39
connection master;
 
40
update mysql.user set password='' where user='rpl_do_grant';
 
41
flush privileges;
 
42
select password<>'' from mysql.user where user='rpl_do_grant';
 
43
set sql_mode='ANSI_QUOTES';
 
44
set password for rpl_do_grant@localhost=password('does it work?');
 
45
set sql_mode='';
 
46
save_master_pos;
 
47
connection slave;
 
48
sync_with_master;
 
49
select password<>'' from mysql.user where user='rpl_do_grant';
 
50
 
 
51
 
36
52
# clear what we have done, to not influence other tests.
37
53
connection master;
38
54
delete from mysql.user where user=_binary'rpl_do_grant';