Closed (fixed)
Project:
SimpleTest Clone
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Jul 2009 at 15:37 UTC
Updated:
28 Sep 2009 at 22:20 UTC
Hi,
if I run this on my unsorted users table I will get an error about duplicated keys. It seems mysql uses the order from select * from users. So uid 6 is updated before 5 and 5 twice in the table is not accepted.
I added an "ORDER BY uid" to the end of your select in line 140 and everything runs fine now.
| Comment | File | Size | Author |
|---|---|---|---|
| simpletest_clone.test.patch | 1.12 KB | kars-t |
Comments
Comment #1
Pedro Lozano commentedI got this same problem and came up with the same patch. Works fine.
Comment #2
jhedstromThanks, committed to head and 6.x.