mirror of
https://github.com/MariaDB/server.git
synced 2026-05-08 08:04:29 +02:00
Added purecov comment for new, not executed code for my recent changeset
(Found by dgcov) mysql-test/r/show_check.result: Test SHOW PLUGIN. (Was not covered by test suite before) mysql-test/t/show_check.test: Test SHOW PLUGIN. (Was not covered by test suite before) mysys/my_handler.c: Added purecov comment for new, not executed code sql/filesort.cc: Added purecov comment for new, not executed code Removed 'purecov: inspected' from code covered by current testsuite sql/ha_ndbcluster_binlog.cc: Added purecov comment for new, not executed code sql/log_event.cc: Added purecov comment for new, not executed code sql/mysqld.cc: Added purecov comment for new, not executed code sql/sql_parse.cc: Added purecov comment for new, not executed code
This commit is contained in:
parent
caf21245cc
commit
5df928c8e6
8 changed files with 38 additions and 4 deletions
|
|
@ -5212,7 +5212,7 @@ static bool execute_sqlcom_select(THD *thd, TABLE_LIST *all_tables)
|
|||
even if the query itself redirects the output.
|
||||
*/
|
||||
if (!(result= new select_send()))
|
||||
return 1;
|
||||
return 1; /* purecov: inspected */
|
||||
thd->send_explain_fields(result);
|
||||
res= mysql_explain_union(thd, &thd->lex->unit, result);
|
||||
if (lex->describe & DESCRIBE_EXTENDED)
|
||||
|
|
@ -5231,7 +5231,7 @@ static bool execute_sqlcom_select(THD *thd, TABLE_LIST *all_tables)
|
|||
else
|
||||
{
|
||||
if (!result && !(result= new select_send()))
|
||||
return 1;
|
||||
return 1; /* purecov: inspected */
|
||||
query_cache_store_query(thd, all_tables);
|
||||
res= handle_select(thd, lex, result, 0);
|
||||
if (result != lex->result)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue