Skip to content

Commit

Permalink
Add report configs to valid_type and type_db_name.
Browse files Browse the repository at this point in the history
  • Loading branch information
timopollmeier authored and a-h-abdelsalam committed Feb 20, 2024
1 parent d5f4ac4 commit baaefed
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/manage_sql.c
Original file line number Diff line number Diff line change
Expand Up @@ -3937,6 +3937,7 @@ valid_type (const char* type)
|| (strcasecmp (type, "permission") == 0)
|| (strcasecmp (type, "port_list") == 0)
|| (strcasecmp (type, "report") == 0)
|| (strcasecmp (type, "report_config") == 0)
|| (strcasecmp (type, "report_format") == 0)
|| (strcasecmp (type, "result") == 0)
|| (strcasecmp (type, "role") == 0)
Expand Down Expand Up @@ -3987,6 +3988,8 @@ type_db_name (const char* type)
return "port_list";
if (strcasecmp (type, "Report") == 0)
return "report";
if (strcasecmp (type, "Report Config") == 0)
return "report_config";
if (strcasecmp (type, "Report Format") == 0)
return "report_format";
if (strcasecmp (type, "Result") == 0)
Expand Down

0 comments on commit baaefed

Please sign in to comment.