summaryrefslogtreecommitdiffstats
path: root/mysql-test/main/assign_key_cache_debug.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/assign_key_cache_debug.result')
-rw-r--r--mysql-test/main/assign_key_cache_debug.result19
1 files changed, 19 insertions, 0 deletions
diff --git a/mysql-test/main/assign_key_cache_debug.result b/mysql-test/main/assign_key_cache_debug.result
new file mode 100644
index 00000000..c4cb56f3
--- /dev/null
+++ b/mysql-test/main/assign_key_cache_debug.result
@@ -0,0 +1,19 @@
+create table t1 (f int, key(f)) engine=myisam;
+set global kc1.key_buffer_size = 65536;
+connect con1, localhost, root;
+set debug_sync='assign_key_cache_op_unlock wait_for op_locked';
+cache index t1 in kc1;
+connection default;
+set debug_sync='assign_key_cache_op_lock signal op_locked wait_for assigned';
+cache index t1 in kc1;
+connection con1;
+Table Op Msg_type Msg_text
+test.t1 assign_to_keycache status OK
+set debug_sync='now signal assigned';
+disconnect con1;
+connection default;
+Table Op Msg_type Msg_text
+test.t1 assign_to_keycache status OK
+drop table t1;
+set global kc1.key_buffer_size = 0;
+set debug_sync='reset';