mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
5.3 merge
This commit is contained in:
26
mysql-test/suite/plugins/r/dialog.result
Normal file
26
mysql-test/suite/plugins/r/dialog.result
Normal file
@ -0,0 +1,26 @@
|
||||
install plugin three_attempts soname 'dialog_examples.so';
|
||||
create user test_dialog identified via three_attempts using 'SECRET';
|
||||
#
|
||||
# -pSECRET is picked up, no questions asked.
|
||||
#
|
||||
select user(), current_user();
|
||||
user() current_user()
|
||||
test_dialog@localhost test_dialog@%
|
||||
#
|
||||
# without -p. up to three questions are asked on the stdin.
|
||||
# athentication is successful, the correct pasword is on the third line
|
||||
#
|
||||
Password, please: ***
|
||||
Password, please: ****
|
||||
Password, please: ******
|
||||
select user(), current_user();
|
||||
user() current_user()
|
||||
test_dialog@localhost test_dialog@%
|
||||
#
|
||||
# athentication is unsuccessful, first three lines are all wrong
|
||||
#
|
||||
Password, please: ***
|
||||
Password, please: ****
|
||||
Password, please: *****
|
||||
drop user test_dialog;
|
||||
uninstall plugin three_attempts;
|
13
mysql-test/suite/plugins/r/feedback_plugin_install.result
Normal file
13
mysql-test/suite/plugins/r/feedback_plugin_install.result
Normal file
@ -0,0 +1,13 @@
|
||||
install plugin feedback soname 'feedback.so';
|
||||
select plugin_status from information_schema.plugins where plugin_name='feedback';
|
||||
plugin_status
|
||||
ACTIVE
|
||||
select * from information_schema.feedback where variable_name like 'feed%'
|
||||
and variable_name not like '%_uid';
|
||||
VARIABLE_NAME VARIABLE_VALUE
|
||||
FEEDBACK 1.1
|
||||
FEEDBACK_SEND_RETRY_WAIT 60
|
||||
FEEDBACK_SEND_TIMEOUT 60
|
||||
FEEDBACK_URL http://mariadb.org/feedback_plugin/post
|
||||
FEEDBACK_USER_INFO mysql-test
|
||||
uninstall plugin feedback;
|
11
mysql-test/suite/plugins/r/feedback_plugin_load.result
Normal file
11
mysql-test/suite/plugins/r/feedback_plugin_load.result
Normal file
@ -0,0 +1,11 @@
|
||||
select plugin_status from information_schema.plugins where plugin_name='feedback';
|
||||
plugin_status
|
||||
ACTIVE
|
||||
select * from information_schema.feedback where variable_name like 'feed%'
|
||||
and variable_name not like '%_uid';
|
||||
VARIABLE_NAME VARIABLE_VALUE
|
||||
FEEDBACK 1.1
|
||||
FEEDBACK_SEND_RETRY_WAIT 60
|
||||
FEEDBACK_SEND_TIMEOUT 60
|
||||
FEEDBACK_URL http://mariadb.org/feedback_plugin/post
|
||||
FEEDBACK_USER_INFO mysql-test
|
15
mysql-test/suite/plugins/r/feedback_plugin_send.result
Normal file
15
mysql-test/suite/plugins/r/feedback_plugin_send.result
Normal file
@ -0,0 +1,15 @@
|
||||
select plugin_status from information_schema.plugins where plugin_name='feedback';
|
||||
plugin_status
|
||||
ACTIVE
|
||||
select * from information_schema.feedback where variable_name like 'feed%'
|
||||
and variable_name not like '%_uid';
|
||||
VARIABLE_NAME VARIABLE_VALUE
|
||||
FEEDBACK 1.1
|
||||
FEEDBACK_SEND_RETRY_WAIT 60
|
||||
FEEDBACK_SEND_TIMEOUT 60
|
||||
FEEDBACK_URL http://mariadb.org/feedback_plugin/post
|
||||
FEEDBACK_USER_INFO mysql-test
|
||||
feedback plugin: report to 'http://mariadb.org/feedback_plugin/post' was sent
|
||||
feedback plugin: server replied 'ok'
|
||||
feedback plugin: report to 'http://mariadb.org/feedback_plugin/post' was sent
|
||||
feedback plugin: server replied 'ok'
|
5
mysql-test/suite/plugins/r/fulltext_plugin.result
Normal file
5
mysql-test/suite/plugins/r/fulltext_plugin.result
Normal file
@ -0,0 +1,5 @@
|
||||
INSTALL PLUGIN simple_parser SONAME 'mypluglib.so';
|
||||
CREATE TABLE t1(a TEXT, b TEXT, FULLTEXT(a) WITH PARSER simple_parser);
|
||||
ALTER TABLE t1 ADD FULLTEXT(b) WITH PARSER simple_parser;
|
||||
DROP TABLE t1;
|
||||
UNINSTALL PLUGIN simple_parser;
|
22
mysql-test/suite/plugins/r/pam.result
Normal file
22
mysql-test/suite/plugins/r/pam.result
Normal file
@ -0,0 +1,22 @@
|
||||
install plugin pam soname 'auth_pam.so';
|
||||
create user test_pam identified via pam using 'mariadb_mtr';
|
||||
#
|
||||
# athentication is successful, challenge/pin are ok
|
||||
# note that current_user() differts from user()
|
||||
#
|
||||
Challenge input first.
|
||||
Enter: not very secret challenge
|
||||
Now, the magic number!
|
||||
PIN: ****
|
||||
select user(), current_user(), database();
|
||||
user() current_user() database()
|
||||
test_pam@localhost pam_test@% test
|
||||
#
|
||||
# athentication is unsuccessful
|
||||
#
|
||||
Challenge input first.
|
||||
Enter: not very secret challenge
|
||||
Now, the magic number!
|
||||
PIN: ****
|
||||
drop user test_pam;
|
||||
uninstall plugin pam;
|
Reference in New Issue
Block a user