summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2011-12-30 13:57:03 +0100
committerSergei Golubchik <sergii@pisem.net>2011-12-30 13:57:03 +0100
commitb8b7b4eb6bef26d05257272be02674ae5514ded9 (patch)
tree73045cd67ff7b6f61406afde77235d2b9b563877 /plugin
parent1417606b1f4c5f8a4c24f6a93a77586f9cf5975c (diff)
downloadmariadb-git-b8b7b4eb6bef26d05257272be02674ae5514ded9.tar.gz
plugin renamed socket_peercred -> unix_socket.
test added.
Diffstat (limited to 'plugin')
-rw-r--r--plugin/auth/auth_socket.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/plugin/auth/auth_socket.c b/plugin/auth/auth_socket.c
index cc406dac331..89d24e46f3c 100644
--- a/plugin/auth/auth_socket.c
+++ b/plugin/auth/auth_socket.c
@@ -83,27 +83,11 @@ static struct st_mysql_auth socket_auth_handler=
socket_auth
};
-mysql_declare_plugin(socket_auth)
-{
- MYSQL_AUTHENTICATION_PLUGIN,
- &socket_auth_handler,
- "socket_peercred",
- "Sergei Golubchik",
- "Unix Socket based authentication",
- PLUGIN_LICENSE_GPL,
- NULL,
- NULL,
- 0x0100,
- NULL,
- NULL,
- NULL
-}
-mysql_declare_plugin_end;
maria_declare_plugin(socket_auth)
{
MYSQL_AUTHENTICATION_PLUGIN,
&socket_auth_handler,
- "socket_peercred",
+ "unix_socket",
"Sergei Golubchik",
"Unix Socket based authentication",
PLUGIN_LICENSE_GPL,