Fix a bug in the database drive poll() function where we could try to reference a non-existant variable.
parent
cdd7a1f637
commit
ff424850f8
|
@ -717,6 +717,7 @@ Failed to reset the connection of the server due to following error:
|
||||||
Polling result for (Query-id: {query_id})""".format(query_id=self.__async_query_id))
|
Polling result for (Query-id: {query_id})""".format(query_id=self.__async_query_id))
|
||||||
|
|
||||||
status = self._wait_timeout(self.conn, ASYNC_WAIT_TIMEOUT)
|
status = self._wait_timeout(self.conn, ASYNC_WAIT_TIMEOUT)
|
||||||
|
colinfo = None
|
||||||
if status == self.ASYNC_OK:
|
if status == self.ASYNC_OK:
|
||||||
# Fetch the column information
|
# Fetch the column information
|
||||||
colinfo = [desc for desc in cur.description]
|
colinfo = [desc for desc in cur.description]
|
||||||
|
|
Loading…
Reference in New Issue