summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2001-01-19 12:12:45 -0700
committerunknown <sasha@mysql.sashanet.com>2001-01-19 12:12:45 -0700
commit6181b5bd5cde5ff85af82d124f89bb6459017f47 (patch)
treeba93ba8fce6c31d53b265a2debf8defbe9772b52 /mysql-test
parentb85d67d9ecce0e8b8b26cfca7006522a66c784ff (diff)
downloadmariadb-git-6181b5bd5cde5ff85af82d124f89bb6459017f47.tar.gz
fixed coredump in SET PASSWORD in slave thread.
mysql-test/t/rpl000001.test: added test for replicaion of set password sql/sql_acl.cc: fixed coredump on slave in the case of SET PASSWORD
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/t/rpl000001.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/t/rpl000001.test b/mysql-test/t/rpl000001.test
index a26580d7ef7..c7b1f817e81 100644
--- a/mysql-test/t/rpl000001.test
+++ b/mysql-test/t/rpl000001.test
@@ -5,6 +5,8 @@ drop table if exists t1;
create table t1 (word char(20) not null);
load data infile '../../std_data/words.dat' into table t1;
drop table if exists foo;
+set password = password('foo');
+set password = password('');
create table foo(n int);
insert into foo values(1),(2);
save_master_pos;