In SELECT() we issue a debug message to display the locale. However
the locale can be NULL. I added an explicit test to replace a NULL
with "(none)".
M Open-ILS/src/c-apps/oils_cstore.c
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14841
dcc99617-32d9-48b4-a31d-
7c20da2025e4
int gfirst = 1;
//int hfirst = 1;
- osrfLogDebug(OSRF_LOG_MARK, "cstore SELECT locale: %s", locale);
+ osrfLogDebug(OSRF_LOG_MARK, "cstore SELECT locale: %s", locale ? locale : "(none)" );
// punt if there's no FROM clause
if (!join_hash || ( join_hash->type == JSON_HASH && !join_hash->size )) {