rem: TRACE_LOG("     adding name %.*s\n", FMT_STR(name));
add: DEBUG_LOG("     adding name %.*s\n", FMT_STR(name));
context: int db_load_vs_names(db_con_t *rls_db, virtual_subscription_t *vs){	int i, r = 0;	db_res_t *res = NULL;	db_key_t result_cols[] = { 		"name", "lang"	};	db_key_t keys[] = { "id" };	db_op_t ops[] = { OP_EQ };	db_val_t k_vals[] = { 		{ DB_STR, 0, 			{ .str_val = { s: vs->dbid, len: strlen(vs->dbid) } } 		} 	};	if (rls_dbf.use_table(rls_db, vs_names_table) < 0) {		LOG(L_ERR, "vs_load_vs_names: Error in use_table\n");		return -1;	}	if (rls_dbf.query (rls_db, keys,ops, k_vals,			result_cols, 1, sizeof(result_cols) / sizeof(db_key_t), 			0, &res) < 0) {		LOG(L_ERR, "db_load_vs_names: Error while querying vs names\n");		r = -1;		res = NULL;	}	if (res) {		for (i = 0; i < res->n; i++) {			db_row_t *row = &res->rows[i];			db_val_t *row_vals = ROW_VALUES(row);			str name = STR_NULL;			str lang = STR_NULL;			get_str_val(row_vals[0], name);			get_str_val(row_vals[1], lang);				TRACE_LOG("     adding name %.*s\n", FMT_STR(name));			vs_add_display_name(vs, name.s, lang.s);		}		rls_dbf.free_result(rls_db, res);	}		return r;}