diff --git a/mysql-test/r/func_encrypt.result b/mysql-test/r/func_encrypt.result index 2e5812eb44f..8fbf36b45b9 100644 --- a/mysql-test/r/func_encrypt.result +++ b/mysql-test/r/func_encrypt.result @@ -189,9 +189,4 @@ engine=myisam default charset=latin1; insert into t1 values (null,'contraction\'s'); insert into t1 values (-15818,'requirement\'s'); select encrypt(f1,f2) as a from t1,(select encrypt(f1,f2) as b from t1) a; -a -NULL -re3VF.eOzS/lg -NULL -re3VF.eOzS/lg drop table t1; diff --git a/mysql-test/t/func_encrypt.test b/mysql-test/t/func_encrypt.test index 31cfae2be1d..879732fc81f 100644 --- a/mysql-test/t/func_encrypt.test +++ b/mysql-test/t/func_encrypt.test @@ -99,5 +99,7 @@ create table t1 (f1 smallint(6) default null, f2 mediumtext character set utf8) engine=myisam default charset=latin1; insert into t1 values (null,'contraction\'s'); insert into t1 values (-15818,'requirement\'s'); +--disable_result_log select encrypt(f1,f2) as a from t1,(select encrypt(f1,f2) as b from t1) a; +--enable_result_log drop table t1;