summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpaul@teton.kitebird.com <>2003-07-15 14:37:22 -0500
committerpaul@teton.kitebird.com <>2003-07-15 14:37:22 -0500
commit27a82c836c1c2ce271c9bf17a12be5dd1219a190 (patch)
tree93328bd4f71c62536e2889fcc71e97584048f4a3
parent96689393e51fd08e43b225f17c456df049e5d6d5 (diff)
downloadmariadb-git-27a82c836c1c2ce271c9bf17a12be5dd1219a190.tar.gz
Update openssl_1 test.
-rw-r--r--mysql-test/r/openssl_1.result8
-rw-r--r--mysql-test/t/openssl_1.test2
2 files changed, 6 insertions, 4 deletions
diff --git a/mysql-test/r/openssl_1.result b/mysql-test/r/openssl_1.result
index 65b882c0a9b..afc4b12a341 100644
--- a/mysql-test/r/openssl_1.result
+++ b/mysql-test/r/openssl_1.result
@@ -10,22 +10,22 @@ select * from t1;
f1
5
delete from t1;
-Access denied for user: 'ssl_user1@localhost' to database 'test'
+ERROR 42000: Access denied for user: 'ssl_user1@localhost' to database 'test'
select * from t1;
f1
5
delete from t1;
-Access denied for user: 'ssl_user2@localhost' to database 'test'
+ERROR 42000: Access denied for user: 'ssl_user2@localhost' to database 'test'
select * from t1;
f1
5
delete from t1;
-Access denied for user: 'ssl_user3@localhost' to database 'test'
+ERROR 42000: Access denied for user: 'ssl_user3@localhost' to database 'test'
select * from t1;
f1
5
delete from t1;
-Access denied for user: 'ssl_user4@localhost' to database 'test'
+ERROR 42000: Access denied for user: 'ssl_user4@localhost' to database 'test'
delete from mysql.user where user='ssl_user%';
delete from mysql.db where user='ssl_user%';
flush privileges;
diff --git a/mysql-test/t/openssl_1.test b/mysql-test/t/openssl_1.test
index 3af7406cef3..c1c818efb70 100644
--- a/mysql-test/t/openssl_1.test
+++ b/mysql-test/t/openssl_1.test
@@ -2,7 +2,9 @@
# Use mysql-test-run with --with-openssl option.
-- source include/have_openssl_1.inc
+--disable_warnings
drop table if exists t1;
+--enable_warnings
create table t1(f1 int);
insert into t1 values (5);