zencart/zc-v1-series — pull request #211 by drbyte (2014-10-18 16:48:03+00:00)
Title: Fixes #206 - bug with random result selection

The problem here was that originally the queryFactoryResult->Move method did a mysql_data_seek to reset the pointer after reading in the result->fields. This was shown to break the Iterator rewind, so was removed. However ExecuteRandomMulti was relying on that pointer reset.
However executeRandomMulti doesn't even need to call Move, as it builds it own result->fields, we can therefore just replace the call to move with a mysqli_data_seek