summaryrefslogtreecommitdiff
path: root/mysql-test/r
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2016-01-27 15:23:42 +0100
committerVladislav Vaintroub <wlad@mariadb.com>2016-01-27 16:34:05 +0100
commit4b31e6dc95c7c008cd318822eb9d5a1e845b288c (patch)
tree30214bff590f8cb3f4de34ac32eb56a70af159ec /mysql-test/r
parentc1bf5ba27ef2ec189fe890283e68dbd9bd2efca9 (diff)
downloadmariadb-git-4b31e6dc95c7c008cd318822eb9d5a1e845b288c.tar.gz
Address review comments, add unit test
Diffstat (limited to 'mysql-test/r')
-rw-r--r--mysql-test/r/auth_named_pipe.result10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/r/auth_named_pipe.result b/mysql-test/r/auth_named_pipe.result
new file mode 100644
index 00000000000..8de507e1744
--- /dev/null
+++ b/mysql-test/r/auth_named_pipe.result
@@ -0,0 +1,10 @@
+INSTALL SONAME 'auth_named_pipe';
+CREATE USER USERNAME IDENTIFIED WITH named_pipe;
+SELECT USER(),CURRENT_USER();
+USER() CURRENT_USER()
+USERNAME@localhost USERNAME@%
+DROP USER USERNAME;
+CREATE USER nosuchuser IDENTIFIED WITH named_pipe;
+ERROR 28000: Access denied for user 'nosuchuser'@'localhost'
+DROP USER nosuchuser;
+UNINSTALL SONAME 'auth_named_pipe';