Skip to content

Conversation

@terrycampbell
Copy link

The course_modules join is incomplete. It would work only if idnumber were a unique index, but the index requires course,idnumber to be unique. In an application where module idnumbers are repeated (for example when courses are being cloned) this results in incorrect joins, large result size and possible connection aborts. The fix is to require a match on both idnumber and course.

…t size and errors. Code appeared to assume idnumber was unique.
@terrycampbell terrycampbell changed the title Incomplete join on query using copurse_modules caused excessive resul… Incomplete join on query using course_modules Dec 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant