mirror of
https://github.com/MariaDB/server.git
synced 2025-07-20 02:08:15 +02:00

report all sysvar tracker changes, as for the new login. also report db and other session state changes.
35 lines
703 B
Text
35 lines
703 B
Text
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 # End of 10.0 tests
|
|
|
|
--echo #
|
|
--echo # MDEV-36405 Session tracking does not report changes from COM_CHANGE_USER
|
|
--echo #
|
|
enable_session_track_info;
|
|
--echo change_user
|
|
change_user;
|
|
disable_session_track_info;
|
|
|
|
--echo # End of 12.0 tests
|