diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2016-04-09 17:03:48 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2016-04-09 17:03:48 +0200 |
commit | cd776fedba3e2902bc25ee206d6e6266e7eb9411 (patch) | |
tree | 95bf82d0e0522c6af708cd28639c82e004b5a264 /mysql-test/r/udf_debug_sync.result | |
parent | f884d233e6a5f68bab846a7bdbd041fc4415ad77 (diff) | |
parent | d516a2ae0cbd09d3b5b1667ec62b421330ab9902 (diff) | |
download | mariadb-git-10.2-connector-c-integ.tar.gz |
Merge branch '10.2' into 10.2-connector-c-integ10.2-connector-c-integ
Diffstat (limited to 'mysql-test/r/udf_debug_sync.result')
-rw-r--r-- | mysql-test/r/udf_debug_sync.result | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/r/udf_debug_sync.result b/mysql-test/r/udf_debug_sync.result index 2db75f9aa76..8ce6dbdd5c0 100644 --- a/mysql-test/r/udf_debug_sync.result +++ b/mysql-test/r/udf_debug_sync.result @@ -1,20 +1,28 @@ CREATE FUNCTION myfunc_int RETURNS INTEGER SONAME "UDF_EXAMPLE_LIB"; CREATE VIEW v1 AS SELECT myfunc_int(1); +connect con1, localhost, root,,; +connection con1; SET debug_sync='mysql_create_function_after_lock SIGNAL locked WAIT_FOR go'; CREATE FUNCTION myfunc_double RETURNS REAL SONAME "UDF_EXAMPLE_LIB"; +connection default; SET debug_sync='now WAIT_FOR locked'; SET debug_sync='find_udf_before_lock SIGNAL go'; SELECT * FROM v1; myfunc_int(1) 1 FLUSH TABLES; +connection con1; SET debug_sync='mysql_drop_function_after_lock SIGNAL locked WAIT_FOR go'; DROP FUNCTION myfunc_double; +connection default; SET debug_sync='now WAIT_FOR locked'; SET debug_sync='find_udf_before_lock SIGNAL go'; SELECT * FROM v1; myfunc_int(1) 1 +connection con1; +disconnect con1; +connection default; SET debug_sync='RESET'; DROP VIEW v1; DROP FUNCTION myfunc_int; |