https://bugs.launchpad.net/maria/+bug/967242
This bug appeared to be legacy (repeatable without subqueries). It is repeatable in 5.1 and 5.3 and fixed in 5.5
the original test suite still repeatable in 5.5 so fix of query with rand should be modified for subselects.
The fix of this bug committed for review.
pushed
This bug appeared to be legacy (repeatable without subqueries). It is repeatable in 5.1 and 5.3 and fixed in 5.5