Permalink
Browse files

Oops.

  • Loading branch information...
jnm
jnm committed Nov 13, 2013
1 parent 488117a commit 6dfe1059ecddd4df24558a75d546db774fb6b4c9
Showing with 3 additions and 0 deletions.
  1. +3 −0 general scripts/quexf_sword_sync.sql
@@ -45,6 +45,7 @@ begin
);
if @answer_bid is not null then
+
-- OMR Answer.id as stored in boxes.value for the most filled formbox in our box group
set @answer_id =(
SELECT DISTINCT boxes.value from quexf_crny.boxes WHERE quexf_crny.boxes.bid = @answer_bid
@@ -66,6 +67,8 @@ begin
values (@test_instance_id, @question_id, @answer_id, @points_earned, @points_possible)
on duplicate key
update answer_id = @answer_id, points_earned = @points_earned;
+
+ end if;
FETCH bid_cursor INTO current_bid;
UNTIL no_more_bids = 1

0 comments on commit 6dfe105

Please sign in to comment.