mirror of
https://github.com/MariaDB/server.git
synced 2025-08-31 22:22:30 +03:00
5.5 merge
This commit is contained in:
@@ -38,6 +38,7 @@ drop view v1;
|
||||
create temporary table t2 (a date);
|
||||
insert t2 values ('2020-10-09');
|
||||
select * from t2;
|
||||
alter table t2 add column b int; # MDEV-4565 ALTER on a temporary table generates an audit event
|
||||
drop table t2;
|
||||
|
||||
# internal temp table generates no audit events
|
||||
|
@@ -9,3 +9,9 @@ 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;
|
||||
|
||||
#
|
||||
# Bug #69682 - mysqld crashes after uninstall of plugin with "first" status var
|
||||
#
|
||||
show status like 'a%status';
|
||||
|
||||
|
@@ -1,16 +1,5 @@
|
||||
|
||||
--source include/not_embedded.inc
|
||||
|
||||
if (!$AUTH_PAM_SO) {
|
||||
skip No pam auth plugin;
|
||||
}
|
||||
|
||||
eval install plugin pam soname '$AUTH_PAM_SO';
|
||||
create user test_pam identified via pam using 'mariadb_mtr';
|
||||
create user pam_test;
|
||||
grant proxy on pam_test to test_pam;
|
||||
|
||||
let $plugindir=`SELECT @@global.plugin_dir`;
|
||||
--source pam_init.inc
|
||||
|
||||
--write_file $MYSQLTEST_VARDIR/tmp/pam_good.txt
|
||||
not very secret challenge
|
||||
|
1
mysql-test/suite/plugins/t/pam_cleartext.opt
Normal file
1
mysql-test/suite/plugins/t/pam_cleartext.opt
Normal file
@@ -0,0 +1 @@
|
||||
--loose-pam-use-cleartext-plugin
|
12
mysql-test/suite/plugins/t/pam_cleartext.test
Normal file
12
mysql-test/suite/plugins/t/pam_cleartext.test
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
--source pam_init.inc
|
||||
|
||||
show variables like 'pam%';
|
||||
|
||||
--error 1
|
||||
--exec echo FAIL | $MYSQL_TEST -u test_pam --plugin-dir=$plugindir
|
||||
|
||||
drop user test_pam;
|
||||
drop user pam_test;
|
||||
uninstall plugin pam;
|
||||
|
14
mysql-test/suite/plugins/t/pam_init.inc
Normal file
14
mysql-test/suite/plugins/t/pam_init.inc
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
--source include/not_embedded.inc
|
||||
|
||||
if (!$AUTH_PAM_SO) {
|
||||
skip No pam auth plugin;
|
||||
}
|
||||
|
||||
eval install plugin pam soname '$AUTH_PAM_SO';
|
||||
create user test_pam identified via pam using 'mariadb_mtr';
|
||||
create user pam_test;
|
||||
grant proxy on pam_test to test_pam;
|
||||
|
||||
let $plugindir=`SELECT @@global.plugin_dir`;
|
||||
|
Reference in New Issue
Block a user