mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Create 'main' test directory and move 't' and 'r' there
This commit is contained in:
26
mysql-test/main/change_user_notembedded.test
Normal file
26
mysql-test/main/change_user_notembedded.test
Normal file
@ -0,0 +1,26 @@
|
||||
source include/not_embedded.inc;
|
||||
|
||||
#
|
||||
# MDEV-3915 COM_CHANGE_USER allows fast password brute-forcing
|
||||
#
|
||||
# only three failed change_user per connection.
|
||||
# successful change_user do NOT reset the counter
|
||||
#
|
||||
connect (test,localhost,root,,);
|
||||
connection test;
|
||||
--error 1045
|
||||
change_user foo,bar;
|
||||
--error 1045
|
||||
change_user foo;
|
||||
change_user;
|
||||
--error 1045
|
||||
change_user foo,bar;
|
||||
--error 1047
|
||||
change_user foo,bar;
|
||||
--error 1047
|
||||
change_user;
|
||||
disconnect test;
|
||||
connection default;
|
||||
|
||||
--echo that's all
|
||||
|
Reference in New Issue
Block a user