Skip to content

Commit

Permalink
Fix: It appears older VC interprets a C string as boolean here?
Browse files Browse the repository at this point in the history
  • Loading branch information
joto committed Jan 3, 2025
1 parent 1a9c097 commit d75969c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/middle-pgsql.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1167,7 +1167,8 @@ void init_params(params_t *params, options_t const &options)

params->set("prefix", options.prefix);
params->set("schema", schema);
params->set("unlogged", options.droptemp ? "UNLOGGED" : "");
params->set("unlogged",
options.droptemp ? std::string{"UNLOGGED"} : std::string{""});
params->set("data_tablespace", tablespace_clause(options.tblsslim_data));
params->set("index_tablespace", tablespace_clause(options.tblsslim_index));
params->set("way_node_index_id_shift", static_cast<int64_t>(5));
Expand Down

0 comments on commit d75969c

Please sign in to comment.