@@ -1006,7 +1006,7 @@ spool_berkeleydb_write_pe_task(lList **answer_list, bdb_info info,
1006
1006
sge_dstring_init (&dbkey_dstring,
1007
1007
dbkey_buffer, sizeof (dbkey_buffer));
1008
1008
1009
- dbkey = sge_dstring_sprintf (&dbkey_dstring, " %s:%8d.%8d %s" ,
1009
+ dbkey = sge_dstring_sprintf (&dbkey_dstring, " %s:%10 " sge_fuu32 " .%10 " sge_fuu32 " %s" ,
1010
1010
object_type_get_name (SGE_TYPE_PETASK),
1011
1011
job_id, ja_task_id, pe_task_id);
1012
1012
@@ -1030,7 +1030,7 @@ spool_berkeleydb_write_ja_task(lList **answer_list, bdb_info info,
1030
1030
sge_dstring_init (&dbkey_dstring,
1031
1031
dbkey_buffer, sizeof (dbkey_buffer));
1032
1032
1033
- dbkey = sge_dstring_sprintf (&dbkey_dstring, " %s:%8d.%8d " ,
1033
+ dbkey = sge_dstring_sprintf (&dbkey_dstring, " %s:%10 " sge_fuu32 " .%10 " sge_fuu32,
1034
1034
object_type_get_name (SGE_TYPE_JATASK),
1035
1035
job_id, ja_task_id);
1036
1036
@@ -1056,7 +1056,7 @@ spool_berkeleydb_write_job(lList **answer_list, bdb_info info,
1056
1056
sge_dstring_init (&dbkey_dstring,
1057
1057
dbkey_buffer, sizeof (dbkey_buffer));
1058
1058
1059
- dbkey = sge_dstring_sprintf (&dbkey_dstring, " %s:%8d " ,
1059
+ dbkey = sge_dstring_sprintf (&dbkey_dstring, " %s:%10 " sge_fuu32,
1060
1060
object_type_get_name (SGE_TYPE_JOB),
1061
1061
job_id);
1062
1062
@@ -1280,7 +1280,7 @@ spool_berkeleydb_delete_object(lList **answer_list, bdb_info info,
1280
1280
* Deletes one or multiple pe_tasks specified by key.
1281
1281
*
1282
1282
* The key has the form "<job_id>.<ja_task_id> <pe_task_id>" formatted as
1283
- * "%8d.%8d %s".
1283
+ * "%10d.%10d %s".
1284
1284
* If sub_objects = true, it can be used as pattern, typically used to
1285
1285
* delete all pe_tasks of a certain ja_task by setting key to
1286
1286
* "<job_id>.<ja_task_id>" or just "<job_id>" to delete all pe_tasks
@@ -1334,7 +1334,7 @@ spool_berkeleydb_delete_pe_task(lList **answer_list, bdb_info info,
1334
1334
* Deletes one or multiple ja_tasks specified by key.
1335
1335
* The ja_task(s) and all dependent pe_tasks are deleted.
1336
1336
*
1337
- * The key has the form "<job_id>.<ja_task_id>" formatted as "%8d.%8d ".
1337
+ * The key has the form "<job_id>.<ja_task_id>" formatted as "%10d.%10d ".
1338
1338
* If sub_objects = true, it can be used as pattern, typically used to
1339
1339
* delete all ja_tasks of a certain job by setting key to "<job_id>.".
1340
1340
*
@@ -1389,7 +1389,7 @@ spool_berkeleydb_delete_ja_task(lList **answer_list, bdb_info info,
1389
1389
*
1390
1390
* FUNCTION
1391
1391
* Deletes the given job and all its ja_tasks.
1392
- * Key usually will be the unique job id formatted with %8d , but the function
1392
+ * Key usually will be the unique job id formatted with %10d , but the function
1393
1393
* allows for some sort of pattern matching by specifying only parts of the
1394
1394
* jobid, e.g. the key "00001" will delete all jobs from 1000 to 1999,
1395
1395
* an empty string will mean "delete all jobs", if sub_objects = true.
0 commit comments