BradRuderman/pyhs2 — pull request #21 by wyukawa (2014-06-23 08:04:05+00:00)
Title: fix second calling fetch method at same cursor object always return []

set hasMoreRows=True at cursor#execute

If you call execute/fetch method twice at same cursor object, second fetch always return [] because hasMoreRows is True.

This is not good.

for example,
cur.execute("select * from hoge")
print cur.fetch()
cur.execute("select * from piyo")
print cur.fetch() # always []