View | Details | Raw Unified | Return to ticket 5213 | Differences between
and this patch

Collapse All | Expand All

(-)a/src/plugins/accounting_storage/mysql/accounting_storage_mysql.c (-1 / +3 lines)
Lines 2044-2050 extern int remove_common(mysql_conn_t *mysql_conn, Link Here
2044
	bool has_jobs = false;
2044
	bool has_jobs = false;
2045
	char *tmp_name_char = NULL;
2045
	char *tmp_name_char = NULL;
2046
	bool cluster_centric = true;
2046
	bool cluster_centric = true;
2047
	uint32_t smallest_lft = 0xFFFFFFFF;
2047
	/* uint32_t smallest_lft = 0xFFFFFFFF; */
2048
2048
2049
	/* figure out which tables we need to append the cluster name to */
2049
	/* figure out which tables we need to append the cluster name to */
2050
	if ((table == cluster_table) || (table == acct_coord_table)
2050
	if ((table == cluster_table) || (table == acct_coord_table)
Lines 2282-2287 extern int remove_common(mysql_conn_t *mysql_conn, Link Here
2282
		return SLURM_ERROR;
2282
		return SLURM_ERROR;
2283
	}
2283
	}
2284
2284
2285
#if 0
2285
	/* If we have jobs that have ran don't go through the logic of
2286
	/* If we have jobs that have ran don't go through the logic of
2286
	 * removing the associations. Since we may want them for
2287
	 * removing the associations. Since we may want them for
2287
	 * reports in the future since jobs had ran.
2288
	 * reports in the future since jobs had ran.
Lines 2377-2382 extern int remove_common(mysql_conn_t *mysql_conn, Link Here
2377
	}
2378
	}
2378
2379
2379
just_update:
2380
just_update:
2381
#endif
2380
	/* now update the associations themselves that are still
2382
	/* now update the associations themselves that are still
2381
	 * around clearing all the limits since if we add them back
2383
	 * around clearing all the limits since if we add them back
2382
	 * we don't want any residue from past associations lingering
2384
	 * we don't want any residue from past associations lingering

Return to ticket 5213