--- m/t/not_embedded_server.test 2013-07-22 17:03:39.000000000 +0400 +++ t/not_embedded_server.test 2014-03-03 13:58:10.071341000 +0400 @@ -104,110 +102,3 @@ --echo # --echo # End Bug#54812 --echo # - - ---echo ---echo # ---echo # Test for Bug#12601974 - STORED PROCEDURE SQL_MODE=NO_BACKSLASH_ESCAPES ---echo # IGNORED AND BREAKS REPLICATION ---echo # - -SET @org_mode=@@sql_mode; - -SET @@sql_mode=''; - ---echo # USER NAME CONTAINING BACKSLASH IN CREATE USER OPERATION -CREATE USER 'user\'s_12601974'@'localhost'; ---error ER_CANNOT_USER -CREATE USER 'user\'s_12601974'@'localhost'; -DROP USER 'user\'s_12601974'@'localhost'; - -CREATE USER 'user\"s_12601974'@'localhost'; ---error ER_CANNOT_USER -CREATE USER 'user\"s_12601974'@'localhost'; -DROP USER 'user\"s_12601974'@'localhost'; - -CREATE USER 'user\bs_12601974'@'localhost'; ---error ER_CANNOT_USER -CREATE USER 'user\bs_12601974'@'localhost'; -DROP USER 'user\bs_12601974'@'localhost'; - -CREATE USER 'user\ns_12601974'@'localhost'; ---error ER_CANNOT_USER -CREATE USER 'user\ns_12601974'@'localhost'; -DROP USER 'user\ns_12601974'@'localhost'; - -CREATE USER 'user\rs_12601974'@'localhost'; ---error ER_CANNOT_USER -CREATE USER 'user\rs_12601974'@'localhost'; -DROP USER 'user\rs_12601974'@'localhost'; - -CREATE USER 'user\ts_12601974'@'localhost'; ---error ER_CANNOT_USER -CREATE USER 'user\ts_12601974'@'localhost'; -DROP USER 'user\ts_12601974'@'localhost'; - -CREATE USER 'user\\s_12601974'@'localhost'; ---error ER_CANNOT_USER -CREATE USER 'user\\s_12601974'@'localhost'; -DROP USER 'user\\s_12601974'@'localhost'; - -CREATE USER 'user\%s_12601974'@'localhost'; ---error ER_CANNOT_USER -CREATE USER 'user\%s_12601974'@'localhost'; -DROP USER 'user\%s_12601974'@'localhost'; - -CREATE USER 'user\_s_12601974'@'localhost'; ---error ER_CANNOT_USER -CREATE USER 'user\_s_12601974'@'localhost'; -DROP USER 'user\_s_12601974'@'localhost'; ---echo ---echo # END OF CASE - USER NAME CONTAINING BACKSLASH IN CREATE USER OPERATION - -SET @@sql_mode='NO_BACKSLASH_ESCAPES'; ---echo # USER NAME CONTAINING BACKSLASH IN DROP USER OPERATION -CREATE USER 'user\"s_12601974'@'localhost'; ---error ER_CANNOT_USER -CREATE USER 'user\"s_12601974'@'localhost'; -DROP USER 'user\"s_12601974'@'localhost'; - -CREATE USER 'user\bs_12601974'@'localhost'; ---error ER_CANNOT_USER -CREATE USER 'user\bs_12601974'@'localhost'; -DROP USER 'user\bs_12601974'@'localhost'; - -CREATE USER 'user\ns_12601974'@'localhost'; ---error ER_CANNOT_USER -CREATE USER 'user\ns_12601974'@'localhost'; -DROP USER 'user\ns_12601974'@'localhost'; - -CREATE USER 'user\rs_12601974'@'localhost'; ---error ER_CANNOT_USER -CREATE USER 'user\rs_12601974'@'localhost'; -DROP USER 'user\rs_12601974'@'localhost'; - -CREATE USER 'user\ts_12601974'@'localhost'; ---error ER_CANNOT_USER -CREATE USER 'user\ts_12601974'@'localhost'; -DROP USER 'user\ts_12601974'@'localhost'; - -CREATE USER 'user\\s_12601974'@'localhost'; ---error ER_CANNOT_USER -CREATE USER 'user\\s_12601974'@'localhost'; -DROP USER 'user\\s_12601974'@'localhost'; - -CREATE USER 'user\%s_12601974'@'localhost'; ---error ER_CANNOT_USER -CREATE USER 'user\%s_12601974'@'localhost'; -DROP USER 'user\%s_12601974'@'localhost'; - -CREATE USER 'user\_s_12601974'@'localhost'; ---error ER_CANNOT_USER -CREATE USER 'user\_s_12601974'@'localhost'; -DROP USER 'user\_s_12601974'@'localhost'; ---echo ---echo # END OF CASE - USER NAME CONTAINING BACKSLASH IN CREATE USER OPERATION -SET @@sql_mode= @org_mode; - ---echo ---echo #End of Test for Bug#12601974 --- m/r/not_embedded_server.result 2013-07-22 17:03:39.000000000 +0400 +++ r/not_embedded_server.result 2014-03-03 13:58:10.071341000 +0400 @@ -47,88 +48,3 @@ # # End Bug#54812 # - -# -# Test for Bug#12601974 - STORED PROCEDURE SQL_MODE=NO_BACKSLASH_ESCAPES -# IGNORED AND BREAKS REPLICATION -# -SET @org_mode=@@sql_mode; -SET @@sql_mode=''; -# USER NAME CONTAINING BACKSLASH IN CREATE USER OPERATION -CREATE USER 'user\'s_12601974'@'localhost'; -CREATE USER 'user\'s_12601974'@'localhost'; -ERROR HY000: Operation CREATE USER failed for 'user\'s_12601974'@'localhost' -DROP USER 'user\'s_12601974'@'localhost'; -CREATE USER 'user\"s_12601974'@'localhost'; -CREATE USER 'user\"s_12601974'@'localhost'; -ERROR HY000: Operation CREATE USER failed for 'user\"s_12601974'@'localhost' -DROP USER 'user\"s_12601974'@'localhost'; -CREATE USER 'user\bs_12601974'@'localhost'; -CREATE USER 'user\bs_12601974'@'localhost'; -ERROR HY000: Operation CREATE USER failed for 'users_12601974'@'localhost' -DROP USER 'user\bs_12601974'@'localhost'; -CREATE USER 'user\ns_12601974'@'localhost'; -CREATE USER 'user\ns_12601974'@'localhost'; -ERROR HY000: Operation CREATE USER failed for 'user\ns_12601974'@'localhost' -DROP USER 'user\ns_12601974'@'localhost'; -CREATE USER 'user\rs_12601974'@'localhost'; -CREATE USER 'user\rs_12601974'@'localhost'; -ERROR HY000: Operation CREATE USER failed for 'user\rs_12601974'@'localhost' -DROP USER 'user\rs_12601974'@'localhost'; -CREATE USER 'user\ts_12601974'@'localhost'; -CREATE USER 'user\ts_12601974'@'localhost'; -ERROR HY000: Operation CREATE USER failed for 'user s_12601974'@'localhost' -DROP USER 'user\ts_12601974'@'localhost'; -CREATE USER 'user\\s_12601974'@'localhost'; -CREATE USER 'user\\s_12601974'@'localhost'; -ERROR HY000: Operation CREATE USER failed for 'user\\s_12601974'@'localhost' -DROP USER 'user\\s_12601974'@'localhost'; -CREATE USER 'user\%s_12601974'@'localhost'; -CREATE USER 'user\%s_12601974'@'localhost'; -ERROR HY000: Operation CREATE USER failed for 'user\\%s_12601974'@'localhost' -DROP USER 'user\%s_12601974'@'localhost'; -CREATE USER 'user\_s_12601974'@'localhost'; -CREATE USER 'user\_s_12601974'@'localhost'; -ERROR HY000: Operation CREATE USER failed for 'user\\_s_12601974'@'localhost' -DROP USER 'user\_s_12601974'@'localhost'; - -# END OF CASE - USER NAME CONTAINING BACKSLASH IN CREATE USER OPERATION -SET @@sql_mode='NO_BACKSLASH_ESCAPES'; -# USER NAME CONTAINING BACKSLASH IN DROP USER OPERATION -CREATE USER 'user\"s_12601974'@'localhost'; -CREATE USER 'user\"s_12601974'@'localhost'; -ERROR HY000: Operation CREATE USER failed for 'user\"s_12601974'@'localhost' -DROP USER 'user\"s_12601974'@'localhost'; -CREATE USER 'user\bs_12601974'@'localhost'; -CREATE USER 'user\bs_12601974'@'localhost'; -ERROR HY000: Operation CREATE USER failed for 'user\bs_12601974'@'localhost' -DROP USER 'user\bs_12601974'@'localhost'; -CREATE USER 'user\ns_12601974'@'localhost'; -CREATE USER 'user\ns_12601974'@'localhost'; -ERROR HY000: Operation CREATE USER failed for 'user\ns_12601974'@'localhost' -DROP USER 'user\ns_12601974'@'localhost'; -CREATE USER 'user\rs_12601974'@'localhost'; -CREATE USER 'user\rs_12601974'@'localhost'; -ERROR HY000: Operation CREATE USER failed for 'user\rs_12601974'@'localhost' -DROP USER 'user\rs_12601974'@'localhost'; -CREATE USER 'user\ts_12601974'@'localhost'; -CREATE USER 'user\ts_12601974'@'localhost'; -ERROR HY000: Operation CREATE USER failed for 'user\ts_12601974'@'localhost' -DROP USER 'user\ts_12601974'@'localhost'; -CREATE USER 'user\\s_12601974'@'localhost'; -CREATE USER 'user\\s_12601974'@'localhost'; -ERROR HY000: Operation CREATE USER failed for 'user\\s_12601974'@'localhost' -DROP USER 'user\\s_12601974'@'localhost'; -CREATE USER 'user\%s_12601974'@'localhost'; -CREATE USER 'user\%s_12601974'@'localhost'; -ERROR HY000: Operation CREATE USER failed for 'user\%s_12601974'@'localhost' -DROP USER 'user\%s_12601974'@'localhost'; -CREATE USER 'user\_s_12601974'@'localhost'; -CREATE USER 'user\_s_12601974'@'localhost'; -ERROR HY000: Operation CREATE USER failed for 'user\_s_12601974'@'localhost' -DROP USER 'user\_s_12601974'@'localhost'; - -# END OF CASE - USER NAME CONTAINING BACKSLASH IN CREATE USER OPERATION -SET @@sql_mode= @org_mode; - -#End of Test for Bug#12601974