3546 Georgi Kodinov 2011-02-07
WL#2940 : changing test result error codes after a merge.
modified:
mysql-test/r/plugin_auth_qa_1.result
3545 Georgi Kodinov 2011-01-21
WL#2940: plugin service: error reporting
Implement an error_reporting service.
Added tests to the authentication plugin to return a custom
error and to log a info message.
Fixed function signatures and some typos.
Moved the include guard define on top
Removed uncecessary casts.
Now with the new files.
added:
include/mysql/service_error_reporting.h
libservices/error_reporting_service.c
modified:
include/mysql/plugin.h
include/mysql/plugin_audit.h.pp
include/mysql/plugin_auth.h.pp
include/mysql/plugin_ftparser.h.pp
include/mysql/services.h
include/service_versions.h
libservices/CMakeLists.txt
mysql-test/r/plugin_auth.result
mysql-test/r/plugin_auth_qa_1.result
mysql-test/t/plugin_auth.test
plugin/auth/test_plugin.c
sql/log.cc
sql/share/errmsg-utf8.txt
sql/sql_error.cc
sql/sql_plugin_services.h
=== modified file 'mysql-test/r/plugin_auth_qa_1.result'
--- a/mysql-test/r/plugin_auth_qa_1.result 2011-01-21 14:03:58 +0000
+++ b/mysql-test/r/plugin_auth_qa_1.result 2011-02-07 14:05:02 +0000
@@ -70,7 +70,7 @@ plug_user@localhost
RENAME USER plug_dest TO new_dest;
ERROR 1045 (28000): Access denied for user 'plug_user'@'localhost' (using password: YES)
GRANT PROXY ON new_dest TO plug_user;
-ERROR 1719 (HY000): Plugin test_plugin_server reported error (code: 42000) : Wrong password supplied for plug_dest
+ERROR 1726 (HY000): Plugin test_plugin_server reported error (code: 42000) : Wrong password supplied for plug_dest
SELECT user,plugin,authentication_string FROM mysql.user WHERE user != 'root';
user plugin authentication_string
new_dest
@@ -88,7 +88,7 @@ plug_user@localhost
RENAME USER plug_dest TO new_dest;
ERROR 1045 (28000): Access denied for user 'plug_user'@'localhost' (using password: YES)
GRANT PROXY ON new_dest TO plug_user;
-ERROR 1719 (HY000): Plugin test_plugin_server reported error (code: 42000) : Wrong password supplied for plug_dest
+ERROR 1726 (HY000): Plugin test_plugin_server reported error (code: 42000) : Wrong password supplied for plug_dest
SELECT user,plugin,authentication_string FROM mysql.user WHERE user != 'root';
user plugin authentication_string
new_dest
No bundle (reason: useless for push emails).
Thread |
---|
• bzr push into mysql-trunk branch (Georgi.Kodinov:3545 to 3546) WL#2940 | Georgi Kodinov | 7 Feb |