summaryrefslogtreecommitdiff
path: root/mysql-test/r/variables.result
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/r/variables.result
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/r/variables.result')
-rw-r--r--mysql-test/r/variables.result8
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/r/variables.result b/mysql-test/r/variables.result
index c3d7d5ac4eb..60010183d32 100644
--- a/mysql-test/r/variables.result
+++ b/mysql-test/r/variables.result
@@ -752,6 +752,14 @@ select @@&;
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '&' at line 1
select @@@;
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '@' at line 1
+select @@hostname;
+@@hostname
+#
+set @@hostname= "anothername";
+ERROR HY000: Variable 'hostname' is a read only variable
+show variables like 'hostname';
+Variable_name Value
+hostname #
End of 5.0 tests
set global binlog_cache_size =@my_binlog_cache_size;
set global connect_timeout =@my_connect_timeout;