summaryrefslogtreecommitdiff
path: root/mysql-test/t/variables.test
diff options
context:
space:
mode:
authormsvensson@pilot.blaudden <>2007-02-20 16:24:38 +0100
committermsvensson@pilot.blaudden <>2007-02-20 16:24:38 +0100
commit6caa0a232ed6f741e6c8c9e8d6a89e272dec6505 (patch)
tree39c7df9758813ddf91ead62c583da82cb9e5f23e /mysql-test/t/variables.test
parentbcd368fcfb124338541b77fd6df234af4f991e94 (diff)
downloadmariadb-git-6caa0a232ed6f741e6c8c9e8d6a89e272dec6505.tar.gz
Bug#20166 mysql-test-run.pl does not test system privilege tables creation
- Part 2, add @@hostname system variable
Diffstat (limited to 'mysql-test/t/variables.test')
-rw-r--r--mysql-test/t/variables.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/t/variables.test b/mysql-test/t/variables.test
index 5edb8fb754b..697e55945ef 100644
--- a/mysql-test/t/variables.test
+++ b/mysql-test/t/variables.test
@@ -639,6 +639,17 @@ select @@&;
--error ER_PARSE_ERROR
select @@@;
+#
+# Bug#20166 mysql-test-run.pl does not test system privilege tables creation
+#
+# Don't actually output, since it depends on the system
+--replace_column 1 #
+select @@hostname;
+--error 1238
+set @@hostname= "anothername";
+--replace_column 2 #
+show variables like 'hostname';
+
--echo End of 5.0 tests
# This is at the very after the versioned tests, since it involves doing