diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2012-07-17 21:52:08 +0400 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2012-07-17 21:52:08 +0400 |
commit | 2368f8895d10a3d883a6a0ffe33b2b222caf7f1a (patch) | |
tree | 1f674b38702d87f5b13bbb587c8939bc842e9926 /sql/my_apc.cc | |
parent | a49b4c970fe582919d89109e0cc3ebe2558269cd (diff) | |
download | mariadb-git-2368f8895d10a3d883a6a0ffe33b2b222caf7f1a.tar.gz |
MWL#182: Explain running statements
- Address feedback from the second code review.
Diffstat (limited to 'sql/my_apc.cc')
-rw-r--r-- | sql/my_apc.cc | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/sql/my_apc.cc b/sql/my_apc.cc index 8551c0187a4..4d0042510ae 100644 --- a/sql/my_apc.cc +++ b/sql/my_apc.cc @@ -24,35 +24,6 @@ /* For standalone testing of APC system, see unittest/sql/my_apc-t.cc */ -#ifndef MY_APC_STANDALONE - -ST_FIELD_INFO show_explain_fields_info[]= -{ - /* field_name, length, type, value, field_flags, old_name*/ - {"id", 3, MYSQL_TYPE_LONGLONG, 0 /*value*/, MY_I_S_MAYBE_NULL, "id", - SKIP_OPEN_TABLE}, - {"select_type", 19, MYSQL_TYPE_STRING, 0 /*value*/, 0, "select_type", - SKIP_OPEN_TABLE}, - {"table", NAME_CHAR_LEN, MYSQL_TYPE_STRING, 0 /*value*/, MY_I_S_MAYBE_NULL, - "table", SKIP_OPEN_TABLE}, - {"type", 10, MYSQL_TYPE_STRING, 0, MY_I_S_MAYBE_NULL, "type", SKIP_OPEN_TABLE}, - {"possible_keys", NAME_CHAR_LEN*MAX_KEY, MYSQL_TYPE_STRING, 0/*value*/, - MY_I_S_MAYBE_NULL, "possible_keys", SKIP_OPEN_TABLE}, - {"key", NAME_CHAR_LEN, MYSQL_TYPE_STRING, 0/*value*/, MY_I_S_MAYBE_NULL, - "key", SKIP_OPEN_TABLE}, - {"key_len", NAME_CHAR_LEN*MAX_KEY, MYSQL_TYPE_STRING, 0/*value*/, - MY_I_S_MAYBE_NULL, "key_len", SKIP_OPEN_TABLE}, - {"ref", NAME_CHAR_LEN*MAX_REF_PARTS, MYSQL_TYPE_STRING, 0/*value*/, - MY_I_S_MAYBE_NULL, "ref", SKIP_OPEN_TABLE}, - {"rows", 10, MYSQL_TYPE_LONGLONG, 0/*value*/, MY_I_S_MAYBE_NULL, "rows", - SKIP_OPEN_TABLE}, - {"Extra", 255, MYSQL_TYPE_STRING, 0/*value*/, 0 /*flags*/, "Extra", - SKIP_OPEN_TABLE}, - {0, 0, MYSQL_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE} -}; - - -#endif /* Initialize the target. @@ -266,9 +237,6 @@ bool Apc_target::make_apc_call(THD *caller_thd, Apc_call *call, void Apc_target::process_apc_requests() { - if (!get_first_in_queue()) - return; - while (1) { Call_request *request; |