zencart/zc-v1-series — pull request #46 by lhungil (2014-04-29 20:57:31+00:00)
Title: Query factory always return result

This will reduce the number of potential errors resulting from failing
queries and database connection issues. Existing code checking for
"$result->EOF" will continue to function (just report no data available).

Changes were also made to queryFactoryResult to allow RecordCount to work
when the result is not cached and no mysqli resource exists. This should
allow existing Zen Cart core code utilizing "$result->RecordCount() > 0"
to operate (just report no data available).

**Note:** Have not checked to see how this might affect the detection
code for the databas