ENCRYPT function always returns NULL on windows.

The fix is to disable result log as we need to
test valgrind error only.
This commit is contained in:
Sergey Glukhov 2009-04-27 15:05:01 +05:00
parent 2bbd677f5b
commit 00c37fdfba
2 changed files with 2 additions and 5 deletions

View file

@ -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;

View file

@ -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;