1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Added purecov comment for new, not executed code for my recent changeset

(Found by dgcov)
This commit is contained in:
monty@mysql.com
2006-06-28 14:03:08 +03:00
parent 059c45d016
commit 31fdcd3be0
8 changed files with 38 additions and 4 deletions

View File

@@ -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)