summaryrefslogtreecommitdiff
path: root/mysql-test/main/func_encrypt.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/func_encrypt.test')
-rw-r--r--mysql-test/main/func_encrypt.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/main/func_encrypt.test b/mysql-test/main/func_encrypt.test
index 4a8c20e3dbc..306939ef2ac 100644
--- a/mysql-test/main/func_encrypt.test
+++ b/mysql-test/main/func_encrypt.test
@@ -1,4 +1,6 @@
-- source include/have_des.inc
+#double warning for view protocol
+--source include/no_view_protocol.inc
--disable_warnings
drop table if exists t1;
@@ -120,7 +122,9 @@ CREATE TABLE t1 (
b BLOB DEFAULT DES_ENCRYPT(a, 'passwd'),
c TEXT DEFAULT DES_DECRYPT(b, 'passwd')
);
+--disable_warnings
SHOW CREATE TABLE t1;
+--enable_warnings
INSERT INTO t1 (a) VALUES ('test');
SELECT c FROM t1;
DROP TABLE t1;