From 1bb7628125522a4afa6d3f9a7dff9d0b52eb9107 Mon Sep 17 00:00:00 2001 From: Don Lipari <lipari1@llnl.gov> Date: Thu, 28 Oct 2010 23:45:05 +0000 Subject: [PATCH] Removed some extraneous lines from as_mysql_archive.c --- src/plugins/accounting_storage/mysql/as_mysql_archive.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/plugins/accounting_storage/mysql/as_mysql_archive.c b/src/plugins/accounting_storage/mysql/as_mysql_archive.c index 4f936ae11bd..f37524f3974 100644 --- a/src/plugins/accounting_storage/mysql/as_mysql_archive.c +++ b/src/plugins/accounting_storage/mysql/as_mysql_archive.c @@ -744,9 +744,6 @@ static int _process_old_sql_line(const char *data_in, char **data_full_out) } else if(!strncmp("comp_code", data_in+i, 9)) { xstrcat(fields, "exit_code"); i+=9; - } else if(!strncmp("exit_code", data_in+i, 9)) { - xstrcat(fields, "exit_code"); - i+=9; } else if(!strncmp("alloc_cpus", data_in+i, 10)) { xstrcat(fields, "cpus_alloc"); i+=10; @@ -931,10 +928,6 @@ static int _process_old_sql_line(const char *data_in, char **data_full_out) data_in+ending_end, 9)) { xstrcat(ending, "exit_code"); ending_end+=9; - } else if(!strncmp("exit_code", - data_in+ending_end, 9)) { - xstrcat(ending, "exit_code"); - ending_end+=9; } else if(!strncmp("alloc_cpus", data_in+ending_end, 10)) { xstrcat(ending, "cpus_alloc"); -- GitLab