diff --git a/assignment/upgradeschema_oracle.config b/assignment/upgradeschema_oracle.config index c8c94e8bc9bb..baef90fadef0 100644 --- a/assignment/upgradeschema_oracle.config +++ b/assignment/upgradeschema_oracle.config @@ -41,8 +41,7 @@ convert.2.handler.class=org.sakaiproject.assignment.impl.conversion.impl.RemoveD convert.2.create.migrate.table=create table assn_dupes_fsregister (id VARCHAR(99), STATUS VARCHAR(99)) convert.2.drop.migrate.table=drop table assn_dupes_fsregister convert.2.check.migrate.table=select count(*) from assn_dupes_fsregister where status <> 'done' -convert.2.select.next.batch=select id from assn_dupes_fsregister where status = -'pending' and rownum <= 100 +convert.2.select.next.batch=select id from assn_dupes_fsregister where status ='pending' and rownum <= 100 convert.2.complete.next.batch=update assn_dupes_fsregister set status = 'done' where id = ? convert.2.mark.next.batch=update assn_dupes_fsregister set status = 'locked' where id = ? convert.2.populate.migrate.table=insert into assn_dupes_fsregister (id,status) select SUBMISSION_ID,'pending' from ASSIGNMENT_SUBMISSION where (CONTEXT,SUBMITTER_ID) = any (select CONTEXT,SUBMITTER_ID from ASSIGNMENT_SUBMISSION group by CONTEXT,SUBMITTER_ID HAVING count(SUBMISSION_ID) > 1) and KEEP <> 'T'