|
Lines 330-340
extern int as_mysql_modify_resv(mysql_conn_t *mysql_conn,
Link Here
|
| 330 |
goto end_it; |
330 |
goto end_it; |
| 331 |
} |
331 |
} |
| 332 |
if (!(row = mysql_fetch_row(result))) { |
332 |
if (!(row = mysql_fetch_row(result))) { |
| 333 |
rc = SLURM_ERROR; |
|
|
| 334 |
mysql_free_result(result); |
333 |
mysql_free_result(result); |
| 335 |
error("There is no reservation by id %u, " |
334 |
info("%s: Creating reservation by id %u, time_start %ld, and cluster '%s' instead of modifying.", |
| 336 |
"time_start %ld, and cluster '%s'", resv->id, |
335 |
__func__, resv->id, resv->time_start_prev, resv->cluster); |
| 337 |
resv->time_start_prev, resv->cluster); |
336 |
|
|
|
337 |
rc = as_mysql_add_resv(mysql_conn, resv); |
| 338 |
goto end_it; |
338 |
goto end_it; |
| 339 |
} |
339 |
} |
| 340 |
|
340 |
|