diff options
author | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2009-09-22 08:22:07 -0300 |
---|---|---|
committer | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2009-09-22 08:22:07 -0300 |
commit | 83bc7980ce8df92efac754923500b59574055ad0 (patch) | |
tree | e81f6c1378fc204685631ee31b24b5cd7d608c10 /mysql-test/t/windows.test | |
parent | 9a42d81f981cc9fbf3fc2771a57c762e7045f197 (diff) | |
download | mariadb-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/t/windows.test')
-rwxr-xr-x | mysql-test/t/windows.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/t/windows.test b/mysql-test/t/windows.test index 89cd2ed19e8..b7d31948d23 100755 --- a/mysql-test/t/windows.test +++ b/mysql-test/t/windows.test @@ -92,3 +92,9 @@ execute abc; execute abc; deallocate prepare abc; +--echo # +--echo # Bug#45498: Socket variable not available on Windows +--echo # + +SELECT VARIABLE_NAME FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES + WHERE VARIABLE_NAME = 'socket'; |