mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix bad string construction in adjust_sql_options.
This commit is contained in:
parent
060e16b671
commit
9444c1e300
@ -582,7 +582,7 @@ adjust_sql_options (dbi_conn connection)
|
||||
|
||||
std::string adjusted_str{adjust_sql_options_string(str)};
|
||||
PINFO("Setting sql_mode to %s", adjusted_str.c_str());
|
||||
std::string set_str{"SET sql_mode=" + std::move(adjusted_str)};
|
||||
std::string set_str{"SET sql_mode='" + std::move(adjusted_str) + "'"};
|
||||
dbi_result set_result = dbi_conn_query(connection,
|
||||
set_str.c_str());
|
||||
if (set_result)
|
||||
|
Loading…
Reference in New Issue
Block a user