--source include/force_myisam_default.inc --source include/have_myisam.inc --source include/have_udf.inc # # To run this test, "sql/udf_example.cc" need to be compiled into # udf_example.so and LD_LIBRARY_PATH should be setup to point out where # the library are. The regular CMake build system takes care of this # automatically. # --echo # --echo # WL8980 - Move udf metatable table from MyISAM to InnoDB. --echo # SET autocommit= 0; SET innodb_lock_wait_timeout= 1; # Create an auxiliary connection. --echo --echo # Connection: con1 --connect (con1, localhost, root,,) let $con1_id= `SELECT CONNECTION_ID()`; # Test Plan: # A. Check that UDF statements are not vulnerable to the lock-wait-timeout. # B. Check the implicit transactional nature of UDF DDL. # C. Check it's possible to change the UDF meta table storage engine via # ALTER TABLE. --echo --echo ###################################################################### --echo # C. Check that it is possible to ALTER storage engine for --echo # mysql.func to MyISAM. --echo # This is necessary for mysql_system_tables_fix_for_downgrade.sql --echo # to work. --echo ###################################################################### ALTER TABLE mysql.func ENGINE = MYISAM; SELECT * FROM mysql.func; ALTER TABLE mysql.func ENGINE = INNODB; disconnect con1;