summaryrefslogtreecommitdiff
path: root/mysql-test/r/windows.result
diff options
context:
space:
mode:
authorDavi Arnaut <Davi.Arnaut@Sun.COM>2009-09-22 08:22:07 -0300
committerDavi Arnaut <Davi.Arnaut@Sun.COM>2009-09-22 08:22:07 -0300
commit83bc7980ce8df92efac754923500b59574055ad0 (patch)
treee81f6c1378fc204685631ee31b24b5cd7d608c10 /mysql-test/r/windows.result
parent9a42d81f981cc9fbf3fc2771a57c762e7045f197 (diff)
downloadmariadb-git-83bc7980ce8df92efac754923500b59574055ad0.tar.gz
Bug#45498: Socket variable not available on Windows
The "socket" variable is not available on Windows even though the --socket option can be used to specify the pipe name for local connections that use a named pipe. The solution is to ensure that the variable is always defined. mysql-test/r/windows.result: Add test case result for Bug#45498 mysql-test/t/windows.test: Add test case for Bug#45498 sql/set_var.cc: socket variable must always be present.
Diffstat (limited to 'mysql-test/r/windows.result')
-rw-r--r--mysql-test/r/windows.result7
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/r/windows.result b/mysql-test/r/windows.result
index 4e0d73ea0eb..d0cdd858d4a 100644
--- a/mysql-test/r/windows.result
+++ b/mysql-test/r/windows.result
@@ -53,3 +53,10 @@ ERROR HY000: No paths allowed for shared library
execute abc;
ERROR HY000: No paths allowed for shared library
deallocate prepare abc;
+#
+# Bug#45498: Socket variable not available on Windows
+#
+SELECT VARIABLE_NAME FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
+WHERE VARIABLE_NAME = 'socket';
+VARIABLE_NAME
+SOCKET