Skip to content

Commit

Permalink
Change: include predefined in check for WRITABLE in GET_CONFIGS
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmundell committed Jun 29, 2024
1 parent 71e52de commit aa45fa0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/manage_sql_configs.c
Original file line number Diff line number Diff line change
Expand Up @@ -3316,12 +3316,12 @@ config_in_use (config_t config)
*
* @param[in] config Config.
*
* @return 1.
* @return 1 if writable, else 0.
*/
int
config_writable (config_t config)
{
return 1;
return config_predefined (config) ? 0 : 1;
}

/**
Expand Down

0 comments on commit aa45fa0

Please sign in to comment.