If an error occurred during database initialization, we send an error
message to the client. However, it this fails, we currently log
the send error rather than the error that caused that initialization
to fail. Fix this by logging the root cause of the problem instead.
ret = send_callback_request(create_tables_callback, &query,
sc_send_result, scc);
if (ret < 0)
- return sc_send_va_buffer(scc, "%s\n", para_strerror(-ret));
+ /* ignore return value */
+ sc_send_va_buffer(scc, "%s\n", para_strerror(-ret));
return ret;
}