summaryrefslogtreecommitdiff
path: root/mysql-test/t
diff options
context:
space:
mode:
authorElena Stepanova <elenst@montyprogram.com>2016-10-17 14:04:45 +0300
committerElena Stepanova <elenst@montyprogram.com>2016-10-17 14:04:45 +0300
commitdf87be5edafb402e36e9c16aa0f00b1d5104d920 (patch)
tree9bd64e65110da42f230c650880f9bab6f76d8d41 /mysql-test/t
parenteac8d95ffcdea7cd31d60d273e30cb3dfec66add (diff)
downloadmariadb-git-df87be5edafb402e36e9c16aa0f00b1d5104d920.tar.gz
MDEV-11069 main.information_schema test fails if hostname includes 'user'
Patch provided by Honza Horak
Diffstat (limited to 'mysql-test/t')
-rw-r--r--mysql-test/t/information_schema.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/mysql-test/t/information_schema.test b/mysql-test/t/information_schema.test
index fb39f2e5d58..943eb8bab8a 100644
--- a/mysql-test/t/information_schema.test
+++ b/mysql-test/t/information_schema.test
@@ -612,13 +612,13 @@ select * from information_schema.schema_privileges order by grantee;
select * from information_schema.user_privileges order by grantee;
show grants;
connection con4;
-select * from information_schema.column_privileges where grantee like '%user%'
+select * from information_schema.column_privileges where grantee like '\'user%'
order by grantee;
-select * from information_schema.table_privileges where grantee like '%user%'
+select * from information_schema.table_privileges where grantee like '\'user%'
order by grantee;
-select * from information_schema.schema_privileges where grantee like '%user%'
+select * from information_schema.schema_privileges where grantee like '\'user%'
order by grantee;
-select * from information_schema.user_privileges where grantee like '%user%'
+select * from information_schema.user_privileges where grantee like '\'user%'
order by grantee;
show grants;
connection default;