• Andrei Elkin's avatar
    Bug #41003 log_bin_trust_function_creators_func test explicitly warns on a bug in it · b18d6cd3
    Andrei Elkin authored
    The test 
    1. did not verify that CREATE FUNCTION shall fails in a case of active binlog
       and @@log_bin_trust_function_creators is zero if there is no DETERMINISTIC qualifier
       and super user privilege;
    2. contained an explit warning on that CREATE FUNCTION actually succeeded whereas
       it was supposed to fail;
    3. did not demand the bin-log be set ON even though it has contained the opt file
       explictily setting the name for the binlog file.
          
    Fixed 1-3 with modifying the test accordingly.
    
    
    mysql-test/r/log_bin_trust_function_creators_func.result:
      Bug #41003 changed results.
    mysql-test/t/log_bin_trust_function_creators_func-master.opt:
      removed unnecessary file, the specificly requested binlog file name was not used in
      the test.
    mysql-test/t/log_bin_trust_function_creators_func.test:
      corrected the test that previously: 1.  did not verify that CREATE FUNCTION shall fail
      in some cases; 2. contained an explit warning on that CREATE FUNCTION actually
    b18d6cd3
log_bin_trust_function_creators_func.result 2.32 KB