MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Georgi Kodinov Date:November 11 2010 11:23am
Subject:bzr commit into mysql-5.5-bugteam branch (Georgi.Kodinov:3119) Bug#57442
View as plain text  
#At file:///Users/kgeorge/mysql/work/B57916-5.5-bugteam/ based on revid:dmitry.shulga@stripped

 3119 Georgi Kodinov	2010-11-11
      Bug #57442: Pluggable auth - extra bytes sent to client with 
      MYSQL_CLIENT_VIO::write_packet
      
      Added a test for the mysql's --default-auth and --plugin-dir options.

    modified:
      mysql-test/r/plugin_auth.result
      mysql-test/t/plugin_auth.test
=== modified file 'mysql-test/r/plugin_auth.result'
--- a/mysql-test/r/plugin_auth.result	2010-11-03 11:47:22 +0000
+++ b/mysql-test/r/plugin_auth.result	2010-11-11 11:22:10 +0000
@@ -45,6 +45,9 @@ ERROR 28000: Access denied for user 'plu
 select USER(),CURRENT_USER();
 USER()	CURRENT_USER()
 plug@localhost	plug@%
+## test mysql with different default plugin
+USER()	CURRENT_USER()
+plug@localhost	plug@%
 ## test no_auto_create_user sql mode with plugin users
 SET @@sql_mode=no_auto_create_user;
 GRANT INSERT ON TEST.* TO grant_user IDENTIFIED WITH 'test_plugin_server';

=== modified file 'mysql-test/t/plugin_auth.test'
--- a/mysql-test/t/plugin_auth.test	2010-11-03 11:47:22 +0000
+++ b/mysql-test/t/plugin_auth.test	2010-11-11 11:22:10 +0000
@@ -55,6 +55,9 @@ select USER(),CURRENT_USER();
 connection default;
 disconnect plug_con_rightp;
 
+--echo ## test mysql with different default plugin
+--exec $MYSQL $PLUGIN_AUTH_OPT --user=plug --password=plug_dest --default-auth=auth_test_plugin test -e "SELECT USER(),CURRENT_USER();"
+
 --echo ## test no_auto_create_user sql mode with plugin users
 SET @@sql_mode=no_auto_create_user;
 GRANT INSERT ON TEST.* TO grant_user IDENTIFIED WITH 'test_plugin_server';


Attachment: [text/bzr-bundle] bzr/georgi.kodinov@oracle.com-20101111112210-96b7pkngpudzyfg5.bundle
Thread
bzr commit into mysql-5.5-bugteam branch (Georgi.Kodinov:3119) Bug#57442Georgi Kodinov11 Nov