1 2--echo # 3--echo # Tests for WL#12086: Cryptographically signed SET statements 4--echo # 5 6 7--echo # Testing FR1 and FR1.5. 8--echo # Must be empty 9SELECT @@GLOBAL.persist_only_admin_x509_subject; 10--error ER_INCORRECT_GLOBAL_LOCAL_VAR 11SELECT @@SESSION.persist_only_admin_x509_subject; 12 13 14--echo # Testing FR1.1. 15--error ER_INCORRECT_GLOBAL_LOCAL_VAR 16SET GLOBAL persist_only_admin_x509_subject = 'haha'; 17--error ER_INCORRECT_GLOBAL_LOCAL_VAR 18SET SESSION persist_only_admin_x509_subject = 'haha'; 19 20--echo # Testing FR1.2. 21SELECT CHARSET(@@global.persist_only_admin_x509_subject); 22 23--echo # Testing FR1.4. 24--error ER_INCORRECT_GLOBAL_LOCAL_VAR 25SET PERSIST_ONLY persist_only_admin_x509_subject = 'persist_only'; 26 27--echo # Testing FR3 28 29--echo # Must be empty 30SELECT @@GLOBAL.persist_only_admin_x509_subject; 31let $persist_only_admin_x509_subject_vars_result= ER_INCORRECT_GLOBAL_LOCAL_VAR; 32source ../inc/persist_only_admin_x509_subject_vars.inc; 33